@font-face {
  font-family: Roboto;
  src: url("assets/roboto-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("assets/roboto-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("assets/roboto-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("assets/roboto-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Signature Italic";
  src: url("assets/signature-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #102c46;
  --ink-deep: #0a2239;
  --blue: #1c567f;
  --copy: #3d566a;
  --muted: #536b7d;
  --hairline: #d7e3eb;
  --page-gutter: clamp(22px, 6.4vw, 122px);
  --sans: Roboto, Inter, system-ui, sans-serif;
  --serif: "Signature Italic", Georgia, serif;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; background: white; }
body { min-width: 0; margin: 0; color: var(--ink); background: white; font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, select { -webkit-tap-highlight-color: rgba(22,84,126,.16); }
svg, img { display: block; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { color: #0b2e4a; background: #bde3ff; }
:focus-visible { outline: 3px solid #176ea4; outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; pointer-events: none; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 16px; background: white; border-radius: 5px; }
.skip-link:focus { transform: none; }

.masthead { position: relative; z-index: 2; background: #f6faff; }
.nav-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { justify-self: start; display: inline-flex; gap: 11px; align-items: center; min-height: 44px; }
.brand svg { width: 40px; height: 29px; }
.brand span { border-left: 1px solid #b6ccdc; padding-left: 12px; font-size: 16px; font-weight: 700; letter-spacing: -.035em; }
.masthead nav { display: flex; justify-content: center; gap: clamp(21px, 3.4vw, 53px); }
.masthead nav a { position: relative; display: grid; min-height: 44px; align-content: center; font-size: 14px; font-weight: 500; color: #354f64; }
.masthead nav a::after { content: ""; position: absolute; bottom: 7px; left: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.masthead nav a:hover::after, .masthead nav a:focus-visible::after { transform: scaleX(1); }
.nav-telegram { justify-self: end; display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 37px; padding-inline: 16px 13px; border: 1px solid #bdcedb; border-radius: 99px; font-size: 13px; font-weight: 500; }
.nav-telegram svg { width: 14px; height: 14px; }
.nav-telegram:hover { background: #e6f1f9; border-color: #9db8cb; }

.hero { isolation: isolate; position: relative; overflow: hidden; min-height: clamp(500px, 41.8vw, 695px); background: #d7edfa; }
.hero-sky, .hero-art, .horizon { position: absolute; pointer-events: none; }
.hero-sky { inset: 0; background:
  radial-gradient(ellipse at 98% 23%, #f5fbff 0%, rgba(226,244,255,.69) 29%, transparent 52%),
  radial-gradient(ellipse at 72% 75%, #ebf7fa 0%, transparent 38%),
  linear-gradient(106deg, #167dc2 8%, #69bbea 48%, #bde3f6 72%, #e5f4fc 100%);
}
.hero-art {
  inset: 0 auto 0 0;
  width: 65%;
  mask-image: linear-gradient(90deg, #000 0%, #000 56%, rgba(0,0,0,.90) 66%, rgba(0,0,0,.42) 78%, transparent 95%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 56%, rgba(0,0,0,.90) 66%, rgba(0,0,0,.42) 78%, transparent 95%);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 32%; }
.horizon { inset: 0; background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.92) 2.8%, rgba(255,255,255,.61) 9%, rgba(255,255,255,.10) 21%, transparent 35%); }
.sun-glint { position: absolute; top: 18%; right: 9%; width: 65px; height: 5px; transform: rotate(-28deg); background: linear-gradient(90deg, transparent, #9dfbf3, white, #c1adff, transparent); border-radius: 70%; opacity: .7; filter: blur(2px); pointer-events: none; }
.hero-layout { position: relative; display: grid; min-height: inherit; grid-template-columns: 52% 48%; align-items: center; }
.hero-copy { grid-column: 2; min-width: 0; padding: 24px 0 47px; }
.handle-line { display: flex; gap: 11px; align-items: center; margin-bottom: 14px; color: #315b78; font: 500 13px/1.5 var(--sans); letter-spacing: .015em; }
.handle-line::before { content: ""; width: 30px; height: 1px; background: #658ba6; }
.nameplate { width: max-content; max-width: 100%; position: relative; isolation: isolate; }
.hero h1 { display: flex; align-items: baseline; white-space: nowrap; font-size: clamp(74px, 9.12vw, 151px); line-height: .94; color: #102b42; }
.hero h1 span { font-weight: 900; letter-spacing: -.083em; }
.hero h1 em { font: italic 400 1.13em/.89 var(--serif); color: #123e60; letter-spacing: -.071em; margin-left: .023em; padding-right: .11em; }
.signature-wire { pointer-events: none; position: absolute; z-index: -1; width: 199%; height: clamp(72px, 9vw, 154px); left: -101%; top: calc(100% + 2px); overflow: visible; }
.signature-wire path { stroke: rgba(255,255,255,.96); stroke-width: 2.6px; stroke-linecap: round; fill: none; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 1px rgba(43,93,127,.16)); }
.roles { margin-top: clamp(30px, 2.7vw, 44px); color: #314e64; font-size: clamp(17px, 1.36vw, 22px); line-height: 1.43; letter-spacing: -.014em; }
.roles span { display: block; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(18px, 2.1vw, 34px); margin-top: clamp(22px, 2.25vw, 36px); }
.hero-contact, .hero-work { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; font-size: 14px; font-weight: 500; }
.hero-contact { padding-inline: 17px 21px; border-radius: 100px; color: white; background: var(--ink-deep); box-shadow: 0 7px 22px -15px #103445; transition: background .2s, transform .2s; }
.hero-contact svg { width: 18px; height: 18px; }
.hero-contact:hover { background: #205177; transform: translateY(-2px); }
.hero-work { color: #1f465e; }
.hero-work svg { width: 15px; height: 15px; transition: transform .2s; }
.hero-work:hover svg { transform: translateY(3px); }
.hero-work:hover { text-decoration: underline; text-underline-offset: 5px; }

.about { padding-block: clamp(40px, 4.4vw, 73px) clamp(62px, 5.5vw, 93px); }
.about-intro { display: grid; grid-template-columns: minmax(145px, .63fr) minmax(0, 1.37fr); gap: clamp(28px, 6.5vw, 105px); border-top: 1px solid var(--hairline); padding-top: clamp(26px, 2.8vw, 44px); }
.about-intro h2, .section-rule { font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .01em; color: #415b70; }
.about-intro h2 { padding-top: 7px; }
.intro-lead { max-width: 29ch; font-size: clamp(31px, 3.25vw, 53px); font-weight: 500; line-height: 1.09; letter-spacing: -.047em; text-wrap: pretty; }
.intro-lead em { font: italic 400 1.1em/.94 var(--serif); color: var(--blue); letter-spacing: -.043em; white-space: nowrap; }
.projects { margin-top: clamp(36px, 3.7vw, 63px); }
.section-rule { display: flex; align-items: center; gap: 17px; margin-bottom: 17px; }
.section-rule::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 38px); align-items: start; }
.project { min-width: 0; }
.project a { display: grid; gap: clamp(14px, 1.3vw, 21px); border-radius: 14px; }
.project-art { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; }
.mine-art { background: #10211a; }
.zero-art { background: #000; }
.blood-art { background: #f0e2df; }
.project-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .42s cubic-bezier(.22,.61,.35,1); }
.poster-art img { object-fit: contain; }
.project-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name exit" "handle exit" "description description"; column-gap: 14px; }
.project-name { grid-area: name; margin: 0; font-size: clamp(24px, 2.25vw, 35px); font-weight: 500; color: #132f45; letter-spacing: -.044em; line-height: 1.16; }
.project-handle { grid-area: handle; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.project-description { grid-area: description; max-width: 60ch; margin-top: 12px; color: var(--copy); font-size: clamp(16px, 1.18vw, 18px); line-height: 1.6; }
.project-exit { grid-area: exit; align-self: center; width: 40px; height: 40px; border: 1px solid #c4d6e2; border-radius: 50%; display: grid; place-items: center; color: #365a75; transition: color .2s, background .2s, border-color .2s; }
.project-exit svg { width: 16px; height: 16px; }
.project.featured { grid-column: 1 / -1; }
.featured a { grid-template-columns: clamp(220px, 28vw, 370px) minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 5vw, 80px); background: #f1f7fb; }
.featured .project-art { aspect-ratio: 1; border-radius: 14px 0 0 14px; }
.featured .project-copy { padding: 22px clamp(22px, 4.5vw, 72px) 22px 0; }
.featured .project-name { font-size: clamp(34px, 3.8vw, 60px); }
.featured .project-description { max-width: 43ch; font-size: clamp(16px, 1.5vw, 22px); }
@media (hover: hover) {
  .project a:hover .project-art:not(.poster-art) img { transform: scale(1.055); }
  .project a:hover .project-exit { color: white; background: var(--ink); border-color: var(--ink); }
}
.project a:focus-visible .project-exit { color: white; background: var(--ink); }

.toolkit { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(114deg, #eff6fa, #e9f4fc 78%, #eef8ff); padding-block: clamp(32px, 3.3vw, 53px) clamp(22px, 2.5vw, 42px); border-block: 1px solid #d8e7f1; }
.toolkit::before { content: ""; pointer-events: none; position: absolute; z-index: -1; inset: 0 0 0 55%; background: linear-gradient(90deg, #b3d0e236 1px, transparent 1px), linear-gradient(#b3d0e236 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, transparent, #000); }
.toolkit-head, .toolkit-title, .toolkit-options, .controls { display: flex; align-items: center; }
.toolkit-head { justify-content: space-between; gap: 18px; }
.toolkit-title { align-items: baseline; flex-wrap: wrap; gap: 4px 15px; }
.toolkit h2 { font-size: clamp(32px, 3.6vw, 58px); line-height: 1; font-weight: 700; letter-spacing: -.065em; }
.toolkit h2 em { font: italic 400 1.08em/.9 var(--serif); color: var(--blue); }
.tech-count { font-size: 13px; color: #506a7d; }
.toolkit-options { gap: 17px; }
.filter { position: relative; flex: none; }
.filter select { display: block; min-height: 40px; width: 158px; appearance: none; border: 1px solid #c1d4e2; background: rgba(255,255,255,.65); border-radius: 9px; padding: 0 31px 0 13px; font-size: 13px; cursor: pointer; }
.filter svg { position: absolute; right: 10px; top: calc(50% - 7px); width: 14px; height: 14px; pointer-events: none; }
.controls { gap: 2px; }
.control, .copy-name { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; background: transparent; border: 0; color: #32556f; border-radius: 50%; }
.control svg, .copy-name svg { width: 17px; height: 17px; }
.control.previous svg { transform: rotate(180deg); }
.control.motion { border: 1px solid #c3d6e4; background: #f8fcff; }
.control.motion svg { width: 15px; height: 15px; }
.control:not(:disabled):hover, .copy-name:hover { background: #d9eaf6; }
.control:disabled { opacity: .38; }
.belt-shell { max-width: 1800px; margin: clamp(18px, 2vw, 31px) auto 0; }
.belt-shell.overflowing { mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent); }
.belt-window { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #a8c1d1 transparent; }
.belt-window.enhanced { scrollbar-width: none; }
.belt-window.enhanced::-webkit-scrollbar { display: none; }
.belt-window:focus-visible { outline-offset: -3px; }
.belt-track, .tech-set { display: flex; width: max-content; }
.belt-track.fits { margin-inline: auto; }
.tech-set { flex: none; align-items: center; padding-block: 12px; }
.technology { display: flex; flex: none; align-items: center; gap: 12px; min-height: 43px; padding-inline: clamp(18px, 2.1vw, 34px); border-right: 1px solid #cadde9; white-space: nowrap; font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.technology img { width: 32px; height: 32px; flex: none; object-fit: contain; }
.belt-track.fits .technology:last-child { border-right-color: transparent; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 89px; }
.footer-contact { display: flex; align-items: center; gap: 8px; min-width: 0; }
.footer-handle, .back-top { display: inline-flex; min-height: 44px; gap: 7px; align-items: center; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-handle { font-size: 15px; font-weight: 500; }
.footer-handle svg, .back-top svg { width: 14px; height: 14px; }
.copy-name { width: 34px; height: 34px; }
.copy-feedback { color: #48687e; font-size: 12px; }
.back-top { color: #516b7d; font-size: 13px; }
.back-top svg { transform: rotate(180deg); }

@media (min-width: 1600px) {
  .hero-art { width: calc(50% + 202px); }
}
@media (min-width: 721px) and (max-width: 950px) {
  .hero { min-height: 444px; }
  .hero-layout { grid-template-columns: 49% 51%; }
  .hero h1 { font-size: 8.9vw; }
  .hero-art { width: 62%; }
  .hero-actions { gap: 8px 17px; }
  .hero-contact { padding-inline: 13px 16px; }
  .hero-contact, .hero-work { font-size: 13px; }
  .about-intro { grid-template-columns: .44fr 1.56fr; }
}
@media (max-width: 760px) {
  .project-grid { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
}
@media (max-width: 720px) {
  :root { --page-gutter: clamp(21px, 5.7vw, 38px); }
  .nav-inner { min-height: 62px; grid-template-columns: auto 1fr; gap: 16px; }
  .brand { gap: 9px; }
  .brand svg { width: 34px; height: 27px; }
  .brand span { border: 0; padding: 0; font-size: 15px; }
  .masthead nav { justify-content: flex-end; gap: clamp(14px, 3.8vw, 26px); }
  .masthead nav a { font-size: 13px; }
  .nav-telegram { display: none; }
  .hero { min-height: 0; }
  .hero-sky { background: radial-gradient(ellipse at 95% 74%, #edf9ff, transparent 63%), linear-gradient(180deg, #42a0dc, #91d0f3 57%, #f2faff); }
  .hero-art {
    inset: 0 0 auto; width: 100%; height: clamp(330px, 102vw, 565px);
    mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0,0,0,.97) 55%, rgba(0,0,0,.62) 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0,0,0,.97) 55%, rgba(0,0,0,.62) 72%, transparent 100%);
  }
  .hero-art img { object-position: 50% 31%; }
  .horizon { background: linear-gradient(0deg, white 0%, rgba(255,255,255,.96) 2%, transparent 19%); }
  .sun-glint { top: 43%; right: 10%; width: 40px; }
  .hero-layout { display: block; padding-block: clamp(255px, 70vw, 390px) 42px; }
  .hero-copy { padding: 0; }
  .handle-line { margin-bottom: 9px; font-size: 12px; gap: 8px; }
  .handle-line::before { width: 21px; }
  .hero h1 { font-size: clamp(69px, 19vw, 107px); }
  .signature-wire { top: calc(100% + 1px); left: -29%; width: 136%; height: 34px; }
  .signature-wire path { stroke-width: 1.9px; }
  .roles { margin-top: 22px; font-size: clamp(16px, 3.65vw, 20px); }
  .hero-actions { margin-top: 18px; gap: 8px 19px; }
  .hero-contact, .hero-work { min-height: 44px; font-size: 13px; }
  .hero-contact { padding-inline: 14px 16px; }
  .hero-contact svg { width: 16px; height: 16px; }
  .about { padding-block: 27px 49px; }
  .about-intro { grid-template-columns: 1fr; gap: 15px; padding-top: 22px; }
  .about-intro h2 { padding: 0; }
  .intro-lead { max-width: 28ch; font-size: clamp(31px, 5.8vw, 40px); }
  .projects { margin-top: 29px; }
  .toolkit-head { flex-wrap: wrap; gap: 18px; }
  .toolkit-options { gap: 12px; }
  .toolkit-title { gap: 10px; }
  .technology { gap: 9px; min-height: 38px; padding-inline: 19px; font-size: 15px; }
  .technology img { width: 28px; height: 28px; }
  .footer { min-height: 74px; }
}
@media (max-width: 560px) {
  .featured a { grid-template-columns: 1fr; gap: 0; }
  .featured .project-art { border-radius: 14px 14px 0 0; }
  .featured .project-copy { padding: 17px 18px 20px; }
  .featured .project-name { font-size: 28px; }
  .zero-art { aspect-ratio: 1; }
}
@media (max-width: 500px) {
  .toolkit-title, .toolkit-options { width: 100%; justify-content: space-between; }
  .toolkit-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .toolkit h2 { font-size: clamp(29px, 8vw, 38px); }
  .toolkit-options { gap: 8px; }
  .filter select { width: 158px; }
  .copy-feedback { position: absolute; top: calc(100% - 8px); left: 0; white-space: nowrap; }
  .footer-contact { position: relative; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
  .hero-actions { gap: 8px 11px; }
  .hero-work { gap: 4px; }
  .filter select { width: 135px; }
}
@media (pointer: coarse) {
  .control, .copy-name { min-width: 44px; min-height: 44px; }
  .filter select { min-height: 44px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
