/* ==========================================================================
   Mjera — namještaj po mjeri i dizajn enterijera
   Paleta: krečni malter, hrast, bocasto zelena, mesing.
   ========================================================================== */

@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-300i.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('assets/fonts/CabinetGrotesk-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('assets/fonts/CabinetGrotesk-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('assets/fonts/CabinetGrotesk-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F6F1EA;
  --plaster: #EFE7DC;
  --sand: #E3D7C6;
  --oak: #B5874F;
  --oak-ink: #86602F; /* oak for small text on light grounds (≥4.5:1) */
  --brass: #C99A5B;
  --green: #21362C;
  --green-2: #2C473A;
  --green-3: #3E5E4E;
  --ink: #1B1A17;
  --ink-2: #3B372F;
  --muted: #6E665B;
  --line: rgba(27, 26, 23, .14);
  --line-light: rgba(243, 237, 228, .22);
  --cream: #F3EDE4;

  --serif: 'Gambetta', 'Iowan Old Style', Georgia, serif;
  --sans: 'Cabinet Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1360px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 1.05vw + 10px, 18px)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--green); color: var(--cream); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }

/* --- type ---------------------------------------------------------------- */
.h2 {
  font: 300 clamp(36px, 4.6vw + 8px, 76px)/1.02 var(--serif);
  letter-spacing: -.022em;
  max-width: 16ch;
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; color: var(--green-2); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--brass); }
.lede { color: var(--muted); font-size: clamp(17px, .6vw + 13px, 20px); max-width: 44ch; text-wrap: pretty; }
.lede--light { color: rgba(243, 237, 228, .78); }

.label {
  display: flex; align-items: center; gap: 12px;
  font: 500 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.label--light { color: rgba(243, 237, 228, .72); }
/* Kotna linija: crtica sa završnim zarezima — potpis vizuelnog identiteta. */
.label__dim, .dim { position: relative; display: inline-block; width: 56px; height: 1px; background: currentColor; transform-origin: left center; }
.label__dim::before, .label__dim::after, .dim::before, .dim::after { content: ''; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor; }
.label__dim::before, .dim::before { left: 0; }
.label__dim::after, .dim::after { right: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow--light { color: rgba(243, 237, 228, .86); }
.eyebrow__tick { width: 28px; height: 1px; background: var(--brass); position: relative; }
.eyebrow__tick::after { content: ''; position: absolute; right: 0; top: -4px; width: 1px; height: 9px; background: var(--brass); }

/* --- buttons ------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 15.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--green { --bg: var(--green); --fg: var(--cream); }
.btn--green:hover { --bg: var(--green-2); }
.btn--ghost { --bg: rgba(243, 237, 228, .08); --fg: var(--cream); box-shadow: inset 0 0 0 1px rgba(243, 237, 228, .42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { --bg: rgba(243, 237, 228, .16); }
.btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* --- nav ----------------------------------------------------------------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.nav__pill {
  pointer-events: auto;
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h); padding: 0 10px 0 20px;
  border-radius: 999px;
  color: var(--cream);
  background: rgba(30, 32, 24, .18);
  box-shadow: inset 0 0 0 1px rgba(243, 237, 228, .18);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.nav.solid .nav__pill { background: rgba(246, 241, 234, .86); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(27, 26, 23, .35); }
.nav.solid .nav__cta { --bg: var(--green); --fg: var(--cream); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark polyline { fill: none; stroke: currentColor; stroke-width: 7; stroke-linejoin: round; }
.brand__mark circle { fill: var(--brass); }
.brand__word { font: 700 19px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }

.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); font: 500 15px/1 var(--sans); }
.nav__links a { position: relative; padding: 8px 0; opacity: .9; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.sheet nav a[aria-current="page"] { color: var(--green); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.burger i:first-child { top: 19px; }
.burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper);
  padding: calc(var(--nav-h) + 48px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.sheet.open { opacity: 1; transform: none; }
.sheet nav { display: grid; }
.sheet nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 300 38px/1.1 var(--serif); }
.sheet nav small { font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--muted); }

/* --- hero ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 600px; max-height: 1200px;
  overflow: hidden; color: var(--cream);
  background: #2a2a1a;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.js .hero__video { opacity: 0; transition: opacity 1.1s var(--ease); }
.js .hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 19, 12, .42) 0%, rgba(18, 19, 12, 0) 22%),
    linear-gradient(0deg, rgba(16, 17, 11, .82) 0%, rgba(16, 17, 11, .36) 34%, rgba(16, 17, 11, 0) 62%),
    linear-gradient(90deg, rgba(16, 17, 11, .38) 0%, rgba(16, 17, 11, 0) 55%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(70px, 9vh, 104px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
}
.hero__text { max-width: 780px; }
.hero__title {
  margin: 22px 0 20px;
  font: 300 clamp(48px, 7.2vw + 4px, 124px)/.94 var(--serif);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__title em { color: var(--cream); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > * { display: inline-block; }
.hero__sub { max-width: 46ch; font-size: clamp(17px, .5vw + 14px, 20px); color: rgba(243, 237, 228, .86); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__card {
  width: 300px; padding: 22px 22px 20px; border-radius: 14px;
  background: rgba(30, 32, 24, .28);
  box-shadow: inset 0 0 0 1px rgba(243, 237, 228, .2);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.hero__card-label { font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.hero__card-text { margin: 12px 0 16px; font: 300 21px/1.25 var(--serif); }
.hero__card .link-arrow { font-size: 14.5px; }

/* Metar uz dno heroja: crtice po centimetrima, brojevi svakih 10. */
.hero__ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 38px; pointer-events: none; }
.ruler {
  position: absolute; inset: 0;
  color: rgba(243, 237, 228, .55);
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 100px) 0 100% / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 50px) 0 100% / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) 0 100% / 100% 5px no-repeat;
}
.ruler span { position: absolute; bottom: 19px; transform: translateX(-50%); font: 500 10px/1 var(--sans); letter-spacing: .08em; color: rgba(243, 237, 228, .62); }

