/* self-hosted from Google Fonts (OFL): Hanken Grotesk, Fragment Mono; latin + latin-ext */
/* latin-ext */
@font-face {
  font-family: 'Fragment Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fragment-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fragment Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fragment-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/hanken-grotesk-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/hanken-grotesk-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/hanken-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f0ef;
  --bg-2: #ebe7e5;
  --ink: #1b1a1a;
  --soft: #5b5756;
  --hint: #676160;
  --line: #d3cdcb;
  --dash: #b4adab;
  --lav: #cfd0f3;
  --dream: #f5e5e8;      /* very light dusty pink behind the I Dream band */
  --dream-mark: #e8cfd4; /* a touch deeper, so the I Dream menu marker reads on the light header */
  --dream-ink: #5b3e5a;  /* deep lilac: I Dream headings, ticker, dots, button */
  --todo: #f4e7a1;
  /* Expo 2027 palette: only on the Expo menu item and the Expo section */
  --x-grad: linear-gradient(90deg, #8b4f96, #e8679b 22%, #eb9f58 42%, #e6da3a 60%, #84ae4c 80%, #79a1cc);
  --x-wash: linear-gradient(110deg, #dcd9f5 0%, #f8d6e4 28%, #fae3cb 50%, #f5f0c4 72%, #d6ece6 100%);
  --x-ring: conic-gradient(from 200deg, #8b4f96, #e8679b, #eb9f58, #e6da3a, #84ae4c, #79a1cc, #8b4f96);
  --err: #a3361f;
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, monospace;
  --maxw: 1440px;
  --gut: clamp(16px, 2.6vw, 40px);
  --sec: clamp(88px, 10vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 116px; scrollbar-color: #1b1a1a55 transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--ink); overflow-x: hidden; }
::selection { background: var(--lav); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
svg.i { width: 1em; height: 1em; fill: currentColor; flex: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.band { padding: var(--sec) 0; }
.band.alt { background: var(--bg-2); }
.h2 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1; letter-spacing: -0.035em; }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.45; }
.meta { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.todo { background: var(--todo); color: var(--ink); padding: 0 .25em; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 40; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; font-size: .9375rem; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:focus { outline: none; }


/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 54px; padding: 0 26px; background: var(--ink); color: var(--bg); font: 400 .8125rem var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.btn svg.i { font-size: 1.25rem; transition: transform .3s var(--ease); }
.btn:hover svg.i { transform: translateX(4px); }
.btn:hover { background: #2e2c2c; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--bg); }
.link { font-family: var(--mono); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--ink); }
.link:hover { color: var(--soft); }
.link.x { border-bottom: 0; background: var(--x-grad) left bottom / 100% 3px no-repeat; }

/* logo: photo circle with M / W */
.mw { position: relative; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: #2a2833; isolation: isolate; flex: none; text-decoration: none; }
.mw-img { position: absolute; inset: -6%; background-size: cover; background-position: center; }
.mw::after { content: ""; position: absolute; inset: 0; background: rgba(15, 14, 18, .26); z-index: 1; }
.mw-letters { position: relative; z-index: 2; color: #fff; text-align: center; line-height: .92; letter-spacing: -0.02em; font-weight: 520; }
.mw-hd { width: 78px; height: 78px; }
.mw-hd .mw-letters { font-size: 25px; }
.mw-ft { width: 66px; height: 66px; }
.mw-ft .mw-letters { font-size: 22px; }

/* sticky header */
.site { position: sticky; top: 0; z-index: 20; background: var(--bg); transition: box-shadow .3s var(--ease); }
.site.stuck { box-shadow: 0 1px 0 var(--line); }
.top { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 60px); padding-top: 14px; padding-bottom: 14px; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 44px); margin-right: auto; }
.nav a { position: relative; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a.x::after { height: 3px; background: var(--x-grad); transform: scaleX(1); }
.mnav a.x { background: var(--x-grad) left bottom / 100% 3px no-repeat; }
.top .btn { min-height: 46px; padding: 0 22px; }
.nav a, .top .btn { white-space: nowrap; }
.menu-btn { display: none; }

/* hero: the original's big statement, photo lower right */
/* the headline, lead, buttons and roles must fit one desktop screen: type and photo also scale with the viewport height */
.hero { --h1: clamp(3.5rem, min(9.4vw, 15svh), 9rem); --pt: min(clamp(32px, 5vw, 80px), 4svh); --h1-gap: clamp(28px, min(4vw, 5svh), 56px); padding-top: var(--pt); padding-bottom: clamp(72px, 8vw, 120px); }
.hero h1 { font-size: var(--h1); line-height: .88; letter-spacing: -0.045em; margin-bottom: var(--h1-gap); max-width: 7.2em; }
.hero-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.hero-text { grid-column: 1 / 6; padding-bottom: 4px; }
.hero .lead { max-width: 32ch; margin-bottom: 36px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-bottom: 32px; }
.hero-photo { grid-column: 7 / 13; position: relative; aspect-ratio: 5 / 4; margin-top: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (min-width: 1081px) {
  /* 106px = sticky header; 24px = breathing room above the fold */
  .hero-photo { width: 100%; max-height: max(340px, calc(100svh - 106px - var(--pt) - 1.76 * var(--h1) - var(--h1-gap) - 24px)); }
}
.slate { position: absolute; right: 0; bottom: 0; background: var(--bg); padding: 8px 12px 7px; font: 400 .6875rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* portrait seal on the photo's left edge */
.seal { position: absolute; left: -86px; top: -86px; width: 172px; height: 172px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; text-decoration: none; z-index: 2; transition: transform .4s var(--ease); }
.seal:hover { transform: scale(1.03); }
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }
.seal text { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; fill: var(--bg); }
.seal img { position: absolute; inset: 10%; width: 80%; height: 80%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* any brief + no brief yet: two halves of one band, side by side, split by a hairline */
.briefs { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: stretch; }
.brief { grid-column: 1 / 7; padding-right: clamp(0px, 2vw, 32px); }
.nobrief { grid-column: 7 / 13; padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
.brief .h2, .nobrief .h2 { margin-bottom: clamp(24px, 2.6vw, 36px); }
.brief .lead { max-width: 38ch; }
.brief .lead p + p { margin-top: .8em; }
.nobrief-body .lead { max-width: 34ch; margin-bottom: 28px; }
.arrows { margin-bottom: 36px; border-top: 1px solid var(--line); }
.arrows li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.arrows svg.i { font-size: 1rem; transform: translateY(2px); }
.dir .arrows { max-width: 40ch; margin-bottom: 20px; }
.dir .arrows li { padding: 8px 0; }

/* four directions */
.dirs-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.dir { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding: clamp(28px, 3.4vw, 48px) 0; border-top: 1px solid var(--line); }
.dir:last-child { border-bottom: 1px solid var(--line); }
.dir-text { grid-column: 1 / 6; }
.dir-text .meta { display: block; margin-bottom: 10px; }
.dir h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 16px; }
.dir p { color: var(--soft); max-width: 40ch; margin-bottom: 16px; }
.dir .tags { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--ink); }
.dir figure { grid-column: 7 / 13; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.dir figure img, .dir figure video.lead { display: block; width: 100%; height: 100%; object-fit: cover; }
.dir figure video.pos-studio { object-position: 50% 55%; }   /* vertical clip: keep the sofa and window in the band */
.dir figure, .case figure { position: relative; }
figure[data-slides] .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .93s cubic-bezier(.37, 0, .63, 1); will-change: opacity; }
figure[data-slides] .slide.on { opacity: 1; }
figure[data-slides] .slide-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35)); }
figure[data-slides].playing .slide-dots { opacity: 1; }
figure[data-slides] .slide-dots i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .45; transition: opacity .5s var(--ease), transform .5s var(--ease); }
figure[data-slides] .slide-dots i.on { opacity: 1; transform: scale(1.15); }

/* work: alternating cases */
.work-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.work-head .h2 { grid-column: 1 / 9; }
.case { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding: clamp(36px, 4.4vw, 64px) 0; }
.case + .case { border-top: 1px solid var(--line); }
.case figure { grid-column: 1 / 8; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.case figure img, .case figure video.lead { display: block; width: 100%; height: 100%; object-fit: cover; }
.case figure img.pos-engineer { object-position: 40% 40%; }
.case-text { grid-column: 9 / 13; }
.case.flip figure { grid-column: 6 / 13; grid-row: 1; }
.case.flip .case-text { grid-column: 1 / 5; grid-row: 1; }
.tag { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; color: var(--soft); margin-bottom: 12px; }
.case h3 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 14px; }
.case p.desc { color: var(--soft); }
.case p.desc strong { color: var(--ink); font-weight: 500; }
.case .arrows { margin: 20px 0 0; max-width: 40ch; }
.case .arrows li { padding: 8px 0; color: var(--soft); }

/* serbia: statement left, menu of services right */
.serbia { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: start; }
.serbia-text { grid-column: 1 / 7; }
.serbia-text .h2 { margin-bottom: 24px; }
.serbia-text .lead { max-width: 46ch; }
.serbia-text .lead + .lead { margin-top: .8em; }
.serbia-points { margin-top: 24px; border-top: 1px solid var(--line); max-width: 52ch; }
.serbia-points li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.serbia-menu { grid-column: 8 / 13; align-self: end; }
.serbia-menu li { border-top: 1px solid var(--line); }
.serbia-menu li:last-child { border-bottom: 1px solid var(--line); }
.serbia-menu li > * { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.2; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.serbia-menu a svg.i { flex: none; font-size: 1.25rem; transition: transform .3s var(--ease); }
.serbia-menu a:hover svg.i { transform: translateX(4px); }
.serbia-menu a:hover { color: var(--soft); }


/* expo */
.expo-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; margin-bottom: clamp(48px, 5vw, 72px); }
.expo-title { grid-column: 1 / 6; }
.expo-lead { grid-column: 9 / 13; max-width: 34ch; }
.expo-lead .lead { color: var(--soft); }
.expo-terms { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.3; letter-spacing: -0.015em; }
#expo { background: var(--x-wash); }
.countdown { grid-column: 6 / 9; justify-self: center; position: relative; width: 196px; height: 196px; border-radius: 50%; background: radial-gradient(circle closest-side, var(--bg) 0 79.4%, transparent 79.8%), var(--x-ring); display: grid; place-content: center; text-align: center; }
.countdown svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.countdown text { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); }
.countdown b { display: block; font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); padding-top: 28px; }
.services li { padding: 0 26px 6px; border-left: 1px dashed var(--dash); }
.services li:first-child { border-left: 0; padding-left: 0; }
.services h3 { font-size: 1.3125rem; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 10px; }
.services p { color: var(--soft); font-size: .9375rem; }
/* Expo request form: under the terms, intro left, form right */
.expo-form { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(32px, 3vw, 48px); border-top: 1px solid var(--ink); }
.expo-form-intro { grid-column: 1 / 6; }
.expo-form-intro h3 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 14px; }
.expo-form-intro p { color: var(--soft); max-width: 34ch; }

/* masha */
.masha { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.masha-photo { grid-column: 1 / 6; aspect-ratio: 4 / 5; position: relative; }
.masha-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.masha-text { grid-column: 7 / 13; }
.masha-text .h2 { margin-bottom: 30px; }
.masha-text .lead { margin-bottom: 26px; max-width: 34ch; }
.masha-text > p + p { color: var(--soft); max-width: 58ch; margin-top: 14px; }

/* outside work */
.outside .h2 { margin-bottom: clamp(36px, 4vw, 56px); max-width: 14ch; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.tiles figure { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 14px; }
.tiles img, .tiles video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tiles .meta { color: var(--ink); margin-bottom: 4px; }
.tiles p { color: var(--soft); font-size: .9375rem; }

/* contact */
.talk-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; }
.talk-grid { align-items: end; }
.talk-intro { grid-column: 1 / 6; }
.talk .direct { grid-column: 7 / 13; }
.talk .lead { margin-bottom: 0; }
.talk h2 { font-size: clamp(3rem, 5.6vw, 5.25rem); line-height: .95; letter-spacing: -0.04em; margin-bottom: 24px; }
.talk .lead { color: var(--soft); margin-bottom: 36px; max-width: 30ch; }
.direct div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.direct div:last-child { border-bottom: 1px solid var(--line); }
.direct dt { color: var(--soft); }
.direct a { text-decoration: none; border-bottom: 1px solid var(--ink); }
.form { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; align-content: start; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.field label i { font-style: normal; color: var(--hint); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 1.125rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0 12px; width: 100%; min-height: 48px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b1a1a' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; cursor: pointer; }
.field textarea { min-height: 110px; resize: vertical; }
.field ::placeholder { color: var(--hint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 -1px 0 var(--ink); }
.field .err { color: var(--err); font-size: .875rem; min-height: 1.35em; }
.field input[aria-invalid="true"] { border-color: var(--err); box-shadow: inset 0 -1px 0 var(--err); }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.form-end small, .consent { color: var(--soft); font-size: .9375rem; }
.consent { grid-column: 1 / -1; font-size: .875rem; }
.form-done { grid-column: 7 / 13; border-top: 1px solid var(--ink); padding-top: 24px; }
.form-done h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; overflow-wrap: anywhere; }
.form-done p { color: var(--soft); margin-bottom: 18px; max-width: 46ch; }
.form-done button { font: inherit; background: none; border: 0; border-bottom: 1px solid var(--ink); padding: 0; min-height: 44px; cursor: pointer; color: var(--ink); }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; font-size: .9375rem; }
footer a { text-decoration: none; border-bottom: 1px solid var(--ink); }
footer .sp { margin-left: auto; color: var(--soft); }

/* tablet */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { letter-spacing: .12em; }
  .hero-text { grid-column: 1 / 13; }
  .hero-photo { grid-column: 1 / 13; margin-top: 40px; }
  .seal { left: calc(-1 * var(--gut) - 49px); top: 50%; width: 148px; height: 148px; transform: translateY(-50%); }
  .seal:hover { transform: translateY(-50%) scale(1.03); }
  .dir-text { grid-column: 1 / 13; margin-bottom: 24px; }
  .dir figure { grid-column: 1 / 13; grid-row: 1; margin-bottom: 24px; }
  .work-head .h2 { grid-column: 1 / 13; }
  .case figure, .case.flip figure { grid-column: 1 / 13; grid-row: 1; margin-bottom: 24px; }
  .case-text, .case.flip .case-text { grid-column: 1 / 13; grid-row: 2; max-width: 40em; }
  .serbia-text, .serbia-menu { grid-column: 1 / 13; }
  .expo-title { grid-column: 1 / 13; margin-bottom: 36px; }
  .countdown { grid-column: 1 / 5; justify-self: start; width: 168px; height: 168px; }
  .expo-lead { grid-column: 5 / 13; }
  .services { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .services li:nth-child(3) { border-left: 0; padding-left: 0; }
  .masha-photo { grid-column: 1 / 13; aspect-ratio: 4 / 3; }
  .masha-text { grid-column: 1 / 13; padding-top: 48px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .talk-intro, .talk .direct, .form, .form-done, .expo-form-intro { grid-column: 1 / 13; }
}

/* phone */
@media (max-width: 720px) {
  .brief, .nobrief { grid-column: 1 / 13; padding: 0; border-left: 0; }
  .nobrief { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
  body { font-size: 1rem; }
  .top { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .mw-hd { width: 68px; height: 68px; }
  .mw-hd .mw-letters { font-size: 22px; }
  .nav { display: none; }
  .top .btn { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: .75rem; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 52px; padding: 0 2px; background: none; border: 0; color: var(--ink); font: 400 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .mnav { border-top: 1px solid var(--line); padding: 0 var(--gut) 8px; background: var(--bg); }
  .mnav a { display: block; padding: 14px 0; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mnav a:last-child { border-bottom: 0; }
  .acts .btn { width: 100%; }
  /* phone: the header already carries Write to Masha, and the roles line crowded the first screen */
  .hero .acts .btn, .hero .meta { display: none; }
  .hero .acts { margin-bottom: 0; }
  .dir-text .tags { display: none; }
  .hero-photo { aspect-ratio: 4 / 5; margin-top: 88px; }
  .hero-photo img { object-position: 52% 30%; }
  .slate { font-size: .6875rem; }
  .seal { left: -6px; top: -72px; width: 156px; height: 156px; transform: none; }
  .seal:hover { transform: scale(1.03); }
  .seal text { font-size: 11.5px; }
  .countdown { grid-column: 1 / 13; width: 148px; height: 148px; margin-bottom: 28px; }
  .countdown b { font-size: 2.5rem; }
  .expo-lead { grid-column: 1 / 13; }
  .services { grid-template-columns: 1fr; row-gap: 0; padding-top: 0; }
  .services li, .services li:first-child, .services li:nth-child(3) { border-left: 0; border-top: 1px dashed var(--dash); padding: 20px 0; }
  .services li:first-child { border-top: 0; }
  .masha-photo { aspect-ratio: 4 / 5; }
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); gap: 16px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles li { flex: 0 0 66%; scroll-snap-align: start; }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  footer .sp { margin-left: 0; width: 100%; }
}
@media (min-width: 961px) { .mnav { display: none !important; } }
@media (max-width: 1200px) and (min-width: 961px) {
  /* narrower laptops: five menu items + the button stay on one line */
  .top { gap: 20px; }
  .nav { gap: 16px; }
  .nav a { letter-spacing: .08em; }
  .top .btn { padding: 0 16px; letter-spacing: .06em; }
}
@media (max-width: 960px) and (min-width: 721px) {
  /* tablets: the menu folds into the Menu button earlier than the rest of the phone layout */
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 52px; padding: 0 2px; background: none; border: 0; color: var(--ink); font: 400 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .mnav { border-top: 1px solid var(--line); padding: 0 var(--gut) 8px; background: var(--bg); }
  .mnav a { display: block; padding: 14px 0; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mnav a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seal svg.ring, .countdown svg.ring { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* projects teaser on the home page */
.projects-teaser { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.projects-teaser .h2 { max-width: 16ch; }
.page-first { padding-top: clamp(40px, 5vw, 80px); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.dir.dir-solo, .dir.dir-solo:last-child { border: 0; padding: 0; }

/* coverage on the Serbia page: a spinning Expo badge on the photo's top-left corner */
.cov-media { grid-column: 7 / 13; position: relative; }
.cov-media figure { width: 100%; }
.dir-solo .dir-text .btn { margin-top: 28px; }
.badge-x { position: absolute; left: -76px; top: -76px; width: 152px; height: 152px; border-radius: 50%; z-index: 2; background: radial-gradient(circle closest-side, var(--bg) 0 78.4%, transparent 78.8%), var(--x-ring); display: grid; place-content: center; text-align: center; }
.badge-x svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 36s linear infinite; }
.badge-x text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.badge-x span { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.badge-x b { display: block; font-weight: 400; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; }
@media (max-width: 1080px) {
  .cov-media { grid-column: 1 / 13; grid-row: 1; margin-bottom: 24px; }
  .cov-media figure { margin-bottom: 0; }
  .badge-x { left: auto; right: 12px; top: -64px; width: 128px; height: 128px; }
  .badge-x b { font-size: 1.625rem; }
}
@media (prefers-reduced-motion: reduce) { .badge-x svg.ring { animation: none; } }

/* three photos under the Serbia intro */
.serbia-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: clamp(32px, 3.4vw, 48px); }
@media (max-width: 1080px) { .serbia-photos { grid-template-columns: repeat(3, 1fr); } .serbia-photos li:nth-child(n+4) { display: none; } }
.serbia-photos li { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); }
.serbia-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .serbia-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); gap: 16px; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scrollbar-width: none; }
  .serbia-photos::-webkit-scrollbar { display: none; }
  .serbia-photos li, .serbia-photos li:nth-child(n+4) { display: block; flex: 0 0 46%; scroll-snap-align: start; }
}
@media (min-width: 1081px) and (max-height: 880px) {
  /* low laptop screens: keep the whole Serbia intro, photos included, on one screen */
  .serbia-photos li { aspect-ratio: 5 / 4; }
  #serbia.page-first { padding-top: 32px; }
}

/* compact Expo request form: intro on the left, four short fields in one row, a low message box */
.expo-form { row-gap: 24px; margin-top: clamp(40px, 4vw, 64px); padding-top: clamp(24px, 2.4vw, 36px); }
.expo-form-intro { grid-column: 1 / 4; }
.expo-form-intro h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 500; margin-bottom: 10px; }
.expo-form-intro p { font-size: .9375rem; }
.expo-form .form, .expo-form .form-done { grid-column: 4 / 13; }
.expo-form .form { grid-template-columns: repeat(4, 1fr); gap: 14px 20px; align-items: end; }
.expo-form .field input, .expo-form .field textarea { font-size: 1rem; padding: 6px 0 8px; min-height: 40px; }
.expo-form .field textarea { min-height: 64px; }
.expo-form .field .err { min-height: 0; }
.expo-form .field .err:empty { display: none; }
.expo-form .form-end { gap: 10px 20px; }
.expo-form .form-end .btn { min-height: 46px; }
@media (max-width: 1080px) {
  .expo-form-intro, .expo-form .form, .expo-form .form-done { grid-column: 1 / 13; }
  .expo-form .form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .expo-form .form { grid-template-columns: 1fr; }
}

/* I Dream: the projects Masha is looking for — the one soft dusty-pink band on the site, deep lilac type */
.nav a.dream-link { background: linear-gradient(var(--dream-mark), var(--dream-mark)) 0 58% / calc(100% - .2em) .62em no-repeat; }
.mnav a.dream-link span { background: linear-gradient(var(--dream-mark), var(--dream-mark)) 0 72% / 100% .45em no-repeat; }
.dream { background: var(--dream); color: var(--ink); overflow: hidden; padding-top: clamp(40px, 5vw, 72px); }
.dream-ticker { overflow: hidden; border-block: 1px solid rgba(91, 62, 90, .22); padding: clamp(14px, 1.6vw, 22px) 0; margin-bottom: clamp(56px, 6vw, 96px); }
.dream-track { display: flex; width: max-content; align-items: center; gap: clamp(20px, 2.4vw, 36px); animation: dream-run 38s linear infinite; }
.dream-track span { font-size: clamp(2.25rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); white-space: nowrap; }
.dream-track i { flex: none; width: clamp(8px, .8vw, 12px); height: clamp(8px, .8vw, 12px); border-radius: 50%; background: var(--ink); opacity: .45; }
@keyframes dream-run { to { transform: translateX(-50%); } }
.dream-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: start; }
.dream-left { grid-column: 1 / 7; }
.dream .h2 { color: var(--ink); max-width: 14ch; }
.dream-moods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 560px; margin-top: clamp(32px, 3.4vw, 48px); }
.dream-moods li { aspect-ratio: 4 / 5; overflow: hidden; background: rgba(91, 62, 90, .12); }
.dream-moods img, .dream-moods video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dream-moods video { object-position: 50% 45%; }
.dream-body { grid-column: 8 / 13; }
.dream .lead { color: var(--soft); max-width: 38ch; margin-bottom: 24px; }
.dream-list { border-top: 1px solid rgba(91, 62, 90, .22); margin-bottom: 36px; }
.dream-list li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(91, 62, 90, .22); font-size: 1.0625rem; }
.dream-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--dream-ink); transform: translateY(-.15em); }
.dream .btn { background: var(--dream-ink); color: var(--bg); }
.dream .btn:hover { background: var(--ink); }
@media (max-width: 1080px) {
  .dream-left, .dream-body { grid-column: 1 / 13; }
}
@media (prefers-reduced-motion: reduce) {
  .dream-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gut); }
  .dream-track span:nth-of-type(n+7), .dream-track i:nth-of-type(n+7) { display: none; }
}

