/* ==========================================================================
   UNNA — design tokens (Concept 14 · Premium Minimal, refined)
   Brand colors from "Unna - Brand book": #000000 (RAL 9005), #FF8508 (RAL 2007)
   ========================================================================== */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-var-latin-ext.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --brand-black: #000000;
  --brand-orange: #FF8508;

  /* neutrals (warm) */
  --ink: #0F0F0F;
  --ink-2: #55554F;
  --ink-3: #5F5F5A;
  --ink-4: #6E6E6A;  /* AA for small text on light backgrounds */
  --muted-head: #868682;  /* 3:1 for large headlines (Concept 14 used #A3A39F) */
  --line: #E2E2DF;
  --line-2: #DCDCD8;
  --line-3: #ECECE9;
  --bg: #F4F3F0;
  --bg-top: #FAFAF9;
  --surface: #FFFFFF;
  --surface-2: #EAEAE7;
  --field: #F4F4F2;
  --error: #B42318;

  /* type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.75rem, 1.2rem + 5.4vw, 5.625rem);   /* 44 → 90 */
  --fs-h2: clamp(2.375rem, 1.35rem + 3.6vw, 4rem);           /* 38 → 64 */
  --fs-h3: clamp(1.5rem, 1.2rem + 0.9vw, 2.125rem);          /* 24 → 34 */
  --fs-lead: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  /* corners — ONE system for the whole site (Concept 14, refined).
     Photographs are architectural: small radii by ROLE, never by section.
       --r-image-full       0px  photograph edge-to-edge (full width / full bleed)
       --r-image-editorial  4px  large single photograph inside the grid (hero, stage, gallery view)
       --r-image-card       8px  photograph cards repeated in grids (projects, Instagram, workshops)
       --r-image-thumb      4px  small thumbnails / selectors
     Non-image surfaces:
       --r-panel 12px (white/grey content panels) · --r-overlay 8px (cards laid over photos, notices)
       --r-field 6px (form fields) · --r-pill (buttons, chips — controls, never photographs)
     Use the .media utilities in components.css for any new photograph. */
  --r-image-full: 0px;
  --r-image-editorial: 4px;
  --r-image-card: 8px;
  --r-image-thumb: 4px;
  --r-panel: 12px;
  --r-overlay: 8px;
  --r-field: 6px;
  --r-pill: 999px;
  /* legacy aliases (homepage CSS) — point to the role tokens above */
  --r-photo-full: var(--r-image-full);
  --r-photo-lg: var(--r-image-editorial);
  --r-card: var(--r-image-card);
  --r-thumb: var(--r-image-thumb);

  /* layout */
  --container: 1312px;
  --gutter: clamp(1rem, 0.2rem + 3.6vw, 4rem);  /* 16 → 64 */
  --section-gap: clamp(5rem, 3rem + 6vw, 9rem);
  --header-h: 88px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t-med: 420ms;

  --shadow-soft: 0 30px 60px -36px rgba(0, 0, 0, .28);
  --shadow-chip: 0 8px 20px -12px rgba(0, 0, 0, .35);
}

/* ========================= base ========================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0, var(--bg) 900px) no-repeat, var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, p, figure, blockquote, dl, dd) { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
main:focus { outline: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: var(--section-gap); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* typography */
.display { font-weight: 800; font-size: var(--fs-display); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.h2 { font-weight: 800; font-size: var(--fs-h2); line-height: 1; letter-spacing: -.04em; }
.h3 { font-weight: 800; font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -.03em; }
.muted { color: var(--muted-head); }
.strong { font-weight: 700; }
.underline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.note { margin-top: 18px; font-size: var(--fs-xs); color: var(--ink-4); }

/* ========================= components ========================= */
.icon { flex: none; }

/* eyebrow pill (section label) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}

/* chips */
.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-pill); padding: 8px 16px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.chip--glass { background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); flex: none; }

