@font-face{font-family:Manrope;src:url(assets/manrope-latin.woff2) format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Manrope;src:url(assets/manrope-cyrl.woff2) format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root{color-scheme:dark;--bg:#0b0b0c;--white:#faf8f7;--muted:#c6bfc1;--line:#3e272c;--red:#ff2946;--red-light:#ff8291;--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1);--wrap:1320px;--gutter:clamp(20px,4.3vw,72px)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:30px}
body{margin:0;background:var(--bg);color:var(--white);font:500 1rem/1.6 Manrope,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit}
:is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--red-light);outline-offset:4px}
img{display:block;max-inline-size:100%;height:auto}
h1,h2,h3,p{margin:0}
.wrap{width:min(calc(100% - 2 * var(--gutter)),var(--wrap));margin-inline:auto}
.accent{color:var(--red)}
.skip{position:fixed;z-index:10;top:12px;left:12px;padding:10px 14px;background:var(--red);color:#110609;transform:translateY(-150%)}
.skip:focus{transform:none}

.site-header{height:84px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;border-bottom:1px solid var(--line);position:relative;z-index:2}
.brand{display:inline-flex;align-items:center;justify-self:start;font-size:1.14rem;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.site-header nav{display:flex;justify-content:center;gap:clamp(18px,3.3vw,50px);white-space:nowrap}
.site-header nav a,.site-footer>a:not(.brand){color:var(--muted);font-size:.9rem;font-weight:700}
.site-header nav a:hover,.site-footer>a:hover{color:var(--white)}
.header-contact{justify-self:end;border:1px solid var(--line);border-radius:100px;padding:8px 16px;font-size:.9rem;font-weight:750;transition:background .2s,color .2s}
.header-contact:hover{background:var(--white);color:var(--bg)}

.hero{min-height:clamp(570px,49vw,710px);display:flex;align-items:center;position:relative;isolation:isolate;padding-block:84px 92px}
.hero-content{position:relative;z-index:1;pointer-events:none}
.hero-content a{pointer-events:auto}
.eyebrow{display:flex;align-items:center;gap:10px;color:#f1e4e6;font-size:.92rem;font-weight:750;letter-spacing:.015em;margin-bottom:29px}
.eyebrow span{width:20px;height:1px;background:var(--red)}
.hero h1,.section-head h2,.about h2{font-size:clamp(4rem,8.2vw,7.8rem);line-height:.98;letter-spacing:-.092em;font-weight:750}
.hero h1 em{color:var(--red-light);font-style:normal;font-weight:500}
.hero-copy{max-width:390px;margin-top:30px;font-size:clamp(1rem,1.35vw,1.2rem);color:#e4dadc;text-wrap:pretty}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:51px;padding:11px 22px;border:1px solid transparent;border-radius:100px;font-weight:800;font-size:.94rem;text-align:center;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform 140ms var(--ease-out)}
.button:active{transform:scale(.98)}
.primary{background:var(--red);color:#110609}
.primary:hover{background:#ff536a}
.secondary{border-color:#6f424a;background:#151215d9;color:var(--white)}
.secondary:hover{border-color:var(--red-light);background:#30171d}
.hero-art{position:absolute;z-index:0;inset:18px -2% 22px 25%;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 65% 51%,#510914 0%,#24080e 38%,transparent 70%);mask-image:linear-gradient(to right,transparent 0%,black 32%,black 93%,transparent 100%)}
.hero-art::before{content:"";position:absolute;inset:5% 2% 2% 8%;background-image:linear-gradient(#ff71871c 1px,transparent 1px),linear-gradient(90deg,#ff71871c 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(ellipse,#000 8%,transparent 69%);pointer-events:none}
.hero-art canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.hero-motion{position:absolute;z-index:2;top:24px;right:0;min-height:40px;padding:6px 12px;border:1px solid #503b42;border-radius:100px;background:#0b0b0cbd;color:var(--muted);font-size:.78rem;font-weight:750;cursor:pointer}
.hero-motion:hover{border-color:var(--red-light);color:var(--white)}
@keyframes rise-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes art-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
  .hero-content>*{animation:rise-in 480ms var(--ease-out) both}
  .hero-content>h1{animation-delay:65ms}.hero-copy{animation-delay:130ms}.hero-content>.actions{animation-delay:195ms}
  .hero-art{animation:art-in 760ms var(--ease-out) both}
}

.work{background:#121113;border-block:1px solid var(--line);padding-block:clamp(58px,8vw,112px)}
.section-head{display:grid;grid-template-columns:1.2fr .8fr;align-items:end;margin-bottom:44px;gap:24px}
.section-head h2,.about h2{font-size:clamp(3.8rem,7.6vw,7rem)}
.section-head>p{justify-self:end;max-width:330px;color:var(--muted);margin-bottom:5px;text-wrap:pretty}
.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,4vw,58px) clamp(18px,2.4vw,34px)}
.project{min-width:0}
.project-visual{display:grid;place-items:center;position:relative;aspect-ratio:1.65;overflow:hidden;border-radius:18px;background:var(--cover);padding:8% 10%;isolation:isolate}
.project-visual::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(143deg,#fff5,transparent 55%,#0003);pointer-events:none}
.belograi{--cover:#a6c598}.selpult{--cover:#255647}.toldik{--cover:#c39484}.study{--cover:#86a3db}
.window,.product-preview{width:100%;box-shadow:0 16px 38px #07060795;transition:transform 250ms var(--ease-out);border-radius:9px;overflow:hidden}
.window{display:block;background:#252326;aspect-ratio:1.79;border:1px solid #fffa}
.window-bar{display:flex;align-items:center;gap:4px;height:13px;background:#f1ebe7;padding-inline:7px}
.window-bar i{width:4px;height:4px;background:#a29895;border-radius:100%}
.window img{width:100%;height:calc(100% - 13px);object-fit:cover;object-position:top}
.product-preview{display:flex;flex-direction:column;justify-content:center;gap:4%;aspect-ratio:1.79;padding:7% 9%;background:#09291f url(assets/selpult-emerald.webp) center/cover;color:#e8fcf0;border:1px solid #73a794}
.product-name,.product-caption{font-size:clamp(.66rem,1.05vw,1rem);font-weight:750;white-space:nowrap}
.product-name b{display:inline-grid;place-items:center;background:#a0eeba;color:#123528;border-radius:4px;width:1.35em;height:1.35em;margin-right:.3em}
.product-title{font-size:clamp(1.05rem,3.2vw,3.6rem);font-weight:800;line-height:1.01;letter-spacing:-.06em}
.product-caption{color:#c6ecda}
@media (hover:hover) and (pointer:fine){.project-visual:hover .window,.project-visual:hover .product-preview{transform:scale(1.055) translateY(-2%)}}
.project-info{position:relative;padding:20px 0 0}
.category{font-size:.88rem;color:#e5bfc6;font-weight:700;line-height:1.4}
.project h3{font-size:clamp(1.7rem,3.6vw,3.35rem);letter-spacing:-.062em;line-height:1.08;margin:5px 0 8px}
.project-info>p:not(.category){color:var(--muted);max-width:46ch;text-wrap:pretty}
.case-link{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;color:var(--red-light);font-size:.94rem;font-weight:800;text-underline-offset:4px}
.case-link:hover{text-decoration:underline}

.about{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;padding-block:clamp(66px,9vw,126px);align-items:start}
.about p{max-width:510px;font-size:clamp(1.05rem,1.5vw,1.3rem);color:var(--muted);text-wrap:pretty}
.about p+p{margin-top:18px}
.process{display:grid;gap:0;margin:24px 0 0}
.process div{padding:13px 0 14px;border-top:1px solid var(--line)}
.process dt{font-weight:800}.process dd{margin:3px 0 0;color:var(--muted)}
.contact{padding-block:clamp(55px,8vw,108px);border-top:1px solid var(--line);background:radial-gradient(ellipse at 10% 84%,#360910 0%,transparent 55%),#100e10}
.contact-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(24px,5vw,78px);align-items:start}
.contact h2{font-size:clamp(3.4rem,7.1vw,6.8rem);line-height:.98;letter-spacing:-.085em;font-weight:750}
.contact-intro>p{margin-top:22px;color:var(--muted);max-width:34ch;text-wrap:pretty}
.text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;color:var(--red-light);font-weight:750;text-underline-offset:4px}
.text-link:hover{text-decoration:underline}
.brief{background:#171417;border:1px solid #56343c;border-radius:22px;padding:clamp(19px,3.3vw,42px)}
.brief fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}
.brief legend{padding:0;margin:0 0 16px;font-size:clamp(1.35rem,3vw,1.75rem);font-weight:800;letter-spacing:-.035em}
.brief-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:18px}
.brief-options label{position:relative;display:flex;gap:9px;align-items:center;min-height:57px;padding:10px 11px;border:1px solid #79515a;border-radius:10px;cursor:pointer;font-size:.95rem;line-height:1.35}
.brief-options label:has(input:checked){border-color:var(--red);background:#32151d}
.brief-options input{width:16px;height:16px;margin:0;accent-color:var(--red);flex:none}
.brief-field{display:block;margin:11px 0 5px;font-size:.95rem;font-weight:750}
.brief input[type="text"]{width:100%;min-height:48px;border:1px solid #79515a;border-radius:9px;background:#100e10;color:var(--white);padding:9px 11px;font:inherit;line-height:1.45}
.brief input[type="text"]::placeholder{color:#b59ca2}
.brief-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.brief .button:disabled{cursor:wait;opacity:.7}
.brief-status:not(:empty){margin-top:12px;font-size:.9rem;color:var(--muted)}
.brief-status[data-state="error"]{color:var(--red-light)}
.brief-status[data-state="success"]{color:#b8e9c4}
.site-footer{border-top:1px solid var(--line);min-height:87px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-block:18px}

.case-dialog{background:#181417;color:var(--white);border:1px solid #68404a;border-radius:22px;padding:0;max-width:min(730px,calc(100% - 28px));max-height:calc(100% - 28px);width:100%;box-shadow:0 22px 100px #0008}
.case-dialog::backdrop{background:#09080acd;backdrop-filter:blur(6px)}
.case-inner{padding:clamp(20px,4vw,42px);position:relative}
.case-inner h2{font-size:clamp(2.4rem,7vw,4rem);letter-spacing:-.065em;line-height:1.1;margin-block:7px 13px}
.case-inner .category{padding-right:54px}.case-inner h2{padding-right:33px}
.case-inner p:not(.category){color:var(--muted);max-width:62ch}
.close{cursor:pointer;position:absolute;top:16px;right:16px;width:44px;height:44px;border:1px solid #79515a;border-radius:50%;background:#2d1b23;color:var(--white);font-size:1.6rem;line-height:1}
.close:hover{background:#482732}
.case-deliverables{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:15px 0 0}
.case-deliverables li{border:1px solid #56343c;border-radius:100px;padding:4px 10px;font-size:.88rem;color:#ebc3cd}
#case-media{margin-block:22px}#case-media:empty{display:none}
#case-media img{width:100%;border-radius:10px}
.case-actions{margin-top:18px}

@media(max-width:750px){
  .hero{min-height:610px;align-items:end;padding-block:75px 62px}
  .hero-art{inset:-12px -5% 17% 0;opacity:.92;mask-image:linear-gradient(180deg,transparent 2%,#000 20%,#000 63%,transparent 100%)}
  .hero-motion{top:14px}
  .hero-art::before{inset:0;background-size:37px 37px}
  .hero h1{font-size:clamp(3rem,10.3vw,5.5rem);line-height:1.02;letter-spacing:-.082em}
  .hero-copy{margin-top:21px}.eyebrow{margin-bottom:18px}
  .section-head,.about,.contact-layout{grid-template-columns:1fr}
  .section-head{margin-bottom:32px}.section-head>p{justify-self:start}
}
@media(max-width:560px){
  .site-header{height:68px;grid-template-columns:auto 1fr auto;column-gap:9px}
  .site-header nav{gap:10px}.site-header nav a,.header-contact{font-size:.8rem}.header-contact{padding:7px 9px}
  .brand{font-size:1rem}
  .hero{min-height:530px;padding-bottom:49px}.actions{margin-top:22px}.button{padding-inline:15px;min-height:48px;font-size:.88rem}
  .section-head h2,.about h2{font-size:clamp(3rem,12vw,4.7rem)}
  .projects{grid-template-columns:minmax(0,1fr);gap:32px}.project-visual{border-radius:14px}
  .project-info{padding-top:15px}.project h3{font-size:2.26rem}
  .product-name,.product-caption{font-size:.72rem}.product-title{font-size:clamp(1.3rem,7vw,2rem)}
  .site-footer{flex-wrap:wrap;justify-content:flex-start;gap:10px 20px}
}
@media(max-width:370px){.site-header nav a[href="#about"]{display:none}.brief-options{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.button:active,.project-visual:hover :is(.window,.product-preview){transform:none}}
