/* District Sensation — existing typefaces, continuous atmosphere. */
:root {
  --nav-h: 80px;
  --muted: #a5a7aa;
  --border: rgba(242, 237, 230, .14);
  --gutter: clamp(24px, 4.5vw, 80px);
  --section-space: clamp(72px, 8vw, 128px);
}

html { scroll-padding-top: calc(var(--nav-h) + 24px); }
body { font-size: 16px; line-height: 1.65; font-synthesis: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, [role="option"] { cursor: pointer; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }

/* Header and controls */
.nav { padding-inline: var(--gutter); opacity: 1; transform: none; pointer-events: auto;
  background: rgba(8, 12, 16, .5); border-color: rgba(255, 255, 255, .12);
  transition: background .25s, border-color .25s; }
.nav.scrolled { background: rgba(11, 11, 11, .94); border-color: var(--border); }
.nav__brand { display: flex; align-items: center; gap: 16px; }
.nav__logo { font-family: var(--f-display); font-size: 32px; letter-spacing: .01em; opacity: 1; line-height: 1; }
.nav__wordmark { font-family: var(--f-body); font-size: 12px; font-weight: 500;
  line-height: 1.25; letter-spacing: .02em; padding-left: 16px; border-left: 1px solid var(--border-m); }
.nav__right { gap: 28px; }
.nav__link { font-family: var(--f-body); font-size: 14px; font-weight: 500;
  text-transform: none; letter-spacing: 0; opacity: .85; }
.lang-switch { background: transparent; backdrop-filter: none; border: 0; padding: 0; gap: 2px; }
.lang-switch__btn, .lang-switch--mobile .lang-switch__btn { font-family: var(--f-body);
  font-size: 12px; font-weight: 500; letter-spacing: .02em; min-width: 40px;
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #b8bdc2; }
.lang-switch__btn.active { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav__burger { width: 44px; height: 44px; align-items: center; justify-content: center; gap: 6px; }
.nav__burger span { width: 22px; }
.nav__burger.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile { gap: 24px; visibility: hidden; padding: 100px 24px 48px; }
.nav__mobile.open { visibility: visible; }
.nav__mobile-link { font-size: clamp(40px, 11vw, 68px); letter-spacing: .01em; line-height: 1.15; }
.impact__cta, .contact__submit, .nav__link--cta {
  font-family: var(--f-body); font-size: 14px; font-weight: 500; line-height: 1.4;
  text-transform: none; letter-spacing: 0; color: #081216;
  background: var(--accent); border: 1px solid var(--accent); border-radius: 3px;
  min-height: 56px; padding: 16px 24px; gap: 32px;
  transform: none; box-shadow: none; opacity: 1;
  transition: background .2s, border-color .2s, color .2s;
}
.nav__link--cta { min-height: 42px; padding: 10px 16px; gap: 16px; }
.impact__cta:hover, .contact__submit:hover, .nav__link--cta:hover {
  color: #081216; background: #7cefff; border-color: #7cefff; box-shadow: none; transform: none;
}
.impact__cta-arrow svg, .contact__submit-arrow svg, .nav__link-mark svg { width: 18px; height: 18px; }
.impact__cta:hover .impact__cta-arrow, .contact__submit:hover .contact__submit-arrow { transform: none; }
.contact__submit { align-self: flex-start; justify-content: space-between; min-width: 220px; margin-top: 24px; }
.contact__submit:disabled { cursor: wait; opacity: .6; }
.contact__submit.ready { box-shadow: none; border-color: var(--accent); }
.contact__submit.ready .contact__submit-text::after { content: none; }
.back-to-top { background: #111; border-color: var(--border); border-radius: 3px; padding: 12px; gap: 8px; }
.back-to-top__label { font-family: var(--f-body); font-size: 12px; letter-spacing: 0; text-transform: none; }

/* Hero: one aligned headline, supporting copy, then a clear action. */
.impact {
  isolation: isolate; min-height: 100svh; padding: calc(var(--nav-h) + 64px) var(--gutter) 56px;
  justify-content: center; gap: 28px;
  background: #09131b url('../assets/video/hero-poster.jpg') center / cover no-repeat;
}
.impact__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; z-index: -2; pointer-events: none; opacity: 0; transition: opacity .6s; }
.impact__video.is-playing { opacity: 1; }
.impact::before { z-index: -1; background:
  linear-gradient(90deg, rgba(5, 10, 15, .82) 0%, rgba(5, 10, 15, .5) 46%, rgba(5, 10, 15, .14) 100%),
  linear-gradient(0deg, #0b0b0b 0%, rgba(7, 11, 15, .25) 35%, rgba(7, 11, 15, .12) 75%, rgba(7, 11, 15, .5) 100%); }
.impact__headline-wrap { flex: 0 1 auto; justify-content: flex-start; gap: 24px; }
.impact__primary { line-height: 1.02; gap: 0; will-change: auto; }
.impact__primary-row { gap: .19em; padding: .055em 0; margin: 0; overflow: visible; font-size: clamp(80px, 9.3vw, 144px); }
.impact__primary-row--offset { padding-left: 0; }
.impact__primary-row--right { justify-content: flex-start; }
.impact__primary-row--right { width: 100%; min-height: 1.12em; overflow: hidden; }
.impact__char-group--ghost { white-space: nowrap; }
.impact__char-group, .impact__char-group--dim, .impact__char-group--ghost {
  font-size: inherit; font-weight: 400; letter-spacing: .005em; line-height: .98;
  transform: translateY(18px); transition: opacity .55s, transform .65s var(--ease);
}
.impact__char-group:hover { letter-spacing: .005em; }
.impact__char-group--stroke { -webkit-text-stroke: 1px var(--white); }
.impact__char-group--dim { color: var(--white); }
.impact__char-group--accent { color: var(--white); }
.impact__char-group--ghost, .impact__char-group--ghost.visible { color: var(--accent); -webkit-text-stroke: 0; }
.impact__secondary { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: #d4d9de;
  margin: 0; padding: 0; max-width: 30ch; white-space: normal; }
.impact__secondary::before { content: none; }
.impact__sub-wrap { padding: 0; gap: 28px; flex-wrap: nowrap; align-items: end; }
.impact__meta { font-family: var(--f-body); font-size: 12px; line-height: 1.5;
  letter-spacing: .01em; text-transform: none; color: #bcc2c7; gap: 6px 20px; }
.impact__badge { top: calc(var(--nav-h) + 32px); right: var(--gutter); }
.impact__badge span { font-size: 12px; letter-spacing: .06em; color: #c4cbd0; }
.impact__scroll-hint { display: none; }

/* Type scale and spacing shared by both languages. */
.stats, .services, .cg, .contact { padding: var(--section-space) var(--gutter); }
.services__header, .cg__header, .contact__header { align-items: start; gap: 40px; margin-bottom: 56px; }
.services__title, .cg__title, .contact__title,
html:lang(sr) .services__title, html:lang(sr) .cg__title, html:lang(sr) .contact__title {
  font-size: clamp(60px, 7vw, 104px); font-weight: 400; letter-spacing: .005em; line-height: 1.04;
}
.services__title em, .cg__title em, .clients__title em, .contact__title em,
html:lang(sr) .services__title em, html:lang(sr) .cg__title em,
html:lang(sr) .clients__title em, html:lang(sr) .contact__title em {
  color: var(--muted); -webkit-text-stroke: 0;
}
.services__num, .cg__kicker, .clients__kicker, .contact__num, .contact__form-kicker,
.process__label { font-size: 12px; line-height: 1.5; letter-spacing: .07em; opacity: 1; }
.stats { gap: clamp(40px, 6vw, 96px); grid-template-columns: 1fr 1fr; }
.stats__statement { max-width: none; }
.stats__statement p { max-width: 32ch; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.45; font-weight: 400; color: #a5a7aa; }
.service-row { grid-template-columns: 48px minmax(0, 1fr) minmax(180px, 280px); gap: 32px; padding: 32px 0; }
.service-row__title { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; font-weight: 400; letter-spacing: .01em; }
.service-row:hover, .service-row:hover .service-row__title { padding-left: 0; letter-spacing: .01em; }
.service-row::after, .service-row__arrow { display: none; }
.service-row__num { font-size: 12px; opacity: 1; align-self: start; padding-top: 8px; }
.service-row__body { max-height: none; opacity: 1; transform: none; font-size: 16px; line-height: 1.6;
  max-width: 46ch; color: #b5b6b8; overflow: visible; }
.service-row:hover .service-row__body { max-height: none; }
.service-row__tags, .service-row:hover .service-row__tags { opacity: 1; transform: none; }
.service-row__tags span { font-family: var(--f-body); font-size: 13px; line-height: 1.5;
  color: #a5a7aa; letter-spacing: 0; text-transform: none; }
.services__system-text { font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  text-transform: none; letter-spacing: 0; color: var(--muted); }

/* OpenStreetMap raster tiles, recolored locally; attribution stays outside filters. */
.stats__visual-frame { min-height: 360px; clip-path: none; border-radius: 3px; background: #111; box-shadow: none; }
.stats__visual-frame::before { content: none; }
.stats__leaflet .leaflet-tile-pane { opacity: 1; filter: grayscale(1) invert(1) contrast(.82) brightness(.82); }
.stats__visual-map::after { display: block; background: radial-gradient(ellipse at center, transparent 35%, rgba(11, 11, 11, .7) 100%); }
.stats__visual-chip { font-size: 12px; letter-spacing: .025em; color: #d1d5d9; background: rgba(10, 10, 10, .8); border: 0; clip-path: none; padding: 6px 10px; }
.stats__visual-chip--bl { bottom: 44px; }
.stats-map-marker__pulse { animation: none; opacity: .7; }
.stats-map-marker__dot { box-shadow: 0 0 12px rgba(0, 224, 255, .4); }
.stats__map-attribution { position: absolute; z-index: 5; bottom: 0; right: 0;
  padding: 5px 9px; background: #131619; color: #e2e5e8; font: 12px/1.4 var(--f-body); }

/* Retain the current work and clients until their replacement is supplied. */
.cg__frame::before, .cg__frame::after, .cg__corner,
.cg__cell::before, .cg__cell::after, .cg__cell-content::before, .cg__cell-content::after { display: none; }
.cg__grid { box-shadow: none; background: var(--border); border-color: var(--border); grid-template-rows: repeat(2, minmax(320px, auto)); }
.cg__grid.has-hover .cg__cell.active { transform: none; box-shadow: none; outline-color: rgba(0,224,255,.5); }
.cg__grid.has-hover .cg__cell:not(.active) { transform: none; background: #0a0a0a; box-shadow: none; }
.cg__grid .cg__name, .cg__grid:not(.has-hover) .cg__name,
.cg__grid.has-hover .cg__cell:not(.active) .cg__name { font-size: 22px; line-height: 1.2; letter-spacing: .01em; opacity: 1; color: var(--white); }
.cg__grid .cg__tags, .cg__grid:not(.has-hover) .cg__tags,
.cg__grid.has-hover .cg__cell:not(.active) .cg__tags { font-family: var(--f-body); font-size: 12px; line-height: 1.5;
  letter-spacing: 0; white-space: normal; text-transform: none; color: #a5a7aa; opacity: 1; }
.cg__expand { padding: 24px; background: #11161a; justify-content: center; }
.cg__expand-name { font-size: 28px; line-height: 1.15; letter-spacing: .01em; }
.cg__expand-stat { font-family: var(--f-body); font-size: 14px; line-height: 1.45; }
.cg__expand-desc { font-size: 14px; line-height: 1.55; font-weight: 400; color: #c3c6c9; }
.cg__expand-tags em { font-family: var(--f-body); font-size: 12px; letter-spacing: 0; text-transform: none; border: 0; padding: 0; color: #adb9c2; }
.cg__more { margin-top: 24px; }
.cg__more-line, .cg__more-dot { display: none; }
.cg__more-text { font-family: var(--f-body); font-size: 13px; text-transform: none; letter-spacing: 0; }
.clients__inner { grid-template-columns: 30% minmax(0, 1fr); min-height: 440px; }
.clients__left { padding: 56px var(--gutter); }
.clients__title, html:lang(sr) .clients__title { font-size: clamp(52px, 5vw, 76px); line-height: 1.06; font-weight: 400; letter-spacing: .005em; }
.clients__card { padding: 56px clamp(32px, 5vw, 80px); }
.clients__quote { font-size: clamp(20px, 2vw, 28px); font-weight: 400; line-height: 1.5; letter-spacing: -.015em; margin-bottom: 32px; }
.clients__quote::before { content: none; }
.clients__author-info strong { font-size: 16px; }
.clients__author-info span { font-family: var(--f-body); font-size: 13px; color: #a5a7aa; letter-spacing: 0; text-transform: none; }
.clients__nav-btn { border-color: var(--border-m); border-radius: 3px; }

/* Metrics and process are normal, readable content, without pinned scrolling. */
.proof { height: auto; background: none; padding: 48px var(--gutter); border-bottom: 1px solid var(--border); }
.proof__sticky { position: static; height: auto; display: grid; gap: 0; overflow: visible; background: none; }
.proof__row, .proof__row.active { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  opacity: 1; transform: none; pointer-events: auto; padding: 0; background: none; gap: 0; grid-template-rows: none; }
.proof__cell, .proof__row.active .proof__cell { height: auto; min-width: 0; opacity: 1; transform: none;
  padding: 32px 24px; border: 0; border-bottom: 1px solid var(--border); background: none; box-shadow: none; }
.proof__eyebrow { font-family: var(--f-body); font-size: 13px; text-transform: none; letter-spacing: 0; color: #bcc1c5; opacity: 1; margin-bottom: 20px; }
.proof__number { font-size: clamp(48px, 5.4vw, 80px); line-height: 1.05; letter-spacing: .005em; }
.proof__label { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); letter-spacing: 0; }
.proof__rows-indicator, .proof__progress, .proof__sticky::before, .proof__sticky::after { display: none; }
.process { height: auto; padding: var(--section-space) var(--gutter); border-bottom: 1px solid var(--border); }
.process__sticky { position: static; height: auto; display: block; overflow: visible; border: 0; }
.process__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: auto; height: auto; transform: none; will-change: auto; }
.process__panel { display: flex; flex-direction: column; width: auto; height: auto; padding: 0 32px; border-color: var(--border); }
.process__panel:first-child { padding-left: 0; }
.process__panel:last-child { padding-right: 0; }
.process__content { max-width: none; justify-content: flex-start; height: 100%; padding: 0; }
.process__label { margin-bottom: 24px; }
.process__title, html:lang(sr) .process__title { font-size: clamp(36px, 3.8vw, 56px); line-height: 1.06; letter-spacing: .005em; margin-bottom: 24px; }
.process__body { font-size: 16px; line-height: 1.65; color: #b5b6b8; max-width: 38ch; margin-bottom: 28px; }
.process__detail { margin-top: auto; }
.process__detail span { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; line-height: 1.5; color: #b5b6b8; text-transform: none; }
.process__index { padding: 28px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .05em; }

/* Contact and footer */
.contact__body { gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact__info-row { grid-template-columns: 72px minmax(0, 1fr) 18px; gap: 16px; padding-block: 24px; overflow: visible; }
.contact__info-row:not(.contact__info-row--plain):hover { padding-left: 0; }
.contact__info-label, .form-field label { font-family: var(--f-body); font-size: 14px;
  font-weight: 500; letter-spacing: 0; text-transform: none; color: #bdc1c5; opacity: 1; }
.contact__info-value { font-size: 16px; overflow-wrap: anywhere; }
.contact__info-arrow { opacity: .75; }
.contact__form-head { padding: 0 0 28px; border-top: 0; gap: 12px; }
.contact__form-intro { color: #bfc3c6; font-size: 16px; line-height: 1.6; }
.form-field { padding-top: 24px; border-top: 0; }
.form-field label { margin-bottom: 8px; }
.form-field input, .form-field textarea, .custom-select__trigger {
  font-size: 16px; line-height: 1.5; padding: 14px 16px; min-height: 52px;
  background: #101214; border: 1px solid #33383c; border-radius: 3px; }
.form-field textarea { min-height: 136px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #92999f; opacity: 1; }
.form-field input:focus, .form-field textarea:focus, .custom-select.open .custom-select__trigger,
.form-field--select:focus-within .custom-select__trigger { border-color: var(--accent); }
.custom-select__trigger { padding-right: 40px; }
.custom-select__value { color: #92999f; }
.form-field--select::after { right: 18px; bottom: 23px; }
.custom-select__menu { visibility: hidden; border-radius: 3px; background: #33383c; top: calc(100% + 6px); }
.custom-select.open .custom-select__menu { visibility: visible; }
.custom-select__option { font-size: 16px; line-height: 1.5; padding: 12px 16px; background: #15191c; color: #e0e3e6; }
.custom-select__option:hover, .custom-select__option.active { padding-left: 16px; background: #243238; }
.footer { padding: 48px var(--gutter) 32px; }
.footer__logo { font-size: 32px; letter-spacing: .015em; line-height: 1.15; }
.footer__tagline, .footer__bottom span { font-family: var(--f-body); font-size: 13px; line-height: 1.6; letter-spacing: 0; color: var(--muted); opacity: 1; }
.footer__nav { gap: 20px; }
.footer__nav a { font-size: 14px; text-transform: none; letter-spacing: 0; color: #c0c4c8; }
.legal-top__nav a { font-size: 12px; opacity: 1; color: #bfc3c6; }
.legal-block p { font-size: 16px; }

@media (max-width: 1100px) {
  .service-row { grid-template-columns: 36px minmax(0, 1fr); gap: 24px; }
  .service-row__tags { display: none; }
  .cg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(320px, auto); }
  .process__panel { padding-inline: 24px; }
  .contact__info-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 6px 16px; }
  .contact__info-label { grid-column: 1; }
  .contact__info-value { grid-column: 1; }
  .contact__info-arrow { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 767px) {
  :root { --nav-h: 72px; --gutter: 24px; }
  .nav { padding-inline: var(--gutter); }
  .nav__brand { gap: 12px; }
  .nav__wordmark { padding-left: 12px; font-size: 11px; }
  .impact { padding: calc(var(--nav-h) + 56px) var(--gutter) 48px; gap: 28px; justify-content: center; min-height: 100svh; }
  .impact::before { background: linear-gradient(90deg, rgba(5, 10, 15, .66), rgba(5, 10, 15, .3)),
    linear-gradient(0deg, #0b0b0b, rgba(7,11,15,.12) 62%, rgba(7,11,15,.25)); }
  .impact__video, .impact { object-position: 43% center; background-position: 43% center; }
  .impact__headline-wrap { gap: 24px; }
  .impact__primary-row { font-size: clamp(52px, 16.2vw, 112px); }
  .impact__char-group, .impact__char-group--dim, .impact__char-group--ghost { font-size: inherit; }
  .impact__secondary { padding: 0; font-size: 17px; max-width: 28ch; }
  .impact__sub-wrap { align-items: stretch; gap: 24px; padding-top: 0; }
  .impact__cta { width: fit-content; min-width: 208px; }
  .impact__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; width: 100%; text-align: left; font-size: 12px; }
  .impact__badge { display: none; }
  .services__header, .cg__header, .contact__header { flex-direction: column; gap: 20px; margin-bottom: 40px; }
  .services__title, .cg__title, .contact__title,
  html:lang(sr) .services__title, html:lang(sr) .cg__title, html:lang(sr) .contact__title {
    font-size: clamp(48px, 13.5vw, 80px); line-height: 1.06; text-align: left;
  }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stats__statement { max-width: none; }
  .stats__statement p { font-size: 24px; }
  .stats__visual-frame, .stats__leaflet { min-height: 300px; height: 300px; }
  .stats__visual-chip { font-size: 12px; padding: 6px; }
  .stats__visual-chip--tl { top: 16px; left: 12px; }
  .stats__visual-chip--tr { top: 16px; right: 12px; }
  .stats__visual-chip--bl { left: 12px; bottom: 36px; }
  .service-row { grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .service-row:hover { padding-left: 0; }
  .service-row__title { font-size: clamp(28px, 7.5vw, 42px); line-height: 1.15; }
  .service-row__body { font-size: 16px; line-height: 1.6; }
  .cg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(210px, auto); }
  .cg__grid .cg__cell-content, .cg__grid:not(.has-hover) .cg__cell-content,
  .cg__grid.has-hover .cg__cell:not(.active) .cg__cell-content { padding: 18px 12px; }
  .cg__grid.has-hover .cg__cell.active { grid-column: 1 / -1; min-height: 310px; }
  .cg__expand { padding: 24px; overflow: visible; }
  .cg__expand-name { font-size: 28px; }
  .cg__expand-stat, .cg__expand-desc { font-size: 16px; }
  .cg__expand-tags em { font-size: 12px; }
  .cg__grid .cg__name, .cg__grid:not(.has-hover) .cg__name,
  .cg__grid.has-hover .cg__cell:not(.active) .cg__name { font-size: 20px; }
  .cg__grid .cg__logo, .cg__grid:not(.has-hover) .cg__logo { max-width: 100%; }
  .clients__inner { grid-template-columns: 1fr; min-height: 0; }
  .clients__left { padding: 48px var(--gutter) 32px; }
  .clients__title, html:lang(sr) .clients__title { font-size: 56px; display: block; }
  .clients__title span, .clients__title em { display: inline; }
  .clients__title span::after, .clients__title em::after { content: ' '; }
  .clients__card { padding: 36px var(--gutter) 48px; }
  .clients__quote { font-size: 20px; }
  .proof { padding-block: 24px; }
  .proof__row, .proof__row.active { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__cell { padding: 24px 8px; }
  .proof__row.active .proof__cell { padding: 24px 8px; }
  .proof__eyebrow { font-size: 12px; }
  .proof__number { font-size: 54px; }
  .process__track { grid-template-columns: 1fr; }
  .process__panel, .process__panel:first-child, .process__panel:last-child { padding: 32px 0; border: 0; border-bottom: 1px solid var(--border); }
  .process__panel:first-child { padding-top: 0; }
  .process__panel:last-child { border-bottom: 0; padding-bottom: 0; }
  .process__title, html:lang(sr) .process__title { font-size: 44px; }
  .process__body { max-width: none; font-size: 16px; }
  .contact__body { grid-template-columns: 1fr; gap: 48px; }
  .contact__submit { width: 100%; }
  .footer__top { align-items: start; }
  .footer__bottom { gap: 16px; }
}

/* Desktop uses a permanent vertical rail; mobile retains the simple top bar. */
@media (min-width: 768px) {
  :root { --rail-width: 96px; }
  body:has(.nav) { padding-left: var(--rail-width); }
  html:has(.nav) { scroll-padding-top: 32px; }
  .nav, .nav.scrolled {
    width: var(--rail-width); height: 100dvh; min-height: 560px;
    top: 0; bottom: 0; right: auto; padding: 28px 0 20px;
    flex-direction: column; justify-content: flex-start; align-items: center;
    border-bottom: 0; border-right: 1px solid rgba(242, 237, 230, .16);
    background: rgba(10, 13, 16, .92); backdrop-filter: blur(18px);
  }
  .nav__left { flex: 0 0 auto; }
  .nav__brand { flex-direction: column; gap: 12px; text-align: center; }
  .nav__logo { font-size: 36px; letter-spacing: .02em; }
  .nav__wordmark { padding: 0; border: 0; font-size: 10px; line-height: 1.4; letter-spacing: .01em; }
  .nav__right { flex: 1; min-height: 0; flex-direction: column; justify-content: center;
    width: 100%; gap: clamp(20px, 3.5vh, 40px); padding-top: clamp(32px, 8vh, 88px); }
  .nav__link { writing-mode: vertical-rl; padding: 0; font-size: 14px; letter-spacing: .02em; }
  .nav__link::after { width: 1px; height: 100%; top: 0; bottom: auto; left: -10px;
    transform: scaleY(0); transform-origin: top; }
  .nav__link:hover::after, .nav__link.active::after { transform: scaleY(1); }
  .nav__link--cta { min-height: 0; min-width: 44px; padding: 18px 11px; gap: 18px;
    color: var(--accent); background: transparent; border-color: rgba(0, 224, 255, .4); }
  .nav__link--cta:hover { color: #081216; background: var(--accent); border-color: var(--accent); }
  .nav__link-mark { display: none; }
  .lang-switch { margin-top: auto; padding-top: 28px; gap: 0; }
  .lang-switch__btn { min-width: 34px; min-height: 34px; font-size: 11px; }
  .impact { min-height: 100svh; padding: 80px var(--gutter) 64px; gap: 28px;
    align-items: center; justify-content: center; background-position: center; }
  .impact::before { background:
    linear-gradient(90deg, rgba(5, 10, 15, .48), rgba(5, 10, 15, .42) 50%, rgba(5, 10, 15, .48)),
    linear-gradient(0deg, #0b0b0b, rgba(7, 11, 15, .2) 40%, rgba(7, 11, 15, .08) 70%, rgba(7, 11, 15, .4)); }
  .impact__headline-wrap { width: 100%; align-items: center; gap: 24px; }
  .impact__primary { width: 100%; align-items: center; text-align: center; }
  .impact__primary-row, .impact__primary-row--right { justify-content: center; font-size: clamp(72px, 8.7vw, 136px); }
  .impact__secondary { text-align: center; max-width: 40ch; }
  .impact__sub-wrap { flex-direction: column; align-items: center; width: 100%; gap: 28px; }
  .impact__cta { min-width: 220px; justify-content: space-between; }
  .impact__meta { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 8px 24px; }
  .impact__badge { display: none; }
}

@media (min-width: 768px) and (max-height: 700px) {
  .nav { padding-top: 20px; padding-bottom: 16px; }
  .nav__wordmark { display: none; }
  .nav__right { padding-top: 32px; gap: 24px; }
  .impact { padding-block: 48px; gap: 20px; }
  .impact__primary-row { font-size: clamp(72px, 15vh, 104px); }
  .impact__headline-wrap { gap: 16px; }
  .impact__sub-wrap { gap: 20px; }
}

/* One atmospheric surface underneath the entire story. */
body:has(.site-atmosphere) { isolation: isolate; background: #070d15; }
.site-atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #070d15; }
.site-atmosphere::before {
  content: ''; position: absolute; inset: -25%;
  background:
    radial-gradient(ellipse at 16% 28%, rgba(23, 74, 111, .3), transparent 48%),
    radial-gradient(ellipse at 88% 75%, rgba(75, 41, 122, .22), transparent 48%),
    radial-gradient(ellipse at 64% 18%, rgba(16, 88, 100, .18), transparent 45%),
    linear-gradient(135deg, #070d15, #0c1420 48%, #090e19);
  transform: translate3d(0, calc(var(--journey, 0) * -12vh), 0) rotate(calc(var(--journey, 0) * 12deg));
  transition: transform 1.4s ease-out;
}
.site-atmosphere__light { position: absolute; top: 0; left: 0; width: 1px; height: 1px;
  transform: translate3d(65vw, 35vh, 0); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.site-atmosphere__light::before { content: ''; position: absolute; width: 90vmax; height: 90vmax;
  left: -45vmax; top: -45vmax;
  background: radial-gradient(ellipse, rgba(22, 112, 150, .15), rgba(57, 52, 125, .07) 35%, transparent 65%);
}
main, .footer { position: relative; }
.impact { background: none; }
.impact::after { content: ''; position: absolute; inset: 0; z-index: -3;
  background: url('../assets/video/hero-poster.jpg') center / cover no-repeat;
  mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%); pointer-events: none; }
.impact__video { mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%); filter: brightness(.82); }
.impact::after { filter: brightness(.82); }
.impact::before { background: linear-gradient(90deg, rgba(4, 10, 18, .4), rgba(4, 10, 18, .34) 50%, rgba(4, 10, 18, .4));
  mask-image: linear-gradient(#000 0%, #000 50%, transparent 100%); }
.stats, .services, .cg, .clients, .clients__inner, .proof, .process, .contact, .footer { border: 0; background: transparent; }
.stats { padding-top: clamp(40px, 5vw, 80px); }
.services__list, .contact__info, .contact__form { background: transparent; }
.service-row, .contact__info-row, .proof__cell, .proof__row.active .proof__cell,
.clients__left, .process__panel, .process__panel:first-child, .process__panel:last-child,
.footer__top { border-color: rgba(203, 226, 246, .12); }
.cg__grid { background: rgba(203, 226, 246, .12); border-color: rgba(203, 226, 246, .1); }
.cg__cell, .cg__grid.has-hover .cg__cell:not(.active) { background: rgba(10, 18, 29, .58); }
.cg__expand { background: rgba(16, 28, 42, .97); }
.stats__visual-frame { background: transparent; border: 0; }
.stats__visual-map { mask-image: radial-gradient(ellipse 66% 74% at center, #000 35%, rgba(0,0,0,.75) 66%, transparent 100%); }
.stats__map-attribution { background: #131b27; }
.form-field input, .form-field textarea, .custom-select__trigger { background: rgba(12, 23, 37, .55); border-color: rgba(174, 198, 220, .28); }
.custom-select__option { background: #121e2d; }
.custom-select__option:hover, .custom-select__option.active { background: #24384c; }
.nav, .nav.scrolled { background: rgba(6, 12, 21, .84); }
.nav__mobile { background: #0a1320; }
.back-to-top { background: rgba(10, 20, 33, .85); }
@media (max-width: 767px) {
  .impact::before { background: linear-gradient(90deg, rgba(4, 10, 18, .48), rgba(4, 10, 18, .2)); }
  .impact::after { background-position: 43% center; }
  .site-atmosphere__light { display: none; }
  .site-atmosphere::before { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .impact__video { display: none; }
  .impact__char-group, .impact__secondary, .impact__sub-wrap { opacity: 1; transform: none; }
}

/* Art direction: contrasting type scales and a shared geometric signature. */
:root {
  --muted: #aebdcb;
  --gutter: clamp(28px, 5.5vw, 112px);
  --section-space: clamp(64px, 6.2vw, 100px);
  --frost: #eff5fa;
  --control-cut: polygon(16px 0, 39% 0, calc(39% + 7px) 7px, 82% 7px, calc(82% + 7px) 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 62% 100%, calc(62% - 7px) calc(100% - 7px), 7px calc(100% - 7px), 0 calc(100% - 14px), 0 16px);
}
body { color: var(--frost); }
.impact__primary { width: min(100%, 800px); display: flex; gap: 0; text-align: left; align-items: stretch; }
.impact__composition-top { display: flex; align-items: center; justify-content: center; gap: 22px; padding-right: 130px; }
.impact__small, .impact__small:hover { font: 400 clamp(24px, 2.3vw, 34px)/1.1 var(--f-body); letter-spacing: -.04em; text-transform: lowercase; margin-top: -36px; }
.impact__brand, .impact__brand:hover { font: 400 clamp(120px, 13.4vw, 190px)/.82 var(--f-display); letter-spacing: -.028em; color: var(--frost); text-transform: uppercase; }
.impact__composition-bottom { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; margin: 8px 0 0 70px; gap: 10px; }
.impact__connector, .impact__connector:hover { font: 400 clamp(20px, 1.8vw, 26px)/1.08 var(--f-body); letter-spacing: -.035em; text-transform: lowercase; color: #d7e4ef; text-align: right; }
.impact__primary-row--right { position: relative; display: grid; place-items: center start; padding: 0; margin: 0; width: 100%; height: 1.2em; min-height: 1.2em; overflow: hidden; font-size: clamp(64px, 8.5vw, 122px); }
.impact__char-group--ghost, .impact__char-group--ghost.visible, .impact__char-group--ghost:hover,
.impact__word-slice { font: 400 1em/1 var(--f-display); letter-spacing: -.012em; color: transparent; -webkit-text-stroke: 0;
  background: linear-gradient(165deg, #f4f9fc 10%, #b4e3f4 38%, #7ed8f5 65%, #bbb8ff 100%); background-clip: text; -webkit-background-clip: text; }
.impact__char-group--ghost { grid-area: 1 / 1; }
.impact__word-slice { position: absolute; inset: 0; display: grid; place-items: center start; pointer-events: none; opacity: 0; white-space: nowrap; }
.impact__primary-row--right.is-splitting .impact__char-group--ghost { opacity: 0; }
.impact__primary-row--right.is-splitting .impact__word-slice { opacity: 1; }
.impact__headline-wrap { align-items: center; gap: 34px; }
.impact__secondary { font: 400 16px/1.65 var(--f-body); letter-spacing: -.015em; max-width: 40ch; color: #dbe6ef; text-align: center; }
.impact { gap: 26px; }
.impact__sub-wrap { gap: 0; }
.impact::before { background: radial-gradient(ellipse at 53% 43%, rgba(4, 10, 20, .58), rgba(4, 10, 20, .25) 68%); }

/* Faceted controls with a recessed edge and light travelling across the surface. */
.impact__cta, .contact__submit, .nav__link--cta,
.impact__cta:hover, .contact__submit:hover, .nav__link--cta:hover {
  position: relative; isolation: isolate; overflow: hidden; clip-path: var(--control-cut);
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  border: 0; border-radius: 0; color: #101c31; font: 600 14px/1.3 var(--f-body); letter-spacing: -.01em;
  background: linear-gradient(115deg, #bcf9f0 0%, #8cd8f4 29%, #bbb6ff 57%, #8edfff 82%, #bcf9f0 100%);
  background-size: 260% 100%; background-position: 0% 50%; box-shadow: none;
  transition: background-position .75s cubic-bezier(.16, 1, .3, 1), transform .2s, filter .2s;
}
.impact__cta, .contact__submit { min-width: 226px; min-height: 65px; padding: 20px 34px; }
.impact__cta::before, .contact__submit::before, .nav__link--cta::before {
  content: ''; display: block; position: absolute; inset: 1px; z-index: -1; pointer-events: none; clip-path: var(--control-cut);
  border: 0; background: linear-gradient(175deg, rgba(255,255,255,.52), transparent 38%, rgba(26,36,84,.13)); transform: none;
}
.impact__cta::after, .contact__submit::after, .nav__link--cta::after {
  content: ''; display: block; position: absolute; inset: -70%; width: auto; height: auto; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 43%, rgba(255,255,255,.75) 50%, transparent 57%);
  transform: translateX(-80%); transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}
.impact__cta:hover, .contact__submit:hover, .nav__link--cta:hover { background-position: 100% 50%; transform: translateY(-2px); }
.impact__cta:hover::after, .contact__submit:hover::after, .nav__link--cta:hover::after { transform: translateX(80%); }
.nav__link--cta.active::after { background: linear-gradient(115deg, transparent 43%, rgba(255,255,255,.75) 50%, transparent 57%); transform: translateX(-80%); }
.nav__link--cta.active:hover::after { transform: translateX(80%); }
.impact__cta:active, .contact__submit:active, .nav__link--cta:active { transform: scale(.97); }
.impact__cta:focus-visible, .contact__submit:focus-visible, .nav__link--cta:focus-visible { filter: brightness(1.3); background-position: 100% 50%; }
.contact__submit.ready { box-shadow: none; }

/* Section signatures: an open aperture, a precise label, and a cut terminal. */
.services__num, .cg__kicker, .clients__kicker, .contact__num, .contact__form-kicker, .process__eyebrow {
  display: inline-flex; width: fit-content; align-items: center; align-self: flex-start; gap: 11px;
  position: relative; padding: 0; margin: 0; min-height: 24px; color: #c7d9ec;
  font: 400 12px/1.5 var(--f-mono); letter-spacing: .11em; text-transform: uppercase; opacity: 1; white-space: nowrap;
}
.services__num::before, .cg__kicker::before, .clients__kicker::before, .contact__num::before, .contact__form-kicker::before, .process__eyebrow::before {
  content: ''; flex: 0 0 20px; width: 20px; height: 20px;
  background: linear-gradient(130deg, #c8f9ff, #6dcef4 46%, #a79af9);
  clip-path: polygon(28% 0, 100% 0, 100% 32%, 75% 32%, 75% 20%, 34% 20%, 20% 36%, 20% 80%, 64% 80%, 80% 63%, 80% 47%, 100% 47%, 100% 72%, 72% 100%, 0 100%, 0 28%);
}
.services__num::after, .cg__kicker::after, .clients__kicker::after, .contact__num::after, .contact__form-kicker::after, .process__eyebrow::after {
  content: ''; width: 6px; height: 6px; margin-left: 5px; border-top: 1px solid #a7a4d8; border-right: 1px solid #a7a4d8; opacity: .75;
}
.services__title, .cg__title, .clients__title, .contact__title,
html:lang(sr) .services__title, html:lang(sr) .cg__title, html:lang(sr) .clients__title, html:lang(sr) .contact__title {
  font-family: var(--f-body); font-size: clamp(30px, 3.3vw, 48px); line-height: 1.1; font-weight: 400; letter-spacing: -.045em; text-align: left; text-transform: none;
}
.services__title em, .cg__title em, .clients__title em, .contact__title em,
html:lang(sr) .services__title em, html:lang(sr) .cg__title em, html:lang(sr) .clients__title em, html:lang(sr) .contact__title em {
  color: #dce9f5; font: 400 1.65em/.98 var(--f-display); letter-spacing: -.018em; -webkit-text-stroke: 0; text-transform: uppercase;
}
.services__header, .cg__header, .contact__header { flex-direction: column; gap: 26px; margin: 0; }

/* Agency introduction: text leads, the map sits within the same atmosphere. */
.stats { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 8%; align-items: center; padding-block: 40px var(--section-space); }
.stats__visual { order: 2; }
.stats__statement { order: 1; }
.stats__statement p { font: 400 clamp(22px, 2.1vw, 30px)/1.45 var(--f-body); letter-spacing: -.035em; color: #aebdcb; max-width: 31ch; }
.stats__statement em { color: #eaf5fd; }
.stats__visual-frame, .stats__leaflet { min-height: 300px; height: 300px; }
.stats__visual-chip { font: 400 11px/1.5 var(--f-mono); letter-spacing: .025em; }
.stats__map-attribution { font-size: 11px; background: #111e2b; }

/* Services read as a compact index, with the explanation always visible. */
.services { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: 0 8%; align-items: start; }
.services__header { position: sticky; top: 64px; }
.services__list { border: 0; }
.service-row { display: grid; grid-template-columns: 28px minmax(0, .9fr) minmax(0, 1fr); gap: 18px; padding: 26px 0; align-items: start; border-color: rgba(200,220,240,.14); }
.service-row:first-child { padding-top: 0; border-top: 0; }
.service-row__content { display: contents; }
.service-row__title, .service-row:hover .service-row__title { font: 400 clamp(20px, 1.7vw, 25px)/1.22 var(--f-body); letter-spacing: -.035em; }
.service-row__title br { display: none; }
.service-row__body { font-size: 14px; line-height: 1.7; color: #adbdcd; margin: 0; }
.service-row__num { color: #9bb4c9; font-size: 10px; padding-top: 4px; }
.service-row__tags, .service-row::before, .service-row::after, .services__system-line { display: none; }
.services__system { grid-column: 2; margin-top: 25px; gap: 0; }
.services__system-text { font-size: 13px; color: #aebdcb; max-width: 54ch; }

/* Current work is kept as a quiet, usable index until the new selection arrives. */
.cg__header { flex-direction: row; align-items: start; justify-content: space-between; margin-bottom: 38px; }
.cg__title { width: 56%; }
.cg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; align-items: start; gap: 0 40px; background: transparent; border: 0; }
.cg__cell { background: transparent; border-bottom: 1px solid rgba(193,217,240,.17); box-shadow: none; cursor: auto; }
.cg__grid:not(.has-hover) .cg__cell-content { position: relative; inset: auto; display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px;
  align-items: center; justify-content: start; gap: 22px; padding: 24px 0; list-style: none; cursor: pointer; }
.cg__cell-content::-webkit-details-marker { display: none; }
.cg__cell-content:focus-visible { outline-offset: -2px; }
.cg__grid:not(.has-hover) .cg__logo, .cg__cell:hover .cg__logo { position: static; width: 58px; height: 58px; max-width: 58px; max-height: 58px; object-fit: contain; opacity: .95; filter: grayscale(1) brightness(1.5); transform: none; }
.cg__grid:not(.has-hover) .cg__meta { position: static; display: flex; align-items: flex-start; text-align: left; gap: 6px; opacity: 1; transform: none; }
.cg__grid:not(.has-hover) .cg__name { font: 400 18px/1.25 var(--f-body); letter-spacing: -.03em; color: #edf5fb; }
.cg__grid:not(.has-hover) .cg__tags { font: 400 12px/1.5 var(--f-body); letter-spacing: 0; color: #a9bbcb; }
.cg__toggle { width: 20px; height: 20px; position: relative; }
.cg__toggle::before, .cg__toggle::after { content: ''; position: absolute; left: 4px; right: 4px; top: 9px; height: 1px; background: #9dcfe4; }
.cg__toggle::after { transform: rotate(90deg); transition: transform .25s; }
.cg__cell[open] .cg__toggle::after { transform: rotate(0); }
.cg__expand { position: static; inset: auto; padding: 0 24px 26px 86px; opacity: 1; transform: none; background: transparent; }
.cg__expand-name { display: none; }
.cg__expand-stat { color: #b9e6f6; font-size: 14px; }
.cg__expand-desc { color: #aebdcb; font-size: 14px; line-height: 1.7; }
.cg__expand-tags { margin-top: 18px; gap: 8px 14px; }
.cg__expand-tags em { color: #adc1d1; font-size: 11px; }
.cg__more { margin-top: 18px; }
.cg__more-text { font-size: 12px; color: #aebdcb; }

/* A quote and its source; results have a quieter, consistent scale. */
.clients { padding: var(--section-space) var(--gutter) 30px; }
.clients__inner { grid-template-columns: 32% minmax(0, 1fr); gap: 8%; min-height: 310px; }
.clients__left { padding: 0; border: 0; gap: 24px; justify-content: flex-start; }
.clients__title { margin: 0; }
.clients__nav { margin-top: 10px; }
.clients__nav-btn { width: 44px; height: 40px; border: 1px solid #526879; border-radius: 0; background: transparent; clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px); }
.clients__card { padding: 28px 0; }
.clients__quote { font: 400 clamp(20px, 2vw, 28px)/1.5 var(--f-body); color: #dfebf4; letter-spacing: -.035em; margin-bottom: 28px; }
.clients__author-info strong { font-size: 14px; }
.clients__author-info span { color: #aebdcb; font-size: 12px; }
.proof { padding: 20px var(--gutter) 50px; }
.proof__cell, .proof__row.active .proof__cell { padding: 24px 18px 24px 0; }
.proof__eyebrow { margin-bottom: 12px; font-size: 12px; }
.proof__number { font: 400 clamp(36px, 3.5vw, 50px)/1.1 var(--f-display); letter-spacing: 0; }
.proof__unit { font-size: .6em; }
.proof__label { font-size: 12px; color: #aebdcb; }

/* Process follows one reading path instead of three giant panels. */
.process__sticky { display: grid; grid-template-columns: 25% minmax(0, 1fr); gap: 8%; }
.process__eyebrow { margin-top: 4px; }
.process__track { grid-template-columns: 1fr; gap: 0; }
.process__panel, .process__panel:first-child, .process__panel:last-child { padding: 28px 0; border: 0; border-bottom: 1px solid rgba(193,217,240,.14); display: block; }
.process__panel:first-child { padding-top: 0; }
.process__panel:last-child { border-bottom: 0; }
.process__content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px 32px; }
.process__title, html:lang(sr) .process__title { grid-column: 1; grid-row: 1; font: 400 clamp(25px, 2.4vw, 34px)/1.12 var(--f-body); letter-spacing: -.04em; margin: 0; }
.process__body { grid-column: 2; grid-row: 1 / 3; font-size: 14px; line-height: 1.75; color: #adbdcd; margin: 0; max-width: none; }
.process__detail { grid-column: 1; gap: 4px; margin: 0; }
.process__detail span { font-size: 11px; line-height: 1.6; color: #adbdcd; border: 0; padding: 0; }
.process__index { position: absolute; left: -40px; top: 30px; padding: 0; font-size: 10px; color: #9eb3c9; writing-mode: vertical-rl; }
.process__panel:first-child .process__index { top: 2px; }

/* Contact is a single composition: heading and details beside the brief. */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 48px 10%; }
.contact__header { grid-column: 1; grid-row: 1; }
.contact__body { display: contents; }
.contact__info { grid-column: 1; grid-row: 2; align-self: start; }
.contact__form { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact__info-row { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
.contact__info-value { font-size: 14px; letter-spacing: -.015em; }
.contact__info-label { grid-column: 1; grid-row: 1; }
.contact__info-value { grid-column: 2; grid-row: 1; }
.contact__info-label, .form-field label { font-size: 12px; color: #b9ccdc; }
.contact__form-head { grid-column: 1 / -1; padding-bottom: 8px; gap: 20px; }
.contact__form-intro { font-size: 14px; color: #adbdcd; }
.form-field { min-width: 0; padding: 0; }
.form-field:has(#f-link), .form-field:has(#f-project), .form-field:has(#f-message) { grid-column: 1 / -1; }
.form-field input, .form-field textarea, .custom-select__trigger { min-height: 48px; padding: 12px 14px; font-size: 15px; border-radius: 0; border-color: rgba(165,193,216,.34); background: rgba(14,29,43,.45); }
.form-field textarea { min-height: 112px; }
.custom-select__option { font-size: 14px; }
.contact__submit { grid-column: 1 / -1; justify-self: start; margin-top: 6px; min-width: 220px; }
.form-error-banner, .form-success { grid-column: 1 / -1; }
.footer { padding-top: 40px; }
.footer__top { gap: 30px; padding-bottom: 32px; }
.footer__logo { font-family: var(--f-body); font-size: 23px; letter-spacing: -.04em; }
.footer__tagline { font-size: 12px; }
.footer__nav { gap: 14px 24px; }
.footer__nav a { font-size: 12px; }
.footer__bottom span { font-size: 11px; }
.back-to-top { padding: 9px; }
.back-to-top__label { display: none; }

@media (min-width: 768px) {
  :root { --rail-width: 64px; }
  body:has(.impact) { padding-left: 64px; }
  .nav, .nav.scrolled { width: 64px; padding-inline: 7px; }
  .nav__logo { font-size: 28px; }
  .nav__wordmark { display: none; }
  .nav__link { font-size: 12px; }
  .nav__link--cta { min-width: 38px; min-height: 150px; padding: 22px 10px; writing-mode: vertical-rl; font-size: 12px;
    --control-cut: polygon(0 12px,12px 0,100% 0,100% 35%,calc(100% - 5px) calc(35% + 5px),calc(100% - 5px) 72%,100% calc(72% + 5px),100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 65%,5px calc(65% - 5px),5px 30%,0 calc(30% - 5px)); }
  .impact { min-height: min(100svh, 980px); padding-block: 80px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .services { grid-template-columns: .6fr 1.4fr; gap: 0 6%; }
  .service-row { grid-template-columns: 24px minmax(0, 1fr); }
  .service-row__body { grid-column: 2; }
  .cg__grid { gap: 0 24px; }
  .cg__grid:not(.has-hover) .cg__cell-content { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 14px; }
  .cg__grid:not(.has-hover) .cg__logo { width: 42px; height: 42px; }
  .cg__expand { padding-left: 0; }
  .contact { gap: 40px 7%; }
  .contact__info-row { grid-template-columns: 1fr; gap: 5px; }
  .contact__info-value { grid-column: 1; grid-row: 2; }
  .process__sticky { grid-template-columns: 22% minmax(0, 1fr); }
}
@media (max-width: 767px) {
  :root { --gutter: 24px; --section-space: 64px; }
  .impact { min-height: 92svh; padding: 120px var(--gutter) 64px; align-items: center; gap: 26px; }
  .impact__headline-wrap { width: 100%; gap: 30px; align-items: center; }
  .impact__primary { width: min(100%, 430px); align-items: stretch; }
  .impact__composition-top { padding-right: 48px; gap: 14px; }
  .impact__small, .impact__small:hover { font-size: 21px; margin-top: -14px; }
  .impact__brand, .impact__brand:hover { font-size: clamp(104px, 27vw, 158px); }
  .impact__composition-bottom { grid-template-columns: 40px minmax(0, 1fr); margin: 6px 0 0; gap: 8px; }
  .impact__connector, .impact__connector:hover { font-size: 16px; }
  .impact__primary-row--right { font-size: clamp(44px, 14.3vw, 85px); place-items: center start; }
  .impact__secondary { font-size: 14px; max-width: 29ch; }
  .impact__sub-wrap { align-items: center; }
  .impact__cta { min-width: 218px; min-height: 62px; width: auto; }
  .stats { display: flex; flex-direction: column; gap: 28px; padding-top: 28px; }
  .stats__statement, .stats__visual { width: 100%; }
  .stats__statement p { font-size: 23px; max-width: 32ch; }
  .stats__visual-frame, .stats__leaflet { height: 240px; min-height: 240px; }
  .services { display: block; }
  .services__header { position: static; margin-bottom: 34px; }
  .services__title, .cg__title, .clients__title, .contact__title,
  html:lang(sr) .services__title, html:lang(sr) .cg__title, html:lang(sr) .clients__title, html:lang(sr) .contact__title { font-size: 32px; }
  .service-row { grid-template-columns: 24px minmax(0, 1fr); gap: 12px 16px; padding-block: 23px; }
  .service-row__title, .service-row:hover .service-row__title { font-size: 23px; }
  .service-row__body { grid-column: 2; font-size: 14px; }
  .services__system { margin-top: 24px; }
  .services__num, .cg__kicker, .clients__kicker, .contact__num, .contact__form-kicker, .process__eyebrow { font-size: 11px; letter-spacing: .09em; }
  .cg__header { flex-direction: column; gap: 25px; margin-bottom: 24px; }
  .cg__title { width: 100%; }
  .cg__grid { grid-template-columns: 1fr; gap: 0; }
  .cg__grid:not(.has-hover) .cg__cell-content { grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 16px; padding-block: 21px; }
  .cg__grid:not(.has-hover) .cg__logo { width: 46px; height: 46px; }
  .cg__grid:not(.has-hover) .cg__name { font-size: 17px; }
  .cg__grid:not(.has-hover) .cg__tags { font-size: 11px; }
  .cg__expand { padding: 0 0 24px 64px; }
  .clients__inner { grid-template-columns: 1fr; min-height: 0; gap: 16px; }
  .clients__left { gap: 22px; display: grid; grid-template-columns: 1fr auto; }
  .clients__kicker { grid-column: 1 / -1; }
  .clients__title { grid-column: 1; }
  .clients__nav { grid-column: 2; align-self: end; }
  .clients__stage { min-height: 310px; }
  .clients__card { padding: 22px 0; }
  .clients__quote { font-size: 20px; }
  .proof { padding-block: 16px 24px; }
  .proof__row, .proof__row.active { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__cell, .proof__row.active .proof__cell { padding: 20px 12px 20px 0; }
  .proof__number { font-size: 38px; }
  .proof__eyebrow, .proof__label { font-size: 11px; }
  .process__sticky { grid-template-columns: 1fr; gap: 34px; }
  .process__track { padding-left: 24px; }
  .process__content { grid-template-columns: 1fr; gap: 18px; }
  .process__title, html:lang(sr) .process__title { font-size: 28px; }
  .process__body { grid-column: 1; grid-row: 2; }
  .process__detail { grid-row: 3; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
  .process__index { left: -25px; }
  .contact { display: flex; flex-direction: column; gap: 32px; }
  .contact__header { gap: 25px; }
  .contact__info, .contact__form { width: 100%; }
  .contact__info-row { grid-template-columns: 72px minmax(0, 1fr); padding-block: 15px; }
  .contact__info-value { grid-column: 2; grid-row: 1; }
  .contact__form { gap: 18px 12px; margin-top: 8px; }
  .form-field input, .form-field textarea, .custom-select__trigger { font-size: 16px; padding: 12px; }
  .contact__submit { width: auto; min-width: 218px; }
  .footer__top { flex-direction: column; align-items: start; }
  .footer__nav { justify-content: flex-start; }
  .footer__bottom { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .impact__word-slice { display: none; }
  .impact__cta:hover, .contact__submit:hover, .nav__link--cta:hover { transform: none; }
}

/* Scroll is the pacing: each scene opens, then stays available for rereading. */
[data-story] {
  opacity: 0; transform: translate3d(0, 32px, 0); filter: blur(3px);
  transition: opacity .8s ease, transform 1.05s cubic-bezier(.16, 1, .3, 1), filter .85s ease;
  transition-delay: var(--story-delay, 0ms);
}
[data-story="marker"] { transform: translate3d(-18px, 0, 0); filter: none; }
[data-story="title"] { clip-path: none;
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), opacity .8s, filter .8s;
  transition-delay: 80ms; }
[data-story="scene"] { transform: translate3d(0, 30px, 0) scale(.94); }
[data-story].story-visible { opacity: 1; transform: none; filter: none; }
[data-story="title"].story-visible { clip-path: none; animation: story-title-open 1.2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes story-title-open {
  from { clip-path: polygon(-10% -10%,-10% -10%,0 120%,-10% 120%); }
  to { clip-path: polygon(-10% -10%,120% -10%,110% 120%,-10% 120%); }
}
[data-story]:focus-within { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
.site-atmosphere::before { filter: hue-rotate(calc(var(--journey, 0) * 34deg)); transition: transform 1.4s ease-out, filter 1.4s ease-out; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .impact__headline-wrap { transform: translate3d(0, calc(var(--hero-exit, 0) * 90px), 0) scale(calc(1 - var(--hero-exit, 0) * .08));
    opacity: calc(1 - var(--hero-exit, 0) * .9); transform-origin: center; }
  .impact__video { object-position: center calc(50% + var(--hero-exit, 0) * 12%); }
}
@media (max-width: 767px) {
  [data-story] { filter: none; transform: translate3d(0, 20px, 0); transition-duration: .7s; }
  [data-story="title"] { clip-path: none; }
  [data-story="title"].story-visible { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-story] { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
  .site-atmosphere::before { filter: none; }
}

/* Utility controls use the same geometry at a smaller, quieter scale. */
.lang-switch { gap: 5px; }
.lang-switch__btn, .lang-switch--mobile .lang-switch__btn {
  position: relative; min-width: 38px; min-height: 34px; padding: 8px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .015em; color: #b9cadb;
  border: 0; border-radius: 0; background: rgba(168,196,225,.07);
  clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  transition: color .2s, background .3s, filter .2s;
}
.lang-switch__btn.active, .lang-switch--mobile .lang-switch__btn.active {
  background: linear-gradient(125deg, #b9eeef, #97cdeb 55%, #b3aff0); color: #152338;
}
.lang-switch__btn:hover { background: #34475c; color: #fff; }
.lang-switch__btn.active:hover { background: linear-gradient(125deg, #dbfcfa, #a9e4fa 55%, #c8c1ff); color: #152338; }
.lang-switch__btn:focus-visible { filter: brightness(1.35); outline: 2px solid #d4f6ff; outline-offset: -2px; }
.back-to-top, .back-to-top:hover {
  width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 0; color: #152338;
  background: linear-gradient(130deg, #c1f3f2, #97d5f1 45%, #b4b0f2); background-size: 180% 100%;
  clip-path: polygon(11px 0,100% 0,100% calc(100% - 11px),calc(100% - 11px) 100%,0 100%,0 11px);
  box-shadow: none; right: 24px; bottom: 24px;
  transition: opacity .3s, transform .3s, background-position .4s, filter .2s;
}
.back-to-top:hover { background-position: 100% 50%; }
.back-to-top:focus-visible { filter: brightness(1.3); outline: 2px solid #fff; outline-offset: -3px; }
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top__label { display: none; }
.nav__mobile.open { background: #0a1320; }
body:has(.nav__mobile.open) .back-to-top { visibility: hidden; pointer-events: none; }
.cg__cell[open] .cg__expand { animation: work-unfold .5s cubic-bezier(.16,1,.3,1); }
@keyframes work-unfold { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) {
  .nav .lang-switch { flex-direction: column; padding-top: 16px; }
}
@media (max-width: 767px) {
  .lang-switch--mobile { gap: 10px; }
  .lang-switch--mobile .lang-switch__btn { min-width: 48px; min-height: 44px; font-size: 12px; }
  .back-to-top { width: 42px; height: 42px; right: 16px; bottom: 16px; }
}

/* Supporting pages share the same surface and navigation, at a reading scale. */
.legal-page { min-height: 100svh; }
.legal-top { background: rgba(6,12,21,.86); backdrop-filter: blur(18px); border-color: rgba(203,226,246,.14); z-index: 100; }
.legal-top__brand { display: flex; align-items: center; gap: 12px; text-transform: none; letter-spacing: 0; }
.legal-top__wordmark { font: 400 11px/1.3 var(--f-body); }
.legal-top__nav a { font: 400 12px/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: #bfd1df; }
.legal-top__nav a:hover { color: #d0f0ff; }
.legal-main { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 7vw, 104px) var(--gutter) 80px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 9%; align-items: start; min-height: 70svh; }
.legal-hero { display: flex; flex-direction: column; gap: 28px; padding: 0; border: 0; align-items: start; position: sticky; top: 64px; }
.legal-hero h1 { font: 400 clamp(32px, 3.5vw, 48px)/1.12 var(--f-body); letter-spacing: -.045em; text-wrap: initial; }
.legal-hero h1 em { display: inline-block; font: 400 clamp(56px, 6vw, 84px)/1 var(--f-display); letter-spacing: -.015em; text-transform: uppercase; color: #d5e9f7; -webkit-text-stroke: 0; }
.legal-hero p { color: #aebdcb; font-size: 15px; line-height: 1.7; max-width: 34ch; }
.legal-content { display: block; padding-top: 54px; }
.legal-block { max-width: 64ch; }
.legal-block h2 { font: 500 20px/1.3 var(--f-body); letter-spacing: -.025em; text-transform: none; color: #e5f1fa; margin: 36px 0 12px; }
.legal-block h2:first-child { margin-top: 0; }
.legal-block p { font-size: 15px; line-height: 1.8; color: #b8c8d6; margin-bottom: 18px; overflow-wrap: anywhere; }
.legal-block p:first-child { margin-top: 0; }
.legal-block a { color: #d1ecfa; border-color: rgba(160,213,240,.4); }
.legal-block strong { font-weight: 500; color: #e6f4fd; }
.legal-page .footer { max-width: 1280px; margin-inline: auto; }
.legal-language { padding: 0; margin: 0; }
@media (min-width: 768px) {
  .legal-page { padding-left: 64px; }
  .legal-top { position: fixed; inset: 0 auto 0 0; width: 64px; min-height: 100svh; padding: 28px 7px 20px;
    flex-direction: column; justify-content: flex-start; border: 0; border-right: 1px solid rgba(203,226,246,.14); }
  .legal-top__wordmark { display: none; }
  .legal-top__nav { flex-direction: column; gap: 34px; margin-top: 78px; }
  .legal-top__nav a { writing-mode: vertical-rl; }
  .legal-language { flex-direction: column; margin-top: auto; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .legal-main { grid-template-columns: 1fr; gap: 48px; max-width: 840px; }
  .legal-hero { position: static; }
  .legal-hero p { max-width: 48ch; }
  .legal-content { padding-top: 0; }
}
@media (max-width: 767px) {
  .legal-top { position: relative; padding: 18px 24px; min-height: 72px; flex-wrap: wrap; gap: 20px; }
  .legal-top__brand { order: 1; }
  .legal-language { order: 2; margin-left: auto; gap: 5px; }
  .legal-language .lang-switch__btn { min-width: 34px; min-height: 34px; font-size: 10px; }
  .legal-top__nav { order: 3; width: 100%; gap: 24px; }
  .legal-top__nav a { font-size: 12px; }
  .legal-main { display: block; padding: 48px 24px 54px; min-height: 60svh; }
  .legal-hero { position: static; gap: 24px; }
  .legal-hero h1 { font-size: 32px; }
  .legal-hero h1 em { font-size: clamp(46px, 14vw, 72px); }
  .legal-hero p { font-size: 14px; max-width: 36ch; }
  .legal-content { padding-top: 38px; }
  .legal-block h2 { font-size: 20px; margin-top: 30px; }
  .legal-block p { font-size: 15px; }
}

/* The brief is a recessed instrument panel; its fields remain familiar to use. */
.contact__form { position: relative; isolation: isolate; padding: 32px; gap: 22px 18px;
  --panel-cut: polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,18px 100%,0 calc(100% - 18px)); }
.contact__header { justify-content: flex-start; align-self: start; }
.contact__form::before, .contact__form::after { content: ''; display: block; position: absolute; pointer-events: none; clip-path: var(--panel-cut); border: 0; }
.contact__form::before { inset: 0; z-index: -2; background: linear-gradient(135deg,rgba(151,219,245,.6),rgba(178,174,240,.16) 42%,rgba(175,201,238,.34)); }
.contact__form::after { inset: 1px; z-index: -1; background: radial-gradient(ellipse at 6% 0,rgba(40,78,100,.34),transparent 62%),linear-gradient(145deg,#101f30,#15192a 75%); }
.contact__form-head { gap: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(180,203,225,.15); }
.contact__form-intro { font-size: 15px; line-height: 1.65; letter-spacing: -.02em; color: #bacbda; max-width: 38ch; }
.form-field label { font-size: 12px; line-height: 1.4; font-weight: 500; color: #c6d8e8; margin-bottom: 10px; }
.form-field input, .form-field textarea, .custom-select__trigger {
  background: rgba(5,13,25,.36); border: 1px solid rgba(163,190,218,.25);
  padding: 14px 15px; min-height: 50px; color: #edf5fa; font-weight: 400; letter-spacing: -.015em;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-field input::placeholder, .form-field textarea::placeholder, .custom-select__value { color: #9fb2c4; }
.form-field input:hover, .form-field textarea:hover, .custom-select__trigger:hover { border-color: rgba(165,218,244,.55); }
.form-field input:focus, .form-field textarea:focus, .custom-select.open .custom-select__trigger {
  background: rgba(19,39,56,.8); border-color: #9cdaf1; box-shadow: inset 3px 0 0 #96d3ee; outline: none;
}
.custom-select__trigger { padding-right: 44px; }
.custom-select.selected .custom-select__value { color: #edf5fa; }
.custom-select__menu { background: #273c52; border: 1px solid #536b84; border-radius: 0; z-index: 20; box-shadow: 0 18px 48px rgba(0,0,0,.35); }
.custom-select__option { padding: 13px 15px; background: #132337; color: #dbe9f4; }
.custom-select__option:hover, .custom-select__option.active, .custom-select__option:focus-visible { background: #2b435c; color: #e6f6ff; padding-left: 15px; }
.form-field textarea { min-height: 132px; }
.contact__submit { margin-top: 2px; min-width: 214px; }
.contact__submit[disabled] { opacity: .75; filter: saturate(.5); cursor: wait; }
.form-field input.error, .form-field textarea.error { border-color: #e89ca8; box-shadow: inset 3px 0 0 #e89ca8; }
.form-success, .form-error-banner { font: 400 14px/1.65 var(--f-body); letter-spacing: 0; padding: 16px; border: 1px solid rgba(172,209,233,.3); background: rgba(27,61,77,.5); color: #d8f6ee; }
.form-error-banner { color: #ffe0e4; border-color: rgba(224,153,169,.4); background: rgba(83,35,54,.4); }

/* The closing signature belongs to the same world as the opening composition. */
.footer { position: relative; padding-top: 70px; padding-bottom: 28px; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 28% 100%, rgba(44,112,148,.15), transparent 64%); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; border: 0; padding: 0 0 42px; }
.footer__logo-wrap { gap: 18px; }
.footer__logo { display: flex; flex-direction: column; align-items: start; gap: 1px; font-family: var(--f-display); line-height: .86; letter-spacing: -.025em; }
.footer__logo-first { font: 400 clamp(24px, 2.7vw, 40px)/1 var(--f-body); letter-spacing: -.06em; text-transform: lowercase; padding-left: 3px; }
.footer__logo-second { font: 400 clamp(62px, 7.6vw, 110px)/.95 var(--f-display); letter-spacing: -.025em; text-transform: uppercase;
  color: transparent; background: linear-gradient(110deg,#d1eaf2,#a3cddd 38%,#b7b4df 90%); background-clip: text; -webkit-background-clip: text; }
.footer__tagline { max-width: 34ch; margin-top: 0; font-size: 12px; color: #a9bdce; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 17px 50px; justify-content: start; align-items: start; padding-bottom: 4px; }
.footer__nav a { position: relative; font: 400 13px/1.3 var(--f-body); color: #bdd0df; letter-spacing: -.01em; text-transform: none; padding-left: 13px; }
.footer__nav a::before { content: ''; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border: 1px solid #91b7d0; transform: rotate(-45deg); transition: background .25s; }
.footer__nav a:hover { color: #e6f7ff; }
.footer__nav a:hover::before { background: #a5e0f3; }
.footer__bottom { display: flex; align-items: start; justify-content: space-between; gap: 30px;
  padding-top: 24px; border-top: 1px solid rgba(183,210,232,.16); }
.footer__bottom span { font: 400 11px/1.6 var(--f-body); color: #9fb4c7; letter-spacing: .005em; }
.footer__bottom span:last-child { max-width: 44ch; text-align: right; }
@media (max-width: 1100px) {
  .contact__form { padding: 26px; }
  .footer__nav { column-gap: 30px; }
}
@media (max-width: 767px) {
  .contact__form { padding: 25px 20px; display: flex; flex-direction: column; gap: 23px; }
  .contact__form-head { padding-bottom: 20px; gap: 20px; }
  .contact__form-intro { font-size: 14px; }
  .form-field { width: 100%; }
  .form-field input, .form-field textarea, .custom-select__trigger { font-size: 16px; }
  .contact__submit { align-self: flex-start; min-width: 210px; }
  .footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 28px; }
  .footer__logo-first { font-size: 25px; }
  .footer__logo-second { font-size: clamp(60px, 16vw, 100px); }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
  .footer__nav a { padding-left: 10px; font-size: 12px; }
  .footer__bottom { flex-direction: column; gap: 12px; padding-top: 20px; }
  .footer__bottom span:last-child { text-align: left; }
}