.video-toggle {
  position: absolute; right: var(--gutter); bottom: 54px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(30, 32, 24, .3); box-shadow: inset 0 0 0 1px rgba(243, 237, 228, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  transition: background-color .3s;
}
.video-toggle:hover { background: rgba(30, 32, 24, .5); }
.video-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* hero intro (only with JS; no-JS shows final state) */
.js .hero__title .line > * { transform: translateY(105%); }
.js .hero .eyebrow, .js .hero__sub, .js .hero__actions, .js .hero__card { opacity: 0; transform: translateY(18px); }
.loaded .hero__title .line > * { transform: none; transition: transform 1.3s var(--ease); }
.loaded .hero__title .line:nth-child(2) > * { transition-delay: .12s; }
.loaded .hero .eyebrow, .loaded .hero__sub, .loaded .hero__actions, .loaded .hero__card { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.loaded .hero .eyebrow { transition-delay: .05s; }
.loaded .hero__sub { transition-delay: .35s; }
.loaded .hero__actions { transition-delay: .45s; }
.loaded .hero__card { transition-delay: .6s; }

/* --- sections ------------------------------------------------------------ */
.section { padding-block: clamp(84px, 11vw, 168px); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head--split { grid-template-columns: 1fr; align-items: end; }

/* studio */
.studio__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.studio__copy { display: grid; gap: 18px; margin: 28px 0 0; max-width: 54ch; color: var(--ink-2); font-size: clamp(17px, .5vw + 14px, 19px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 4vw, 56px); padding-top: 26px; border-top: 1px solid var(--line); }
.pillars li { display: grid; gap: 4px; align-content: start; }
.pillars__no { font: 300 italic 15px/1 var(--serif); color: var(--oak-ink); margin-bottom: 8px; }
.pillars strong { font: 500 18px/1.2 var(--sans); }
.pillars span:last-child { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.studio__figure { margin: 0; }
.studio__frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--sand); }
.studio__frame picture { display: block; position: absolute; inset: -8% 0; }
.studio__frame img { width: 100%; height: 100%; object-fit: cover; }
.dim-cap { display: flex; align-items: center; gap: 14px; margin-top: 16px; color: var(--muted); font-size: 14.5px; }
.dim-cap .dim { width: 44px; flex: none; color: var(--oak); }

/* services */
.services { padding-top: 0; }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.svc-list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--line); }
.svc__head {
  width: 100%; display: grid; grid-template-columns: 52px 1fr 28px; align-items: center; gap: 10px;
  padding: 24px 0; text-align: left;
}
.svc__no { font: 500 13px/1 var(--sans); letter-spacing: .12em; color: var(--muted); transition: color .3s; }
.svc__title { font: 300 clamp(26px, 1.6vw + 14px, 42px)/1.08 var(--serif); letter-spacing: -.015em; transition: transform .6s var(--ease), color .3s; }
.svc__plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.svc__plus::before, .svc__plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.svc__plus::after { transform: rotate(90deg); }
.svc.is-active .svc__plus::after { transform: rotate(0); }
.svc.is-active .svc__no { color: var(--oak-ink); }
.svc.is-active .svc__title { color: var(--green); }
.svc__head:hover .svc__title { transform: translateX(6px); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.is-active .svc__body { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; min-height: 0; }
.svc__inner p { padding: 0 0 26px 62px; max-width: 52ch; color: var(--ink-2); }
.svc__media { display: none; }

.svc-stage { position: sticky; top: 104px; }
.svc-stage__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.svc-stage__frame picture { display: block; position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.svc-stage__frame picture.is-active { opacity: 1; transform: none; }
.svc-stage__frame img { width: 100%; height: 100%; object-fit: cover; }
.svc-stage__count { margin-top: 14px; font: 500 13px/1 var(--sans); letter-spacing: .14em; color: var(--muted); }
.svc-stage__count span { color: var(--ink); }

/* process band — three depths: photo, collage, text */
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--green); color: var(--cream); padding-block: clamp(96px, 12vw, 180px); }
.band__bg { position: absolute; inset: -22% 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(33, 54, 44, .92), rgba(33, 54, 44, .78) 45%, rgba(33, 54, 44, .95)); }
.band__wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(32px, 6vw, 96px); }
.band__head { align-self: center; display: grid; gap: 18px; }
.collage { position: relative; min-height: 520px; }
.collage__a, .collage__b { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.collage__a { right: 0; top: 0; width: min(340px, 78%); aspect-ratio: 880 / 1168; }
.collage__b { left: 0; bottom: -40px; width: min(220px, 50%); aspect-ratio: 880 / 1168; box-shadow: 0 0 0 6px var(--green), 0 30px 60px -24px rgba(0, 0, 0, .6); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); margin-top: clamp(72px, 8vw, 120px); }
.step { position: relative; padding-top: 26px; }
.step::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-light); }
.step::after { content: ''; position: absolute; left: 0; top: -4px; width: 1px; height: 9px; background: var(--brass); }
.step__no { display: block; font: 300 italic 44px/1 var(--serif); color: var(--brass); margin-bottom: 18px; }
.step h3 { font: 500 19px/1.25 var(--sans); margin-bottom: 8px; }
.step p { color: rgba(243, 237, 228, .72); font-size: 15.5px; line-height: 1.55; }