/* phones: the three directions (home) and the cases (projects) become sideways carousels, the next card peeking in */
.swipe-dots { display: none; }
@media (max-width: 720px) {
  .swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); gap: 16px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > *, .swipe > *:last-child, .swipe > .case + .case { display: flex; flex-direction: column; flex: 0 0 86%; scroll-snap-align: start; border: 0; padding: 0; }
  .swipe > * > figure { order: -1; margin-bottom: 18px; }
  .dirs .dir h3 { font-size: 1.75rem; }
  .cases .case-text { max-width: none; }
  .services.swipe { padding-top: 0; border-top: 0; margin-bottom: 0; }
  .services.swipe > li, .services.swipe > li:first-child { flex-basis: 78%; padding: 22px 20px 24px; border: 1px solid var(--line); background: rgba(243, 240, 239, .55); }
  .services.swipe + .swipe-dots { margin-bottom: clamp(40px, 8vw, 56px); }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
  .swipe-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .2; transition: opacity .3s var(--ease); }
  .swipe-dots i.on { opacity: .85; }
}

/* privacy page: one readable column */
.legal { max-width: calc(68ch + 2 * var(--gut)); }
.legal .h2 { margin-bottom: 10px; }
.legal-date { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 36px; }
.legal .lead { margin-bottom: 8px; }
.legal h2 { font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.2; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 10px; }
.legal li { padding-left: 18px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--ink); }
.legal b { color: var(--ink); font-weight: 500; }
.legal a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); }
.consent a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Netlify Forms: hidden honeypot field for bots, and the error line under the button */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { grid-column: 1 / -1; color: var(--err); font-size: .9375rem; }
.form-err a { color: inherit; border-bottom: 1px solid currentColor; text-decoration: none; }

