@font-face {
  font-family: Inter;
  src: url(/fonts/inter-cyrillic-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Inter;
  src: url(/fonts/inter-latin-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(/fonts/inter-latin-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(/fonts/inter-cyrillic-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Inter;
  src: url(/fonts/inter-latin-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(/fonts/inter-cyrillic-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root {
  color-scheme: dark;
  --background: #0a0a0d;
  --surface: #131318;
  --line: #2c2a31;
  --text: #f8f7fa;
  --muted: #b6b3bf;
  --orange: #ff9b53;
  --gradient: linear-gradient(104deg, #ff7a2f, #ffb43a);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #ffc17d; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.65; }
button { font: inherit; }
.wrap { width: min(100% - 80px, 1240px); margin-inline: auto; }
.header { background: #0d0d10; border-bottom: 1px solid #242128; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-icon { 
  display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #393039;
  border-radius: 10px; background: #161419; color: var(--orange); font-size: 22px; font-weight: 800;
}
.brand-word { font-weight: 800; font-size: 15px; letter-spacing: .045em; line-height: 1.1; }
.brand-word small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .22em; }
.header nav, .header-actions { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); font-size: 14px; color: var(--muted); }
.header nav a:hover, .header-actions a:hover { color: var(--text); }
.header-actions { gap: 14px; }
.header-contact, .language { display: grid; place-items: center; min-height: 44px; padding-inline: 13px; }
.header-contact { color: var(--text); border: 1px solid var(--line); border-radius: 7px; }
.language { color: var(--orange); }
.hero {
  background: radial-gradient(ellipse at 14% -20%, #6a321f80, transparent 57%), radial-gradient(ellipse at 87% 100%, #53361935, transparent 53%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding-block: clamp(48px, 7vw, 104px) clamp(50px, 6vw, 88px); }
.eyebrow { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin-block: 17px 20px; font-size: clamp(41px, 6.5vw, 86px); letter-spacing: -.035em; line-height: 1.08; font-weight: 700; }
h1 em { display: inline-block; color: var(--orange); font-style: normal; }
@supports (background-clip: text) {
  h1 em { background: var(--gradient); background-clip: text; color: transparent; }
}
.headline-end { display: block; }
.intro { color: var(--muted); font-size: clamp(16px, 1.55vw, 20px); max-width: 59ch; text-wrap: pretty; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; justify-content: center; gap: 16px; align-items: center; min-height: 48px; padding: 10px 17px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.button-primary { background: var(--gradient); color: #161016; }
.button-primary:hover { filter: brightness(1.12); }
.button-secondary { border: 1px solid #48414b; color: var(--text); background: #17141a80; }
.button-secondary:hover { background: #241e28; }
.section { padding-block: clamp(49px, 6vw, 85px); scroll-margin-top: 14px; }
h2 { font-size: clamp(29px, 4vw, 54px); letter-spacing: -.03em; font-weight: 700; line-height: 1.12; text-wrap: balance; }
.section-note { margin-top: 11px; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 24px 16px; }
.filters button { cursor: pointer; border: 1px solid var(--line); color: var(--muted); background: transparent; border-radius: 99px; padding: 9px 13px; min-height: 44px; font-size: 13px; }
.filters button:hover { color: var(--text); border-color: #77616a; }
.filters button[aria-pressed=true] { background: #281c19; border-color: #9f5b34; color: #ffc195; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.project { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.project-link { display: block; height: 100%; border-radius: inherit; }
.project-image { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px 10px 0 0; background: #252129; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.project-image-portrait { background: #0a3273; }
.project-image-portrait img { object-fit: contain; }
.play { position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid #ffffff94; border-radius: 50%; background: #101017bb; display: grid; place-items: center; }
.play::after { content: ""; height: 0; width: 0; margin-left: 2px; border-block: 5px solid transparent; border-left: 8px solid white; }
.project-link:hover img { transform: scale(1.04); }
.project-link:hover .play { background: #ab4c1d; }
.project-meta { display: grid; gap: 6px; padding: 14px 16px 17px; }
.project-category { color: var(--orange); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.project-meta strong { font-size: clamp(16px, 1.55vw, 20px); font-weight: 700; line-height: 1.25; }
.project-description { color: var(--muted); font-size: 14px; line-height: 1.45; }
.process, .clients { border-block: 1px solid var(--line); background: #101015; }
.process { padding-block: clamp(30px, 4vw, 56px); }
.process-details summary { display: block; cursor: pointer; list-style: none; }
.process-details summary::-webkit-details-marker { display: none; }
.process-details summary h2 { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.process-details summary .eyebrow { display: block; margin-bottom: 9px; line-height: 1.4; }
.process-toggle { position: relative; flex: 0 0 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); }
.process-toggle::before, .process-toggle::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 15px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); }
.process-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.process-details[open] .process-toggle::after { display: none; }
.process-details summary:hover .process-toggle { border-color: var(--orange); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; margin: 30px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; border-top: 1px solid #614232; padding-top: 16px; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 10px; color: var(--orange); font-size: 12px; font-weight: 700; }
.steps h3, .offerings h3 { font-size: 18px; line-height: 1.28; }
.steps p, .offerings p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.offerings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.offerings div { border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--surface); }
.clients ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.clients li { padding: 9px 13px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.contact { background: radial-gradient(ellipse at 0 120%, #67351f65, transparent 55%); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-block: 21px; color: var(--muted); font-size: 12px; }
.footer .brand-word { color: var(--text); }
body:has(dialog[open]) { overflow: hidden; }
.player { width: min(960px, calc(100% - 24px)); max-height: 95dvh; max-width: none; padding: 0; border: 1px solid #524652; border-radius: 12px; background: #121115; color: var(--text); }
.player::backdrop { background: #000d; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 12px 7px 16px; }
.player-bar h2 { font-size: clamp(17px, 3vw, 24px); letter-spacing: -.02em; }
.player-close { cursor: pointer; background: none; color: white; border: 0; border-radius: 5px; font-size: 30px; width: 44px; height: 44px; }
.player-close:hover { background: var(--surface); }
.player video { display: block; width: 100%; aspect-ratio: 16/9; max-height: 74dvh; background: #000; object-fit: contain; }
.player-error { padding: 10px 16px; }
.player-error a { text-decoration: underline; }
@media (max-width: 880px) {
  .wrap { width: min(100% - 48px, 1240px); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .header nav { display: none; }
  .header-actions { gap: 5px; }
  .header-contact, .language { padding-inline: 9px; }
  .hero-inner { padding-block: 47px 50px; }
  h1 { font-size: clamp(34px, 6.5vw, 44px); }
  .projects, .offerings, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .project-meta { padding: 12px 13px 14px; }
  .play { bottom: 6px; right: 6px; width: 28px; height: 28px; }
  .offerings div { padding: 14px; }
}
@media (max-width: 520px) {
  .headline-lead { display: block; }
}
@media (max-width: 420px) {
  .projects, .offerings, .steps { grid-template-columns: 1fr; }
  .filters { column-gap: 5px; }
  .filters button { padding-inline: 10px; }
  .play { bottom: 10px; right: 10px; width: 34px; height: 34px; }
}
@media (max-width: 350px) {
  .brand { gap: 8px; }
  .header-contact, .language { padding-inline: 7px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