/* reviews (placeholders until real, verbatim reviews exist) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 300px; padding: 30px 28px 26px; border-radius: 14px; background: var(--plaster); }
.quote__mark { position: absolute; right: 22px; top: 6px; font: 300 120px/1 var(--serif); color: var(--sand); }
.quote blockquote p { position: relative; font: 300 clamp(22px, 1vw + 14px, 27px)/1.3 var(--serif); }
.quote figcaption { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.quote figcaption span { color: var(--muted); }
.quote--ph { background: transparent; box-shadow: inset 0 0 0 1px var(--line); background-image: repeating-linear-gradient(135deg, rgba(27, 26, 23, .03) 0 1px, transparent 1px 12px); }
.quote--ph blockquote p, .quote--ph figcaption { color: var(--muted); }
.ph { color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* visit */
.visit { padding-top: 0; }
.visit__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
.card { border-radius: 14px; background: var(--plaster); padding: clamp(26px, 3vw, 40px); }
.card__title { font: 300 clamp(28px, 1.4vw + 16px, 38px)/1.1 var(--serif); letter-spacing: -.01em; margin-bottom: 22px; }
.card__note { margin-top: 22px; color: var(--muted); font-size: 15.5px; }
.hours__list { display: grid; }
.hours__list div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hours__list div:first-child { border-top: 1px solid var(--line); }
.hours__list dt { font-weight: 500; }
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.place__plan { position: relative; background: var(--green); min-height: 280px; }
.place__plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-walls path { fill: none; stroke: rgba(243, 237, 228, .8); stroke-width: 5; stroke-linejoin: miter; }
.plan-lines path { fill: none; stroke: rgba(243, 237, 228, .55); stroke-width: 2; }
.plan-lines .plan-door { stroke-dasharray: 3 4; stroke-width: 1.2; }
.plan-fit rect { fill: url(#hatch); stroke: var(--brass); stroke-width: 1.2; }
.plan-dim path { fill: none; stroke: var(--brass); stroke-width: 1.2; }
.plan-dim text { fill: var(--brass); font: 500 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.plan-pin circle { fill: var(--brass); }
.plan-pin .plan-pin__halo { fill: rgba(201, 154, 91, .2); transform-origin: center; animation: halo 2.8s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.place__body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.place__area { font: 300 26px/1.3 var(--serif); }
.place__note { margin-top: 12px; color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.place__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }

/* CTA */
.cta { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: #1d2421; padding-block: clamp(120px, 16vw, 220px); }
.cta__bg { position: absolute; inset: -18% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 18, 16, .78) 0%, rgba(14, 18, 16, .4) 60%, rgba(14, 18, 16, .2) 100%); }
.cta__card { max-width: 680px; display: grid; gap: 18px; }
.cta__card .label { margin-bottom: 4px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* footer */
.footer { background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.brand--footer .brand__mark { width: 54px; height: 54px; }
.brand--footer .brand__word { font-size: clamp(34px, 4vw, 54px); letter-spacing: .18em; }
.footer__tag { font: 300 clamp(22px, 1.4vw + 12px, 30px)/1.2 var(--serif); color: rgba(243, 237, 228, .8); text-align: right; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 44px 0; }
.footer h3 { font: 500 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; color: rgba(243, 237, 228, .82); }
.footer ul a:hover { color: #fff; }
.footer .ph { color: rgba(243, 237, 228, .55); margin-left: 6px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); color: rgba(243, 237, 228, .6); font-size: 14.5px; }

/* mobile call bar */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(27, 26, 23, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(150%); transition: transform .6s var(--ease);
}
.callbar.show { transform: none; }
.callbar .btn { min-height: 46px; }

/* --- reveal (transform + opacity only) ----------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .label__dim { transform: scaleX(0); transition: transform 1.1s var(--ease) .25s; }
.js .in .label__dim, .js .in.label .label__dim { transform: scaleX(1); }

[data-depth] { will-change: transform; }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .hero__card { width: 260px; }
}

@media (max-width: 959px) {
  :root { --nav-h: 58px; }
  .nav { inset: 10px 0 auto; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .nav__pill { padding: 0 6px 0 16px; }

  .hero__content { grid-template-columns: 1fr; bottom: 64px; gap: 22px; }
  .hero__card { display: none; }
  .hero__title { font-size: clamp(46px, 12.6vw, 84px); }
  .video-toggle { bottom: auto; top: calc(var(--nav-h) + 22px); }

  .studio__grid { grid-template-columns: 1fr; }
  .studio__figure { order: -1; }
  .pillars { grid-template-columns: 1fr; gap: 18px; }
  .pillars li { grid-template-columns: 34px 1fr; column-gap: 8px; }
  .pillars__no { grid-row: span 2; margin: 0; padding-top: 3px; }

  /* services → swipeable card carousel */
  .services__grid { display: block; }
  .svc-stage { display: none; }
  .svc-list {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 380px); gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter);
    border: 0; scrollbar-width: none;
  }
  .svc-list::-webkit-scrollbar { display: none; }
  /* card = photo → number + title → text (body wrappers dissolve into the card) */
  .svc { scroll-snap-align: start; border: 0; display: flex; flex-direction: column; }
  .svc__body, .svc__inner { display: contents; }
  .svc__media { order: 1; display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
  .svc__media img { width: 100%; height: 100%; object-fit: cover; }
  .svc__head { order: 2; grid-template-columns: 38px 1fr; padding: 18px 0 8px; cursor: default; }
  .svc__head:hover .svc__title { transform: none; }
  .svc__plus { display: none; }
  .svc__inner p { order: 3; padding: 0; font-size: 16px; color: var(--muted); }
  .svc .svc__no { color: var(--oak-ink); }
  .svc .svc__title { color: var(--ink); font-size: 28px; }

  .band__wrap { grid-template-columns: 1fr; }
  .collage { min-height: 0; height: min(118vw, 520px); margin-top: 48px; }
  .collage__a { width: 66%; right: 0; }
  .collage__b { width: 44%; bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; margin-top: 64px; }

  .quotes { grid-template-columns: 1fr; }
  .quote { min-height: 0; }
  .visit__grid { grid-template-columns: 1fr; }
  .place { grid-template-columns: 1fr; }
  .place__plan { min-height: 200px; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:first-child { grid-column: 1 / -1; }
  .footer__tag { text-align: left; }
  .callbar { display: grid; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .eyebrow { font-size: 10.5px; letter-spacing: .12em; gap: 10px; }
  .eyebrow__tick { width: 16px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
  .step__no { grid-row: span 2; font-size: 36px; margin: 0; }
  .footer__bottom { flex-direction: column; }
}

@media (min-width: 960px) {
  .section__head--split { grid-template-columns: 1.1fr .9fr; }
  .section__head--split .lede { justify-self: end; padding-bottom: 10px; }
}

/* --- reduced motion: no parallax, no reveals, no autoplaying movement ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-depth] { transform: none !important; will-change: auto; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .js .label__dim { transform: none; }
  .js .hero__title .line > *, .js .hero .eyebrow, .js .hero__sub, .js .hero__actions, .js .hero__card { opacity: 1; transform: none; }
}

/* ==========================================================================
   Auto-numbered section labels and menu (hidden sections don't count)
   ========================================================================== */
main { counter-reset: section; }
.label__no::before { counter-increment: section; content: counter(section, decimal-leading-zero); }
.sheet nav { counter-reset: menu; }
.sheet nav small::before { counter-increment: menu; content: counter(menu, decimal-leading-zero); }

/* ==========================================================================
   Radovi — homepage teaser
   ========================================================================== */
.work { padding-top: 0; }
.work__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.work-card { display: grid; gap: 14px; align-content: start; }
.work-card__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.04); }
.work-card h3 { font: 300 clamp(22px, .8vw + 16px, 28px)/1.15 var(--serif); letter-spacing: -.01em; }
.work-card p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.work__more { margin-top: clamp(28px, 3vw, 44px); }

/* ==========================================================================
   Radovi — portfolio page
   ========================================================================== */
.page-sub main { padding-top: calc(var(--nav-h) + 14px); }
.work-hero { padding-block: clamp(56px, 8vw, 120px) clamp(28px, 3vw, 44px); }
.work-hero__title { font: 300 clamp(44px, 6.2vw + 6px, 104px)/.96 var(--serif); letter-spacing: -.03em; max-width: 13ch; text-wrap: balance; }
.work-hero__title em { font-style: italic; color: var(--green-2); }
.work-hero .lede { margin-top: 24px; }
.work-hero__stats { margin-top: 26px; font: 500 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.filters {
  position: sticky; top: calc(var(--nav-h) + 22px); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter) 18px;
  background: linear-gradient(var(--paper) 72%, rgba(246, 241, 234, 0));
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line); background: var(--paper);
  font: 500 14.5px/1 var(--sans); transition: background-color .3s, color .3s, box-shadow .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip span { font-size: 12.5px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--green); color: var(--cream); box-shadow: none; }
.chip[aria-pressed="true"] span { color: rgba(243, 237, 228, .72); }

.projects { padding-bottom: clamp(72px, 9vw, 140px); }
.project { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 5vw, 76px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 90px); }
.project::before { content: ''; position: absolute; left: 0; top: -5px; width: 1px; height: 9px; background: var(--oak); }
.project[hidden] { display: none; }
.project__info { position: sticky; top: calc(var(--nav-h) + 96px); align-self: start; display: grid; gap: 14px; }
.project__no { font: 300 italic 24px/1 var(--serif); color: var(--oak-ink); }
.project__title { font: 300 clamp(30px, 2vw + 16px, 50px)/1.04 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.project__meta { font: 500 12.5px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.project__desc { color: var(--ink-2); max-width: 46ch; }
.project__specs div { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.project__specs dt { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.project__specs dd { color: var(--ink-2); font-size: 15.5px; }
.project__quote { padding: 20px 22px; border-radius: 14px; background: var(--plaster); }
.project__quote p { font: 300 italic clamp(19px, .5vw + 15px, 22px)/1.35 var(--serif); }
.project__quote figcaption { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.project__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.project__share { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.project__share[data-done] { color: var(--green); text-decoration: none; }

.project__gallery { position: relative; min-width: 0; }
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius); }
.strip::-webkit-scrollbar { display: none; }
.shot { flex: none; height: clamp(320px, 64vh, 720px); aspect-ratio: var(--ar, 4 / 5); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.shot__btn { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.shot__btn picture { display: block; width: 100%; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot__btn:hover img { transform: scale(1.03); }
.strip__nav { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.strip__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, opacity .3s; }
.strip__btn:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.strip__btn:disabled { opacity: .35; cursor: default; }
.strip__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.strip__count { margin-left: auto; font: 500 13px/1 var(--sans); letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }

.work-cta { background: var(--green); color: var(--cream); border-radius: 18px; padding: clamp(32px, 5vw, 72px); display: grid; gap: 18px; margin-bottom: clamp(72px, 9vw, 140px); }
.work-cta .cta__actions { margin-top: 6px; }

/* lightbox */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 15, 10, .97); color: var(--cream); overflow: hidden; }
.lb::backdrop { background: rgba(14, 15, 10, .9); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); }
.lb__title { font: 300 20px/1.2 var(--serif); }
.lb__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; padding: 0 var(--gutter); touch-action: pan-y; user-select: none; }
.lb__stage picture { display: contents; }
.lb__stage img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 237, 228, .08); box-shadow: inset 0 0 0 1px rgba(243, 237, 228, .22); transition: background-color .3s; }
.lb__btn:hover { background: rgba(243, 237, 228, .18); }
.lb__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: var(--gutter); }
.lb__next { right: var(--gutter); }
.lb__cap { padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom)); text-align: center; font: 500 13px/1 var(--sans); letter-spacing: .12em; color: rgba(243, 237, 228, .7); font-variant-numeric: tabular-nums; }