/* thin rule with orange point (Concept 14) */
.rule { display: flex; align-items: center; width: 44px; }
.rule::before { content: ""; flex: 1; height: 2px; background: var(--ink); }
.rule span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 54px; padding: 0 6px 0 24px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn__icon {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: transform var(--t-med) var(--ease);
}
.btn__icon--light { background: #fff; color: var(--ink); }
.btn__icon--accent { background: var(--brand-orange); color: var(--brand-black); }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn--dark { background: var(--brand-black); color: #fff; }
.btn--dark:hover { background: #262624; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--compact { min-height: 48px; padding-left: 20px; gap: 16px; }
.btn--compact .btn__icon { width: 36px; height: 36px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover .btn__icon { transform: none; } }

/* icon buttons */
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.icon-btn--lg { width: 52px; height: 52px; }
.icon-btn--dark { background: var(--brand-black); color: #fff; }
.icon-btn--dark:hover { background: #2a2a28; }
.icon-btn--light { background: #fff; color: var(--ink); }
.icon-btn--light:hover { background: var(--field); }
.icon-btn--outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.icon-btn--outline:hover { border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* link with arrow */
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap var(--t-fast) var(--ease); }
.link-arrow:hover { gap: 14px; }
.link-arrow::after { content: ""; position: absolute; inset: -10px -6px; }

/* white panel */
.panel { background: var(--surface); border-radius: var(--r-panel); }

/* preview notice (temporary content, clearly labeled) */
.preview-notice {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 14px 16px;
  border: 1px dashed #C9C9C4; border-radius: var(--r-overlay); background: rgba(255, 255, 255, .6);
  font-size: var(--fs-xs); line-height: 1.55; color: var(--ink-2);
}
.preview-notice__tag {
  flex: none; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 2px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 1px;
}

/* ---------- photographs: one radius system (see tokens.css) ----------
   Usage: <figure class="media media--card"> <picture>…</picture> </figure>
   The frame clips the image, so the radius is identical for <img>, <picture> and overlays. */
.media { position: relative; overflow: hidden; background: #dcdcd8; }
.media > picture, .media > img, .media > picture img { width: 100%; height: 100%; object-fit: cover; }
.media--full { border-radius: var(--r-image-full); }
.media--editorial { border-radius: var(--r-image-editorial); }
.media--card { border-radius: var(--r-image-card); }
.media--thumb { border-radius: var(--r-image-thumb); }

/* responsive picture fills its frame */
.fill-img, .fill-img img, figure > picture, figure > picture img { width: 100%; height: 100%; }
figure > picture img { object-fit: cover; }

/* scroll reveal (progressive enhancement; disabled for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* dots */
.dots { display: inline-flex; align-items: center; gap: 6px; }
.dots__dot { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width var(--t-med) var(--ease), background-color var(--t-med); }
.dots__dot.is-active { width: 28px; background: var(--ink); }

/* ========================= header ========================= */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.site-header.is-scrolled { background: rgba(250, 250, 249, .86); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-header__logo img { height: 40px; width: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.6vw, 40px); }
.site-nav__link { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; font-size: var(--fs-small); font-weight: 500; color: var(--ink-3); transition: color var(--t-fast); }
.site-nav__link::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-orange); opacity: 0; transform: scale(.4); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); }
.site-nav__link:hover, .site-nav__link.is-current, .site-nav__link.is-active { color: var(--ink); }
.site-nav__link.is-current { font-weight: 700; }
.site-nav__link.is-current::after, .site-nav__link.is-active::after { opacity: 1; transform: none; }
.site-nav__list.has-active .site-nav__link.is-current { font-weight: 500; color: var(--ink-3); }
.site-nav__list.has-active .site-nav__link.is-current::after { opacity: 0; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; align-items: center; gap: 12px; height: 48px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); font-size: var(--fs-small); font-weight: 600; }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.6px; background: var(--ink); transition: transform var(--t-med) var(--ease), top var(--t-med) var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8.4px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4.2px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4.2px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg-top); padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.mobile-menu__n { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; color: var(--ink-4); width: 22px; }
.mobile-menu__footer { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.mobile-menu__footer .btn { align-self: stretch; }
.mobile-menu__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ========================= hero ========================= */
.hero { padding-top: clamp(8px, 2vw, 24px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 640fr); gap: clamp(32px, 4vw, 64px); align-items: stretch; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; padding-top: clamp(16px, 3.4vw, 56px); padding-bottom: 136px; }
.hero__title { display: flex; flex-direction: column; }
.hero__line { display: block; }
.hero__lead { max-width: 400px; font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-3); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__media { position: relative; min-height: clamp(460px, 48vw, 700px); border-radius: var(--r-image-editorial); overflow: hidden; background: #1c1c1b; }
.hero__picture, .hero__picture img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; left: 20px; top: 20px; }
/* hero slideshow (Phase 4): stacked slides, 0.8 s cross-fade; controls sit just above the facts bar overlap */
.hero { --hero-overlap: 88px; }
.hero__slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 800ms var(--ease), visibility 0s linear 800ms; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 800ms var(--ease), visibility 0s; }
.hero__caption { z-index: 2; transition: opacity 300ms var(--ease); }
.hero__controls { position: absolute; right: 20px; bottom: calc(var(--hero-overlap) + 20px); z-index: 2; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ink); }
.hero__controls[hidden] { display: none !important; }
.hero__ctrl { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color var(--t-fast); }
.hero__ctrl:hover { background: var(--field); }
.hero__count { min-width: 58px; text-align: center; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hero__count strong { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide.is-active { transition: none; } }

/* facts bar — overlaps the bottom of the hero photograph (Concept 14 feature bar) */
.facts {
  position: relative; z-index: 2; margin-top: -88px; margin-right: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, .96); border-radius: var(--r-panel); box-shadow: var(--shadow-soft); padding: 30px 8px;
}
.facts__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 0 28px; }
.facts__item + .facts__item { border-left: 1px solid var(--line-3); }
.facts__value { font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.facts__unit { font-size: .5em; letter-spacing: -.01em; margin-left: .18em; vertical-align: .55em; color: var(--ink-2); }
.facts__label { font-size: var(--fs-xs); color: var(--ink-4); line-height: 1.4; }

/* ========================= section heads ========================= */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head__title { display: flex; flex-direction: column; gap: 22px; }
.section-head__intro { max-width: 380px; color: var(--ink-3); }

/* ========================= services ========================= */
.services__layout { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; }
.services__list { border-top: 1px solid var(--line); }
.services__item { border-bottom: 1px solid var(--line); }
.services__heading { font: inherit; }
.services__trigger {
  width: 100%; min-height: 60px; display: flex; align-items: center; gap: 0; padding: 0; border: 0; background: transparent; text-align: left;
  font-size: 1.0625rem; font-weight: 500; color: var(--ink-3); transition: color var(--t-fast);
}
.services__trigger:hover { color: var(--ink); }
.services__n { width: 40px; font-size: var(--fs-xs); font-weight: 600; flex: none; }
.services__name { flex: 1; }
.services__marker { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); opacity: 0; transform: scale(.4); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); }
.services__item.is-active .services__trigger { color: var(--ink); font-weight: 700; }
.services__item.is-active .services__marker { opacity: 1; transform: none; }
.services__panel { display: none; }

.services__stage { position: relative; height: clamp(520px, 44vw, 620px); border-radius: var(--r-image-editorial); overflow: hidden; background: #d9d9d5; }
.services__media, .services__slide { position: absolute; inset: 0; }
.services__slide { opacity: 0; transition: opacity 600ms var(--ease); }
.services__slide.is-active { opacity: 1; }
.services__slide picture, .services__slide img { width: 100%; height: 100%; object-fit: cover; }
.services__controls { position: absolute; right: 20px; top: 20px; display: flex; align-items: center; gap: 8px; z-index: 2; }
.services__controls .chip { height: 44px; }
.services__card {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; width: min(460px, calc(100% - 40px));
  background: rgba(255, 255, 255, .97); border-radius: var(--r-overlay); padding: 28px 30px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 450ms var(--ease), transform 450ms var(--ease), visibility 0s 450ms;
}
.services__card.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 450ms var(--ease) 120ms, transform 450ms var(--ease) 120ms, visibility 0s; }
.services__card p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); }
.services__card-n { font-size: 12px; font-weight: 600; color: var(--ink-4); }
.services__card .link-arrow { margin-top: 6px; }