/* phones and tablets: a clear Menu button (three bars + label), and a short "explore" list under the first screen */
.burger { display: inline-grid; gap: 4px; width: 18px; margin-right: 8px; }
.burger i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn.open .burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn.open .burger i:nth-child(2) { opacity: 0; }
.menu-btn.open .burger i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.explore { display: none; padding-bottom: 56px; }
.explore.always { display: block; max-width: calc(40rem + 2 * var(--gut)); }
.explore a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.375rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.explore a:last-child { border-bottom: 1px solid var(--line); }
.explore a svg.i { flex: none; font-size: 1.25rem; }
.explore a.x span { background: var(--x-grad) left bottom / 100% 3px no-repeat; padding-bottom: 4px; }
.explore a.dream-link span { background: linear-gradient(var(--dream-mark), var(--dream-mark)) 0 72% / 100% .45em no-repeat; }
@media (max-width: 960px) {
  .explore { display: block; }
}


/* desktop: a lighter I Dream band (13.10.2026) */
@media (min-width: 1081px) {
  .dream { padding-top: 32px; padding-bottom: 72px; }
  .dream-ticker { padding: 12px 0; margin-bottom: 48px; }
  .dream-track span { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
  .dream-track i { width: 8px; height: 8px; }
  .dream-grid { align-items: center; }
  .dream .h2 { font-size: clamp(2rem, 2.8vw, 2.75rem); max-width: 16ch; }
  .dream-moods { max-width: 380px; gap: 12px; margin-top: 28px; }
  .dream .lead { margin-bottom: 18px; }
  .dream-list { margin-bottom: 28px; }
  .dream-list li { padding: 8px 0; font-size: 1rem; }
}

/* Russian version: Onest and IBM Plex Mono (OFL), cyrillic + latin + latin-ext, self-hosted from Google Fonts */
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/onest-300-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/onest-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/onest-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Russian version (/ru): Cyrillic-capable pair, same roles as Hanken Grotesk + Fragment Mono */
:root:lang(ru) {
  --sans: "Onest", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
/* switch from the Russian pages to the English site; the English site has no link back */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--ink); transition: background .2s, color .2s; }
.lang-switch:hover { background: var(--ink); color: var(--bg); }
.lang-switch .short { display: none; }
@media (max-width: 720px) {
  .lang-switch { min-height: 44px; padding: 0 11px; }
  .lang-switch .long { display: none; }
  .lang-switch .short { display: inline; }
}
/* Russian home: three directions under the hero line */
.hero .lead + .hero-points { max-width: 40ch; margin: -16px 0 32px; }
.hero-points li { padding: 9px 0; }
.hero-note { max-width: 40ch; margin: -12px 0 32px; color: var(--soft); }
.dir .hubs { max-width: 40ch; color: var(--soft); font-size: .9375rem; }
/* Russian home, DMC block: highlighted line for Expo visitors */
.dir .x-callout { display: inline-block; margin: 4px 0 18px; padding: 12px 16px; background: var(--x-wash); font-weight: 500; font-size: 1.0625rem; color: var(--ink); }
/* Russian hero: the slogan is longer and the text below it too, so the heading is smaller and the whole first screen fits */
.hero:has(.h1-ru) { --h1: clamp(2.25rem, min(4.6vw, 8svh), 4.5rem); }
.hero h1.h1-ru { max-width: 15em; }
.work-note { grid-column: 1 / -1; margin: 10px 0 0; font: 400 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.hero:has(.h1-ru) .lead { margin-bottom: 26px; }
.hero:has(.h1-ru) .hero-points { margin: -10px 0 22px; }
.hero:has(.h1-ru) .hero-points li { padding: 7px 0; }
.hero:has(.h1-ru) .hero-note { margin: -6px 0 24px; }
.hero:has(.h1-ru) .acts { margin-bottom: 20px; }
/* short laptop screens: the NDA family line is repeated in the private clients block below, so it steps aside to keep the first screen whole */
@media (min-width: 1081px) and (max-height: 820px) {
  .hero:has(.h1-ru) .hero-note { display: none; }
  .hero:has(.h1-ru) .hero-points li { padding: 5px 0; }
  .hero:has(.h1-ru) .lead { margin-bottom: 20px; }
}
/* Russian home, private clients block: the service site is not live yet */
.soon-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 20px; }
.soon-link .link { color: var(--soft); border-bottom-style: dashed; cursor: default; }
.soon-link small { font: 400 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; }