@media (max-width: 959px) {
  .work__grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter);
  }
  .work__grid::-webkit-scrollbar { display: none; }
  .work-card { scroll-snap-align: start; }

  .filters { top: calc(var(--nav-h) + 16px); }
  /* phones: title → photos → story, so the photos aren't buried under text */
  .project { grid-template-columns: 1fr; gap: 0; }
  .project__info { display: contents; }
  .project__no { order: 1; margin-bottom: 10px; }
  .project__title { order: 2; }
  .project__meta { order: 3; margin-top: 10px; }
  .project__gallery { order: 4; margin: 22px 0 20px; }
  .project__desc { order: 5; }
  .project__specs { order: 6; margin-top: 16px; }
  .project__quote { order: 7; margin-top: 18px; }
  .project__tools { order: 8; margin-top: 16px; }
  .strip { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); border-radius: 0; }
  /* phones: one even strip height; tapping a photo shows it uncropped */
  .shot { height: min(110vw, 500px); width: min(80vw, 400px); aspect-ratio: auto; }
  .shot.is-wide { width: 88vw; }
  .strip__nav .strip__btn { display: none; }
  .lb__prev, .lb__next { display: none; }
}
.quote figcaption a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lb:focus, .lb:focus-visible { outline: none; }

/* one real review so far → one featured quote instead of a lone card */
.quote:only-of-type { min-height: 0; gap: 34px; padding: clamp(32px, 4vw, 60px); }
.quote:only-of-type blockquote p { font-size: clamp(26px, 1.6vw + 16px, 42px); line-height: 1.2; max-width: 24ch; }
.quote:only-of-type .quote__mark { font-size: 190px; right: 36px; top: 10px; }

/* one project so far → one wide feature card on the homepage */
.work-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.work-feature__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.work-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-feature:hover .work-feature__img img { transform: scale(1.03); }
.work-feature__text { display: grid; gap: 14px; align-content: center; }
.work-feature__meta { font: 500 12.5px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.work-feature h3 { font: 300 clamp(32px, 2vw + 18px, 54px)/1.03 var(--serif); letter-spacing: -.02em; }
.work-feature__text > p:not(.work-feature__meta) { color: var(--ink-2); max-width: 40ch; }
.work-feature .link-arrow { justify-self: start; margin-top: 8px; }
.work-feature ~ .work__more { display: none; }
@media (max-width: 959px) { .work-feature { grid-template-columns: 1fr; } }
.work__grid--n2 .work-card__img { aspect-ratio: 4 / 3; } /* two projects: wide cards, no tall crops */
.hours__list div { flex-wrap: wrap; }
.hours__list dd { overflow-wrap: anywhere; } /* long e-mail address on narrow phones */
.hero__h1 { margin: 0; font: inherit; }
.hero__h1 .hero__title { display: block; } /* eyebrow + headline form one H1 for search; looks unchanged */