/* ========================= projects ========================= */
.section-head--bottom { align-items: flex-end; }
.projects__nav { display: flex; align-items: center; gap: 10px; }
.projects__count { font-size: var(--fs-small); margin-right: 8px; }
.projects__stage { position: relative; margin-top: 48px; height: clamp(560px, 52vw, 760px); border-radius: var(--r-image-editorial); overflow: hidden; background: #1c1c1b; }
.projects__media, .projects__slide { position: absolute; inset: 0; }
.projects__slide { opacity: 0; transition: opacity 700ms var(--ease), transform 1200ms var(--ease); transform: scale(1.015); }
.projects__slide.is-active { opacity: 1; transform: none; }
.projects__slide img { width: 100%; height: 100%; object-fit: cover; }
.projects__thumbs { position: absolute; right: 24px; top: 24px; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.projects__thumb { width: 96px; height: 72px; padding: 0; border: 0; border-radius: var(--r-image-thumb); overflow: hidden; background: #333; opacity: .72; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); transition: opacity var(--t-fast), box-shadow var(--t-fast); }
.projects__thumb img { width: 100%; height: 100%; object-fit: cover; }
.projects__thumb picture { height: 100%; }
.projects__thumb:hover { opacity: 1; }
.projects__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.projects__card {
  position: absolute; left: 24px; bottom: 24px; z-index: 2; width: min(440px, calc(100% - 48px));
  background: rgba(255, 255, 255, .97); border-radius: var(--r-overlay); padding: 28px 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 450ms var(--ease), transform 450ms var(--ease), visibility 0s 450ms;
}
.projects__card.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 500ms var(--ease) 150ms, transform 500ms var(--ease) 150ms, visibility 0s; }
.projects__meta { font-size: 12px; font-weight: 600; color: var(--ink-4); }
.projects__title { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); }
.projects__title-link { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color var(--t-fast) var(--ease); }
.projects__title-link:hover { text-decoration-color: currentColor; }
.projects__title-arrow { display: inline-flex; margin-left: 10px; vertical-align: middle; color: var(--ink-3); transition: transform var(--t-fast) var(--ease), color var(--t-fast); }
.projects__title-link:hover .projects__title-arrow { transform: translateX(3px); color: var(--ink); }
.spec { width: 100%; font-size: var(--fs-small); }
.spec > div { display: grid; grid-template-columns: 112px 1fr; border-top: 1px solid var(--line-3); }
.spec dt { padding: 9px 0; color: var(--ink-4); }
.spec dd { padding: 9px 0; font-weight: 600; }
.projects__card .btn { margin-top: 4px; }

/* lightbox — immersive, minimal: the photograph uses the full viewport height; the title bar and caption
   float over it on soft gradients. object-fit: contain keeps the original aspect ratio, nothing is cropped. */
.lightbox { --lb-side: clamp(64px, 6vw, 92px); --lb-shade: rgba(13, 13, 12, .72); width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0d0d0c; color: #fff; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox[open] { display: block; }
.lightbox__bar { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px var(--gutter) 28px; background: linear-gradient(var(--lb-shade), rgba(13, 13, 12, 0)); pointer-events: none; }
.lightbox__bar > * { pointer-events: auto; }
.lightbox__title { font-size: var(--fs-small); text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.lightbox__title .muted { color: #c4c4c0; margin-left: 8px; }
.lightbox__figure { position: absolute; inset: 0; margin: 0; padding: 0 var(--lb-side); }
.lightbox__figure picture { display: block; width: 100%; height: 100%; }
.lightbox__figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox__caption { position: absolute; inset: auto 0 0; z-index: 1; padding: 32px var(--gutter) 16px; font-size: var(--fs-xs); color: #e2e2df; text-align: center; background: linear-gradient(rgba(13, 13, 12, 0), var(--lb-shade)); pointer-events: none; }
.lightbox__caption:empty { display: none; }
.lightbox__prev, .lightbox__next { position: fixed; top: 50%; transform: translateY(-50%); z-index: 3; }
.lightbox__prev { left: clamp(8px, 1.4vw, 24px); }
.lightbox__next { right: clamp(8px, 1.4vw, 24px); }

/* ========================= instagram ========================= */
.instagram__actions { display: flex; align-items: center; gap: 14px; }
.instagram__arrows { display: none; gap: 8px; }
.instagram__track { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ig-card { position: relative; }
.ig-card__link { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r-image-card); overflow: hidden; background: #dcdcd8; }
.ig-card__img, .ig-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.ig-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(10, 10, 10, .48); color: #fff; font-size: var(--fs-xs); font-weight: 600; text-align: center; padding: 16px;
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.ig-card__link:hover .ig-card__overlay, .ig-card__link:focus-visible .ig-card__overlay { opacity: 1; }
.ig-card__link:hover .ig-card__img img { transform: scale(1.04); }
.ig-card__badge { position: absolute; right: 10px; top: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.instagram__track[aria-busy="true"] .ig-card__link { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .ig-card__link:hover .ig-card__img img { transform: none; } .instagram__track[aria-busy="true"] .ig-card__link { animation: none; } }

/* ========================= production ========================= */
.production__panel { padding: clamp(24px, 4vw, 56px); }
.production__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.production__intro { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.production__intro p { max-width: 470px; color: var(--ink-3); }
.workshops { border-top: 1px solid var(--line-3); }
.workshops__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-3); }
.workshops__n { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-4); }
.workshops__title { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; }
.workshops__sub { font-size: var(--fs-xs); color: var(--ink-4); text-align: right; }
.production__mosaic { margin-top: 48px; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.production__tile--2 { grid-column: span 2; }
.production__tile--5 { grid-column: span 2; }
.production__tile { position: relative; border-radius: var(--r-image-card); overflow: hidden; background: #dcdcd8; }
.production__tile--1 { grid-row: span 2; }
.production__tile img { transition: transform 900ms var(--ease); }
.production__tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .production__tile:hover img { transform: none; } }

/* ========================= testimonials ========================= */
.testimonials__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.testimonials__viewport { margin-top: 40px; max-width: 980px; min-height: 260px; display: grid; }
.testimonial { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; }
.testimonial.is-active { animation: fadeUp 600ms var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .testimonial.is-active { animation: none; } }
.testimonial__quote p { font-weight: 700; font-size: clamp(1.375rem, 1rem + 1.5vw, 2.25rem); line-height: 1.28; letter-spacing: -.03em; }
.testimonial__source { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-xs); color: var(--ink-4); }
.testimonial__source strong { font-size: .9375rem; color: var(--ink); }
.testimonial__context { margin-top: 6px; color: var(--ink-3); }
.testimonials__controls { margin-top: 30px; display: flex; align-items: center; gap: 12px; }
.clients { margin-top: 72px; box-shadow: var(--shadow-soft); padding: 18px 28px; display: flex; align-items: center; gap: 28px; }
.clients__label { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4); }
/* client logos (Phase 5): official files, grayscale by default; only the hovered/tapped logo shows its colours.
   Static row without JS / with reduced motion; JS turns it into a slow seamless loop (data-logos). */
.logos__viewport { position: relative; flex: 1; min-width: 0; outline-offset: 4px; border-radius: var(--r-field); }
.logos__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.logos__item { flex: none; display: flex; align-items: center; justify-content: center; height: 64px; padding: 0 clamp(22px, 2.6vw, 38px); }
.logos__item + .logos__item { border-left: 1px solid var(--line-3); }
.logos__item img { display: block; height: var(--h, 30px); width: auto; max-width: none; filter: grayscale(1) opacity(var(--o, .62)); transition: filter 300ms var(--ease); pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.logos__item--text { font-weight: 700; font-size: var(--fs-small); color: var(--ink-2); white-space: nowrap; }
@media (hover: hover) { .logos__item:hover img { filter: grayscale(0) opacity(1); } }
.logos__item.is-tapped img { filter: grayscale(0) opacity(1); }
/* moving loop */
.logos--marquee .logos__viewport { overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.logos--marquee .logos__viewport.is-dragging { cursor: grabbing; }
.logos--marquee .logos__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; will-change: transform; }
.logos--marquee .logos__item { border-left: 1px solid var(--line-3); }
/* static fallback (reduced motion / no JS): every logo visible in an even grid, no separators */
.clients:not(.logos--marquee) .logos__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); row-gap: 4px; }
.clients:not(.logos--marquee) .logos__item { border-left: 0; padding: 0 12px; }

/* ========================= contact ========================= */
.contact__panel { background: var(--surface-2); border-radius: var(--r-panel); padding: clamp(24px, 4.4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(32px, 4vw, 56px); }
.contact__info { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; container-type: inline-size; min-width: 0; }
.contact__info .eyebrow { border-color: #CFCFCB; }
.contact__title { display: flex; flex-direction: column; font-size: clamp(2rem, 12.4cqi, 4.75rem); }
.contact__lead { max-width: 420px; color: var(--ink-3); }
.contact__list { display: flex; flex-direction: column; gap: 14px; font-size: .9375rem; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }

.form { padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; align-self: end; }
.form .preview-notice { margin-top: 0; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.req { color: var(--brand-orange); }
.optional { font-weight: 500; color: var(--ink-4); }
.field input, .field textarea {
  width: 100%; min-height: 50px; border: 1px solid transparent; border-radius: var(--r-field); background: var(--field); padding: 12px 14px;
  font-size: 1rem; transition: border-color var(--t-fast), background-color var(--t-fast);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); background: #fff; }
.field__error { font-size: 12px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: 12px; color: var(--ink-4); }
.form__legal { font-size: 12px; color: var(--ink-4); }
.form__status { border-radius: var(--r-overlay); padding: 16px 18px; font-size: var(--fs-small); line-height: 1.55; }
.form__status:focus { outline: none; }
.form__status--preview { background: #FFF4E8; border: 1px solid #FFD3A3; color: #5A3A12; }
.form__status--error { background: #FDECEA; border: 1px solid #F5C2BD; color: var(--error); }
.form__status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form__status-actions a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 600; font-size: var(--fs-xs); }
.form__status-actions a + a { background: transparent; color: var(--ink); border: 1px solid #E8C9A6; }

/* ========================= footer ========================= */
.site-footer { margin-top: clamp(56px, 6vw, 96px); padding-bottom: 32px; font-size: var(--fs-small); color: var(--ink-3); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; border-top: 1px solid var(--line); }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.site-footer__logo { height: 36px; width: auto; }
.site-footer__heading { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 14px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: var(--ink); font-weight: 500; }
.site-footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__col address { color: var(--ink); line-height: 1.7; margin-bottom: 10px; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: var(--fs-xs); }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a:hover { color: var(--ink); }

/* ========================= placeholder pages ========================= */
.placeholder { margin-top: clamp(24px, 4vw, 56px); }
.placeholder__panel { padding: clamp(28px, 6vw, 80px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.placeholder__panel p { max-width: 520px; color: var(--ink-3); }

/* Faza 7 — ispravka: backdrop-filter na skrolovanom zaglavlju pravi "containing block" za position:fixed,
   pa je mobilni meni bio zarobljen u traci zaglavlja (visina ~56px) i nije se video. Dok je meni otvoren, filter se gasi. */
body.menu-open .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg-top); }

/* ---------- language switch (header + mobile menu) ---------- */
.lang-switch ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 3px; list-style: none; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); }
.lang-switch__link { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); transition: background-color var(--t-fast), color var(--t-fast); }
.lang-switch__link:hover { color: var(--ink); background: var(--surface-2); }
.lang-switch__link.is-current { background: var(--ink); color: #fff; }
.lang-switch--menu { align-self: flex-start; }
.lang-switch--menu .lang-switch__link { min-width: 48px; height: 40px; font-size: 13px; }

/* ==========================================================================
   Inner pages — built from the homepage system (tokens, eyebrow, two-tone
   headlines, panels, .media radius roles). No new radius values.
   ========================================================================== */

.block { display: block; }
.section-tight { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.section-head--compact { align-items: center; margin-bottom: 28px; }

/* breadcrumbs */
.breadcrumbs { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 8px auto 0; padding-inline: var(--gutter); font-size: var(--fs-xs); color: var(--ink-4); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* page intro: headline left, lead right (asymmetric, Concept 14) */
.page-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding-top: clamp(28px, 4vw, 56px); }
.page-intro__title { display: flex; flex-direction: column; gap: 24px; }
.page-intro__lead { display: flex; flex-direction: column; gap: 16px; color: var(--ink-3); font-size: var(--fs-lead); line-height: 1.65; padding-bottom: 8px; }
.page-h1 { font-weight: 800; font-size: var(--fs-h2); line-height: 1; letter-spacing: -.04em; }

/* sticky sub-navigation (Usluge) */
.subnav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; margin-top: clamp(40px, 5vw, 72px); background: rgba(244, 243, 240, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.subnav__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast); }
.subnav__link:hover { color: var(--ink); background: var(--surface); }
.subnav__link.is-active { background: var(--ink); color: #fff; }
.subnav__n { font-size: 11px; opacity: .7; }

/* service sections */
.svc { padding-top: clamp(4.5rem, 3rem + 4vw, 7.5rem); scroll-margin-top: calc(var(--header-h) + 64px); }
.svc__head { display: flex; align-items: baseline; gap: clamp(16px, 2vw, 28px); padding-bottom: 28px; margin-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.svc__n { font-weight: 800; font-size: clamp(1rem, .8rem + .6vw, 1.25rem); color: var(--brand-orange); letter-spacing: -.01em; min-width: 2.2em; }
.svc__title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc__grid--after { margin-top: clamp(28px, 3vw, 44px); grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.svc__body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 620px; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; }
.svc__img { aspect-ratio: 4 / 5; }
.svc--split-reverse .svc__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.svc--split-reverse .svc__img { order: 2; aspect-ratio: 4 / 3; }
.svc__note { color: var(--ink-3); font-size: var(--fs-small); border-left: 2px solid var(--brand-orange); padding-left: 16px; }
.svc__facts { width: 100%; display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.svc__facts-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); padding-top: 3px; }
.svc__facts ul { display: flex; flex-wrap: wrap; gap: 8px; }
.svc__facts li { border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 12px; color: var(--ink); font-weight: 600; }
.svc--statement .svc__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.svc__statement { font-weight: 800; font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); margin-bottom: 10px; max-width: 21ch; text-wrap: balance; }
.svc--statement .svc__img { aspect-ratio: 3 / 4; }
.svc__panel { background: var(--surface); border-radius: var(--r-panel); padding: clamp(22px, 4vw, 56px); }
.svc--steps .svc__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.svc--steps .svc__img { aspect-ratio: 4 / 3; width: 100%; margin-top: 10px; }
.steps { counter-reset: step; border-top: 1px solid var(--line-3); }
.steps__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-3); }
.steps__n { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-xs); font-weight: 700; }
.steps__title { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.steps__item p { color: var(--ink-3); font-size: .9375rem; }
.svc__quote { margin-top: clamp(28px, 3vw, 44px); padding-top: 28px; border-top: 1px solid var(--line-3); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.svc__quote blockquote { grid-column: 2; font-weight: 600; font-size: clamp(1.0625rem, .95rem + .4vw, 1.25rem); line-height: 1.5; letter-spacing: -.01em; }
.svc__quote figcaption { grid-column: 1; grid-row: 1; font-size: var(--fs-xs); color: var(--ink-4); }
.svc__quote figcaption strong { display: block; color: var(--ink); font-size: var(--fs-small); }
.svc__quote--side { margin-top: 0; padding-top: 0; border-top: 0; display: flex; flex-direction: column; gap: 14px; border-left: 2px solid var(--brand-orange); padding-left: 24px; }
.svc__wide-img { height: clamp(320px, 42vw, 640px); }
.svc__pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: end; }
.svc__pair-img--1 { aspect-ratio: 4 / 3; }
.svc__pair-img--2 { aspect-ratio: 1 / 1; }
.workshops__item--link { transition: color var(--t-fast); }
.workshops__item--link:hover .workshops__title { text-decoration: underline; text-underline-offset: 4px; }

/* closing CTA */
.cta__panel { background: var(--surface-2); border-radius: var(--r-panel); padding: clamp(24px, 4.4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta__copy .eyebrow { border-color: #CFCFCB; }
.cta__copy .h2 { max-width: 16ch; }
.cta__copy p { color: var(--ink-3); max-width: 46ch; }
.cta__actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-width: 260px; }
.cta__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-weight: 700; }
.cta__phone:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* portfolio */
.feature { position: relative; }
.feature__link { position: relative; display: block; }
.feature__media { height: clamp(460px, 50vw, 720px); background: #1c1c1b; }
.feature__media img { transition: transform 1200ms var(--ease); }
.feature__link:hover .feature__media img { transform: scale(1.02); }
.feature__card { position: absolute; left: 24px; bottom: 24px; width: min(440px, calc(100% - 48px)); background: rgba(255, 255, 255, .97); border-radius: var(--r-overlay); padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pgrid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pcard__link { display: flex; flex-direction: column; gap: 16px; }
.pcard__media { aspect-ratio: 3 / 2; }
.pcard__media img { transition: transform 1000ms var(--ease); }
.pcard__link:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px; align-items: baseline; padding-bottom: 8px; }
.pcard__meta { grid-column: 1 / -1; font-size: 12px; font-weight: 600; color: var(--ink-4); }
.pcard__title { font-weight: 800; font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); line-height: 1.1; letter-spacing: -.03em; }
.pcard__client { grid-column: 1; font-size: var(--fs-small); color: var(--ink-3); }
.pcard__more { grid-column: 2; grid-row: 2 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .feature__link:hover .feature__media img, .pcard__link:hover .pcard__media img { transform: none; } }

/* project page */
.project-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding-top: clamp(28px, 4vw, 56px); }
.project-head__title { display: flex; flex-direction: column; gap: 24px; }
.project-head__h1 { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.25rem); }
.project-head__summary { max-width: 56ch; color: var(--ink-3); font-size: var(--fs-lead); }
.project-head__spec { padding-bottom: 4px; }
.project-hero { margin-top: clamp(32px, 4vw, 56px); height: clamp(380px, 56vw, 820px); background: #1c1c1b; }
.project-hero__open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.project-hero__open picture, .project-hero__open img { width: 100%; height: 100%; object-fit: cover; }
.project-hero__chip { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 20px; }
/* project video (Phase 6): muted loop over the cover photo; the photo stays as poster and as the fallback
   (phones, reduced motion, data saver). The photo opener underneath keeps working. */
.project-hero { position: relative; }
.project-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease); pointer-events: none; }
.project-hero__video.is-playing { opacity: 1; }
.project-hero__vbtn { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: 20px; z-index: 2; border: 0; cursor: pointer; font: inherit; }
.project-hero__vbtn[hidden] { display: none; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gallery__item { grid-column: span 3; }
.gallery--1 .gallery__item { grid-column: 1 / -1; }
.gallery--3 .gallery__item:first-child, .gallery--many .gallery__item:nth-child(3n+1) { grid-column: 1 / -1; }
.gallery--3 .gallery__item:first-child .gallery__media, .gallery--many .gallery__item:nth-child(3n+1) .gallery__media { aspect-ratio: 21 / 9; }
.gallery__btn { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; color: inherit; }
.gallery__media { aspect-ratio: 3 / 2; width: 100%; }
.gallery__media img { transition: transform 900ms var(--ease); }
.gallery__btn:hover .gallery__media img { transform: scale(1.03); }
.gallery__cap { font-size: var(--fs-xs); color: var(--ink-3); }
.pquote { padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.pquote blockquote p { font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); line-height: 1.3; letter-spacing: -.025em; max-width: 46ch; }
.pquote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-xs); color: var(--ink-4); }
.pquote figcaption strong { font-size: .9375rem; color: var(--ink); }
.pgrid--related { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .gallery__btn:hover .gallery__media img { transform: none; } }

/* production */
.facts.facts--static { margin-top: clamp(36px, 4vw, 56px); }
.facts--static .facts__item:nth-child(3):last-child { grid-column: auto; }
.facts--static.facts { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.prod-hero { margin-top: clamp(36px, 4vw, 56px); height: clamp(320px, 44vw, 660px); }
.ws-list { border-top: 1px solid var(--line); }
.ws { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 48px); padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); align-items: start; }
.ws__head { display: grid; grid-template-columns: 44px 1fr; row-gap: 4px; }
.ws__n { font-size: var(--fs-xs); font-weight: 700; color: var(--brand-orange); padding-top: 8px; }
.ws__title { font-weight: 800; font-size: clamp(1.375rem, 1.1rem + .9vw, 2rem); line-height: 1.1; letter-spacing: -.03em; }
.ws__sub { grid-column: 2; font-size: var(--fs-xs); color: var(--ink-4); }
.ws__text { color: var(--ink-2); line-height: 1.7; max-width: 60ch; }
.ws__imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ws__imgs .media { aspect-ratio: 3 / 4; }
/* one photo per workshop (Phase 6): a single 4:3 photo card fills the column */
.ws__imgs--single { grid-template-columns: 1fr; }
.ws__imgs--single .media { aspect-ratio: 4 / 3; }
.ws:not(.ws--media) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
/* Proizvodnja — one cohesive workshop gallery (Phase 4): uniform 4-column rhythm of 8 px photo cards */
.wsg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wsg .media { aspect-ratio: 4 / 5; }
.wsg .gallery__btn { display: block; }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 16vw, 240px); gap: 16px; }
.mosaic__item .gallery__btn, .mosaic__item .media { height: 100%; }
.mosaic__item--1 { grid-column: span 2; grid-row: span 2; }
.mosaic__item--2 { grid-column: span 4; }
.mosaic__item--3 { grid-column: span 2; }
.mosaic__item--4 { grid-column: span 2; }
.mosaic__item--5 { grid-column: 1 / -1; }