/* Russian Serbia page: questions about Serbia, folded answers */
.faq-ru .h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(1.125rem, 1.6vw, 1.375rem); letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font: 400 1.25rem/1 var(--mono); transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq-list details p { max-width: 64ch; margin: -4px 0 22px; color: var(--soft); }
.faq-intro { max-width: 52ch; margin: -12px 0 28px; color: var(--soft); }
.faq-list details p a { border-bottom: 1px solid currentColor; text-decoration: none; color: var(--ink); }
.faq-more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--soft); }
/* text for screen readers and search engines only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Russian B2B production page */
.prod-hero .meta { display: block; margin-bottom: 18px; }
.prod-hero .h2 { max-width: 18ch; margin-bottom: 24px; }
.prod-hero .lead { max-width: 60ch; margin-bottom: 32px; }
.prod-hero .acts { margin-bottom: 36px; }
.clients { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.prod-services { row-gap: 32px; margin-top: clamp(24px, 3vw, 40px); }
.prod-services li:nth-child(5) { border-left: 0; padding-left: 0; }
.h3-like { font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 14px; }
.prod-steps { list-style: none; padding-left: 0; margin-left: 0; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: 28px; }
.prod-steps li { counter-increment: s; }
.prod-steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 400 .75rem/1 var(--mono); letter-spacing: .08em; color: var(--soft); margin-bottom: 14px; }
.prod-steps h3 { font-size: 1.3125rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.prod-steps p { color: var(--soft); font-size: .9375rem; }
@media (max-width: 1080px) { .prod-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .prod-steps { grid-template-columns: 1fr; } }
/* Russian home on phones: the photo comes right after the first sentence, then the list and the rest */
@media (max-width: 720px) {
  .hero:has(.h1-ru) .hero-text { display: contents; }
  .hero:has(.h1-ru) .hero-text > * { grid-column: 1 / -1; order: 3; }
  .hero:has(.h1-ru) .hero-text > .lead { order: 1; margin-bottom: 0; }
  .hero:has(.h1-ru) .hero-photo { order: 2; margin-bottom: 32px; }
  .hero:has(.h1-ru) .hero-points { margin-top: 0; }
}
@media (max-width: 720px) {
  .briefs.swipe > .nobrief { margin-top: 0; }
  .briefs.swipe > * { flex-basis: 88%; }
}
/* tablets: the portrait seal sits on the photo's top-left corner, as on phones (it used to bleed off the left edge) */
@media (min-width: 721px) and (max-width: 1080px) {
  .seal { left: -6px; top: -72px; width: 156px; height: 156px; transform: none; }
  .seal:hover { transform: scale(1.03); }
  .hero-photo { margin-top: 96px; }
}