/* about */
.about-team { margin-top: clamp(36px, 4vw, 56px); height: clamp(360px, 46vw, 680px); }
.about-team__cap { position: absolute; left: 20px; bottom: 20px; }
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.story__item { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--ink); }
.story__label { font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.story__title { font-size: 1.125rem; font-weight: 700; }
.story__item p { color: var(--ink-3); }
.about-approach { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-approach__head { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.principles { border-top: 1px solid var(--line); }
.principles__item { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.principles__n { grid-row: span 2; font-size: var(--fs-xs); font-weight: 700; color: var(--brand-orange); padding-top: 6px; }
.principles__title { font-weight: 800; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); letter-spacing: -.02em; line-height: 1.15; }
.principles__item p { color: var(--ink-3); max-width: 60ch; }
.about-mosaic { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: clamp(260px, 30vw, 440px); gap: 16px; }
.about-mosaic__item { min-height: 0; }
.about-mosaic .media { height: 100%; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quotes__item { height: 100%; background: var(--surface); border-radius: var(--r-panel); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quotes__item blockquote p { font-weight: 600; font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.01em; }
.quotes__item figcaption { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-xs); color: var(--ink-4); }
.quotes__item figcaption strong { font-size: .9375rem; color: var(--ink); }
.quotes__context { margin-top: 6px; color: var(--ink-3); }
.quotes + .clients { margin-top: 16px; }

/* contact page */
.contact-page { padding-top: clamp(24px, 4vw, 56px); }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-page__info { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; container-type: inline-size; min-width: 0; }
.contact-page__title { margin: 0; }
.contact-page__form .form { align-self: start; }
.cinfo { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.cinfo__block { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.cinfo__label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 4px; }
.cinfo__big { font-weight: 800; font-size: clamp(1.125rem, .95rem + .6vw, 1.5rem); letter-spacing: -.02em; word-break: break-word; }
.cinfo__block a:not(.link-arrow):hover { text-decoration: underline; text-underline-offset: 3px; }
.cinfo__block address { line-height: 1.6; margin-bottom: 6px; }
.cinfo__social { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.contact-page__photo { height: clamp(260px, 36vw, 520px); }

/* legal */
.legal { padding-top: clamp(24px, 4vw, 56px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.legal__head { display: flex; flex-direction: column; gap: 22px; }
.legal__body { display: flex; flex-direction: column; gap: 18px; max-width: 68ch; color: var(--ink-2); }
.preview-notice--block { margin-top: 0; }
.legal__h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-top: 8px; }
.legal__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

.notfound__actions { margin-top: 36px; }

/* ---------------- responsive (inner pages) ---------------- */
@media (max-width: 1080px) {
  .ws, .ws:not(.ws--media) { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .ws__imgs { grid-column: 2; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .page-intro, .project-head, .legal__grid, .about-approach, .contact-page__grid { grid-template-columns: 1fr; }
  .page-intro { align-items: start; gap: 22px; }
  .about-approach__head { position: static; }
  .svc__grid, .svc--split-reverse .svc__grid, .svc--statement .svc__grid, .svc--steps .svc__grid, .svc__grid--after { grid-template-columns: 1fr; }
  .svc--split-reverse .svc__img { order: 0; }
  .svc__img, .svc--statement .svc__img { aspect-ratio: 4 / 3; }
  .svc__quote { grid-template-columns: 1fr; }
  .svc__quote blockquote, .svc__quote figcaption { grid-column: 1; grid-row: auto; }
  .svc__pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc__pair-img--1, .svc__pair-img--2 { aspect-ratio: 3 / 4; }
  .cta__panel { grid-template-columns: 1fr; }
  .cta__actions { min-width: 0; }
  .feature__media { height: auto; aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); border-radius: var(--r-image-full); }
  .feature__card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; box-shadow: var(--shadow-soft); }
  .pgrid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .project-hero { height: auto; aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item, .gallery--3 .gallery__item:first-child, .gallery--many .gallery__item:nth-child(3n+1) { grid-column: span 1; }
  .gallery--1 .gallery__item, .gallery__item:first-child { grid-column: 1 / -1; }
  .gallery--3 .gallery__item:first-child .gallery__media, .gallery--many .gallery__item:nth-child(3n+1) .gallery__media { aspect-ratio: 3 / 2; }
  .ws, .ws:not(.ws--media) { grid-template-columns: 1fr; gap: 14px; }
  .ws__imgs { grid-column: 1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
  .wsg { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mosaic__item--1 { grid-column: span 1; grid-row: span 2; }
  .mosaic__item--2, .mosaic__item--3, .mosaic__item--4 { grid-column: span 1; }
  .story { grid-template-columns: 1fr; }
  .about-team { height: auto; aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); border-radius: var(--r-image-full); }
  .about-team__cap { left: var(--gutter); }
  .about-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .about-mosaic__item--1 { grid-column: 1 / -1; }
  .about-mosaic .media { aspect-ratio: 4 / 3; height: auto; }
  .contact-page__photo { margin-inline: calc(-1 * var(--gutter)); border-radius: var(--r-image-full); height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .facts--static .facts__item:nth-child(3):last-child { grid-column: 1 / -1; border-left: 0; }
  .section-head--compact { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .svc__facts { grid-template-columns: 1fr; }
  .cinfo { grid-template-columns: 1fr; }
  .cinfo__block { padding-right: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item:first-child { grid-column: 1 / -1; }
  .pcard__body { grid-template-columns: 1fr; }
  .pcard__more { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .project-hero__chip, .project-hero__vbtn { bottom: 12px; }
}

/* O nama — editorial pair of workshop photographs (Phase 3, approved option B) */
.about-pair { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: 7fr 5fr; gap: 16px; height: clamp(360px, 46vw, 680px); }
.about-pair__item { min-height: 0; }
.about-pair .media { height: 100%; }

/* Kontakt — project photograph with editorial caption (Phase 3, approved option B) */
.contact-photo__cap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) auto; gap: clamp(16px, 3vw, 48px); align-items: baseline; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-photo__meta { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.contact-photo__text { font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; margin: 0; }
.contact-photo__cap .link-arrow { justify-self: start; }

@media (max-width: 860px) {
  .about-pair { grid-template-columns: 1fr; gap: 8px; height: auto; margin-inline: calc(-1 * var(--gutter)); }
  .about-pair .media { aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-image-full); }
  .contact-photo__cap { grid-template-columns: 1fr; gap: 12px; }
}

/* Faza 7 — ilustracija procesa (Ideja i dizajn) */
.svc--statement .svc__grid--diagram { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; }
.svc__diagram { margin: 0; }
.svc__diagram-btn { display: block; }
.svc__diagram-img { display: block; aspect-ratio: 1458 / 758; overflow: hidden; background: #f4f3f0; }
.svc__diagram-img picture, .svc__diagram-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.svc__diagram-cap { margin-top: 12px; font-size: .8125rem; color: var(--ink-3, var(--ink-2)); }
@media (max-width: 860px) { .svc--statement .svc__grid--diagram { grid-template-columns: 1fr; gap: 20px; } }

/* Faza 7 — video na naslovnoj */
.film__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.film__poster, .film__poster picture, .film__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%); }
.film__play { white-space: nowrap; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border: 0; border-radius: var(--r-pill); background: rgba(255,255,255,.92); color: var(--ink); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 40px rgba(0,0,0,.25); transition: transform 250ms var(--ease), background 250ms var(--ease); backdrop-filter: blur(8px); }
.film__play:hover { transform: translate(-50%, -50%) scale(1.04); background: #fff; }
.film__play:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 4px; }
.film__play-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-orange); color: #fff; }
.film__play-icon .icon { margin-left: 3px; }
.film__dur { color: var(--ink-3); font-weight: 600; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.film.is-playing .film__poster, .film.is-playing .film__play { display: none; }
@media (max-width: 600px) { .film__play { padding: 8px 18px 8px 8px; font-size: .9375rem; } .film__play-icon { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .film__play, .film__play:hover { transition: none; } }

/* ========================= responsive ========================= */

/* laptop */
@media (max-width: 1200px) {
  .site-footer__top { grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 24px; }
  .clients { flex-direction: column; align-items: stretch; gap: 10px; }
}

/* tablet landscape / small laptop: navigation collapses */
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__logo img { height: 34px; }
  .services__layout { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; max-width: 460px; }
}

/* tablet portrait and below: stacked, intentionally re-composed */
@media (max-width: 860px) {
  .lightbox { --lb-side: 0px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* hero: copy first, full-bleed photograph (0px corners), facts as a 2×2 panel */
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__copy { padding-top: 8px; gap: 22px; }
  .hero__copy { padding-bottom: 0; }
  /* Phase 5 fix: the slide stack sizes itself with an in-flow ratio box. All slides are absolutely positioned,
     so the figure must not depend on aspect-ratio alone (iOS Safari resolved the stretched grid item to 0 px height). */
  .hero__media { --hero-ratio: 75%; min-height: 0; height: auto; aspect-ratio: auto; align-self: start; margin-inline: calc(-1 * var(--gutter)); border-radius: var(--r-image-full); }
  .hero__slides { position: relative; inset: auto; }
  .hero__slides::before { content: ""; display: block; padding-top: var(--hero-ratio); }
  .hero__caption { left: var(--gutter); top: 16px; }
  .hero { --hero-overlap: 0px; }
  .hero__controls { right: var(--gutter); bottom: 14px; }
  .facts { margin-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; row-gap: 0; }
  .facts__item { padding: 18px 16px; }
  .facts__item + .facts__item { border-left: 0; }
  .facts__item:nth-child(even) { border-left: 1px solid var(--line-3); }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line-3); }

  /* services: accordion */
  .services__layout { grid-template-columns: 1fr; margin-top: 36px; }
  .services__stage { display: none; }
  .services__trigger { min-height: 64px; font-size: 1.0625rem; }
  .services__marker { width: 22px; height: 22px; border-radius: 50%; opacity: 1; transform: none; background: transparent; border: 1px solid var(--line-2); position: relative; }
  .services__marker::before, .services__marker::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform var(--t-med) var(--ease); }
  .services__marker::after { transform: translate(-50%, -50%) rotate(90deg); }
  .services__trigger[aria-expanded="true"] .services__marker { background: var(--brand-orange); border-color: var(--brand-orange); }
  .services__trigger[aria-expanded="true"] .services__marker::after { transform: translate(-50%, -50%) rotate(0deg); }
  .services__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--t-med) var(--ease); }
  .services__panel[data-collapsed] { grid-template-rows: 0fr; }
  .services__panel-inner { overflow: hidden; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
  .services__panel-inner > :last-child { margin-bottom: 24px; }
  .services__panel-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-image-editorial); overflow: hidden; background: #dcdcd8; }
  .services__panel-img img { width: 100%; height: 100%; object-fit: cover; }
  .services__panel p { color: var(--ink-2); font-size: .9375rem; }

  /* projects: photograph, then card below; thumbnails become a row */
  .projects__nav .projects__count { margin-right: auto; }
  .projects__nav { width: 100%; }
  .projects__stage { height: auto; overflow: visible; background: transparent; border-radius: 0; display: flex; flex-direction: column; }
  .projects__media { position: relative; inset: auto; aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); overflow: hidden; border-radius: var(--r-image-full); background: #1c1c1b; }
  .projects__thumbs { position: static; flex-direction: row; margin-top: 12px; order: 2; }
  .projects__thumb { flex: 1; height: 64px; width: auto; box-shadow: none; opacity: .55; }
  .projects__thumb.is-active { box-shadow: 0 0 0 2px var(--ink); }
  .projects__card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; order: 3; display: none; box-shadow: var(--shadow-soft); }
  .projects__card.is-active { display: flex; }

  /* production */
  .production__head { grid-template-columns: 1fr; }
  .production__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 220px; gap: 10px; margin-top: 32px; }
  .production__tile--1 { grid-row: auto; grid-column: 1 / -1; }
  .production__tile--2, .production__tile--5 { grid-column: auto; }
  .workshops__item { grid-template-columns: 40px minmax(0, 1fr); row-gap: 2px; }
  .workshops__sub { grid-column: 2; text-align: left; }

  /* contact */
  .contact__panel { grid-template-columns: 1fr; }
  .form { align-self: stretch; }
}

/* phones */
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .site-header__cta { display: none; }
  .menu-toggle { height: 44px; padding: 0 14px; }
  .site-header__logo img { height: 30px; }

  .hero__title { font-size: clamp(2.5rem, 1.1rem + 6.6vw, 3.25rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__media { --hero-ratio: 125%; } /* 4:5 on phones */
  .facts__value { font-size: 2rem; }

  .instagram__actions { width: 100%; justify-content: space-between; }
  .instagram__arrows { display: flex; }
  .instagram__track {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none;
  }
  .instagram__track::-webkit-scrollbar { display: none; }
  .ig-card { flex: 0 0 72%; scroll-snap-align: start; }
  .ig-card__overlay { opacity: 0; }

  .production__mosaic { grid-auto-rows: 180px; }

  .testimonials__viewport { min-height: 340px; }
  .clients { padding: 18px 0 10px; }
  .clients__label { padding-inline: 20px; }
  .logos__item { height: 56px; padding: 0 22px; }
  .logos__item img { height: calc(var(--h, 30px) * .8); }
  .logos--marquee .logos__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .clients:not(.logos--marquee) .logos__track { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 8px; }
  .clients:not(.logos--marquee) .logos__item { padding: 0 8px; }

  .contact__list li { align-items: flex-start; }
  .contact__list li > span:last-child { padding-top: 10px; }
  .form__grid { grid-template-columns: 1fr; }

  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__prev { left: var(--gutter); }
  .lightbox__next { right: var(--gutter); }
  .lightbox__caption { padding: 40px 72px 26px; }
}

/* small phones */
@media (max-width: 380px) {
  .btn { padding-left: 18px; gap: 12px; }
  .facts__item { padding: 16px 12px; }
  .facts__label { font-size: 12px; }
  .ig-card { flex-basis: 80%; }
}

/* Mobile readability (Phase 3): running text and captions at least 13–14 px on phones.
   Desktop sizes and the type scale are unchanged; short uppercase labels keep their tracked 11 px style. */
@media (max-width: 600px) {
  .note, .preview-notice, .gallery__cap, .svc__quote figcaption, .pquote figcaption,
  .quotes__context, .testimonial__context, .field label, .subnav__link,
  .ws__sub, .workshops__sub { font-size: var(--fs-small); }
  .field__hint, .form__legal, .projects__meta, .pcard__meta, .facts__label { font-size: var(--fs-xs); }
  .preview-notice__tag { font-size: 11px; }
}

/* Faza 7 — ilustracija (Ideja i dizajn) se prikazuje cela, bez sečenja */
.services__panel-img.is-contain { aspect-ratio: 1458 / 758; background: #f4f3f0; }
.services__panel-img.is-contain img { object-fit: contain; }
.services__slide.is-contain { background: #f4f3f0; }
.services__slide.is-contain img { object-fit: contain; object-position: 0% 0%; padding: 20px 20px 300px; box-sizing: border-box; }

/* language switch: in the header on larger screens, inside the menu on phones */
@media (max-width: 600px) {
  .lang-switch--header { display: none; }
}
