:root{--ink:#101311;--paper:#f3f1ea;--line:#c9ccc4;--lime:#d9ff43;--green:#204f3a;--muted:#5b625d;--white:#fff;--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Inter,"Segoe UI",Arial,sans-serif}main{max-width:1500px;margin:auto;padding:0 clamp(20px,4.8vw,76px)}a{color:inherit}
body{overflow-x:hidden}
.site-nav,.case-nav,footer{display:flex;justify-content:space-between;align-items:center;min-height:78px;border-bottom:1px solid var(--line)}.site-nav a,.case-nav a,footer a{text-decoration:none}.site-nav>div{display:flex;gap:clamp(16px,3vw,42px)}.site-nav>div a,.case-nav,.button{font-size:.86rem;font-weight:650}.brand{font-size:1.15rem;font-weight:900;letter-spacing:-.08em}.brand span{color:var(--green);font-size:.6em;margin-left:5px}
.hero{min-height:min(830px,calc(100vh - 78px));display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:end;gap:50px;padding:clamp(70px,10vw,150px) 0 70px;border-bottom:1px solid var(--line)}.label{margin:0 0 24px;font-size:.72rem;letter-spacing:.12em;font-weight:800;color:var(--green)}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(3.3rem,7.8vw,8.3rem);letter-spacing:-.075em;line-height:.9;margin:0 0 42px;max-width:1200px}.hero h1 em,.contact-section h2 em{font-family:Georgia,serif;font-weight:400;color:var(--green)}.intro{max-width:720px;font-size:clamp(1.08rem,1.7vw,1.42rem);line-height:1.5;color:#343a36}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:36px}.button,button{border:1px solid #9da39e;border-radius:999px;background:transparent;padding:12px 18px;text-decoration:none;color:inherit;cursor:pointer;font:inherit;transition:.2s ease}.button.primary{background:var(--ink);border-color:var(--ink);color:white}.button:hover,button:hover:not(:disabled){background:var(--lime);border-color:var(--ink);color:var(--ink);transform:translateY(-1px)}.availability{align-self:end;border-top:1px solid var(--line);padding-top:18px;font-size:.88rem}.availability small{display:block;margin:7px 0 0 18px;color:var(--muted)}.status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#43a463;margin-right:9px;box-shadow:0 0 0 5px rgba(67,164,99,.12)}
.section{padding:clamp(78px,10vw,150px) 0;border-bottom:1px solid var(--line)}.section-head{display:grid;grid-template-columns:minmax(210px,.55fr) minmax(0,1.45fr);gap:40px;margin-bottom:60px}.section-head>p:last-child{font-size:1.2rem;max-width:620px}.section-head h2,.contact-section h2{font-size:clamp(2.5rem,5.6vw,6.2rem);line-height:.94;letter-spacing:-.06em;margin:0}
.project-grid{display:grid;gap:70px}.project-card{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:clamp(24px,5vw,74px);text-decoration:none;align-items:center}.project-card:nth-child(even){grid-template-columns:minmax(300px,.75fr) minmax(0,1.55fr)}.project-card:nth-child(even) .project-visual{order:2}.project-visual,.case-placeholder{position:relative;overflow:hidden;border-radius:var(--radius);min-height:clamp(340px,48vw,680px);background:#cdeee2}.project-my-games .project-visual,.case-placeholder.project-my-games{background:#1b2538;color:#fff}.project-diom .project-visual,.case-placeholder.project-diom{background:var(--lime)}.project-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.project-visual strong,.case-placeholder>span{position:absolute;left:8%;bottom:8%;font-size:clamp(3rem,7vw,7.5rem);letter-spacing:-.08em;line-height:.85;z-index:2}.visual-index{position:absolute;left:8%;top:8%;font-weight:800;letter-spacing:.12em}.project-visual i,.case-placeholder i{position:absolute;width:42%;aspect-ratio:1;border:2px solid currentColor;border-radius:38% 62% 48% 52%;right:10%;top:10%;transform:rotate(18deg);opacity:.55}.project-visual b,.case-placeholder b{position:absolute;width:24%;aspect-ratio:1;border-radius:50%;right:26%;top:27%;background:currentColor;opacity:.16}.project-copy{padding:20px 0}.project-meta{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.project-copy h2{display:flex;justify-content:space-between;gap:20px;font-size:clamp(2.4rem,4vw,4.8rem);line-height:.95;letter-spacing:-.06em;margin:20px 0}.project-copy h2 span{font-size:.45em;transition:.2s}.project-card:hover .project-copy h2 span{transform:translate(5px,-5px)}.project-copy>p:not(.project-meta){font-size:1.08rem;color:#3e4540}.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:28px}.tags span{border:1px solid var(--line);border-radius:999px;padding:6px 11px;font-size:.75rem}
.timeline{border-top:1px solid var(--ink)}.timeline article{display:grid;grid-template-columns:180px minmax(220px,.8fr) minmax(300px,1fr);gap:30px;padding:28px 0;border-bottom:1px solid var(--line);align-items:start}.timeline time{font-size:.8rem;color:var(--muted)}.timeline h3{font-size:1.6rem;letter-spacing:-.03em;margin-bottom:4px}.timeline p,.timeline span{color:var(--muted);margin:0}.expertise-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--ink)}.expertise-grid article{padding:30px 10% 60px 0;border-bottom:1px solid var(--line)}.expertise-grid article:nth-child(odd){border-right:1px solid var(--line)}.expertise-grid article:nth-child(even){padding-left:10%}.expertise-grid span{font-size:.75rem;color:var(--muted)}.expertise-grid h3{font-size:clamp(1.5rem,3vw,2.8rem);letter-spacing:-.04em;margin:34px 0 12px}.expertise-grid p{max-width:480px;color:var(--muted)}
.contact-section{padding:clamp(90px,13vw,180px) 0}.contact-section h2{max-width:1200px}.contact-section>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:54px}.contact-section a{border:1px solid var(--ink);border-radius:999px;padding:13px 20px;text-decoration:none}.contact-section a:hover{background:var(--lime)}footer{border-bottom:0;border-top:1px solid var(--line);color:var(--muted);font-size:.82rem}
.case-nav span{color:var(--muted);font-size:.82rem}.story{padding:0 0 100px}.case-hero{padding:clamp(70px,9vw,135px) 0 70px}.case-hero h1{font-size:clamp(4rem,10vw,10rem);line-height:.82;letter-spacing:-.08em;margin-bottom:40px}.case-lead{font-size:clamp(1.15rem,2vw,1.65rem);max-width:900px;color:#343a36}.case-meta{display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:30px;max-width:900px;margin-top:60px;padding-top:20px;border-top:1px solid var(--line)}.case-meta span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:7px}.case-meta strong{font-size:.95rem}.cover,.story figure img{display:block;width:100%;height:auto;border-radius:var(--radius)}.case-placeholder{min-height:clamp(430px,63vw,880px)}.case-body{max-width:980px;margin:0 auto;padding:clamp(70px,9vw,130px) 0}.case-body h2{font-size:clamp(2.1rem,4.6vw,4.5rem);line-height:.98;letter-spacing:-.055em;margin:100px 0 28px}.case-body h2:first-child{margin-top:0}.paragraph,.result{white-space:pre-wrap;font-size:clamp(1.03rem,1.45vw,1.25rem);line-height:1.7;max-width:760px}.result{max-width:none;background:var(--lime);padding:clamp(25px,4vw,52px);border-radius:18px;font-size:clamp(1.2rem,2.1vw,1.8rem);line-height:1.4;font-weight:650;margin:55px 0}.story figure{margin:70px calc(50% - 50vw)}.story figure img{border-radius:0}.story figcaption{max-width:980px;margin:12px auto;color:var(--muted);font-size:.85rem}
.login,.block{border:1px solid var(--line);background:#fff;border-radius:18px}.login{max-width:460px;margin:70px auto;padding:30px}.login h2{margin-top:0}fieldset{border:0;margin:0;padding:0;min-width:0}.editor{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,2.25fr);gap:35px;padding-bottom:60px}.editor aside{position:sticky;top:20px;align-self:start}.project,.actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.project{margin-top:9px}.project>button:first-child{flex:1;text-align:left;border-radius:10px}.project [aria-current]{background:var(--ink);color:white}.actions{margin-bottom:14px}button{padding:8px 13px;border-radius:9px}button:disabled{opacity:.45;cursor:default}label{display:block;margin:15px 0;font-weight:700;font-size:.88rem}input,textarea,select{display:block;width:100%;margin-top:7px;font:inherit;border:1px solid #a6ada7;border-radius:10px;padding:11px;background:white;color:inherit}textarea{min-height:112px;resize:vertical}.block{margin:18px 0;padding:22px}.thumb{display:block;max-width:min(300px,100%);max-height:190px;object-fit:cover;margin:10px 0;border-radius:10px}.editor .story{padding-top:20px}.editor .case-placeholder{min-height:360px}
@media(max-width:900px){.hero{grid-template-columns:1fr;min-height:auto}.availability{max-width:300px}.section-head,.project-card,.project-card:nth-child(even){grid-template-columns:1fr}.project-card:nth-child(even) .project-visual{order:0}.project-grid{gap:90px}.timeline article{grid-template-columns:130px 1fr}.timeline article>span{grid-column:2}.editor{grid-template-columns:1fr}.editor aside{position:static}.story figure{margin-left:0;margin-right:0}.story figure img{border-radius:var(--radius)}}
@media(max-width:620px){.site-nav{min-height:66px}.site-nav>div a:nth-child(2){display:none}.hero{padding-top:70px}.hero h1{font-size:clamp(3rem,14vw,5.2rem)}.section{padding:80px 0}.section-head{margin-bottom:38px}.project-visual{min-height:360px}.timeline article{grid-template-columns:1fr;gap:8px}.timeline article>span{grid-column:auto}.expertise-grid{grid-template-columns:1fr}.expertise-grid article:nth-child(odd){border-right:0}.expertise-grid article:nth-child(even){padding-left:0}.case-nav span{display:none}.case-meta{grid-template-columns:1fr}.contact-section>div{display:grid}.contact-section a{text-align:center}footer{gap:20px}.editor{display:block}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Visual chapters for Behance case studies */
.project-visual img{object-position:top;transition:transform .55s cubic-bezier(.2,.75,.2,1)}
.project-card:hover .project-visual img{transform:scale(1.025)}
.project-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.2),transparent 28%);pointer-events:none}
.visual-index{left:7%;top:7%;z-index:3;color:#fff;font-size:.76rem;text-shadow:0 1px 12px rgba(0,0,0,.4)}
.story{--case-accent:var(--green)}
.story.project-credit-ural-bank{--case-accent:#0f54b7}
.story.project-segmento{--case-accent:#ff3214}
.story.project-third-eye{--case-accent:#03959a}
.story.project-achimgaz{--case-accent:#f3bd00}
.story.project-transfin{--case-accent:#0a5578}
.story.project-mealfood{--case-accent:#82bd17}
.story .label{color:var(--case-accent)}
.case-hero{position:relative;overflow:hidden}
.case-hero:after{content:"";position:absolute;width:clamp(140px,24vw,340px);aspect-ratio:1;border-radius:50%;right:1%;top:12%;background:var(--case-accent);opacity:.08;pointer-events:none}
.case-hero h1,.case-lead,.case-meta{position:relative;z-index:1}
.case-meta{grid-template-columns:repeat(3,minmax(180px,1fr));max-width:1050px}
.case-meta a{font-size:.95rem;font-weight:700}
.case-cover{padding:clamp(8px,1.2vw,18px);background:var(--case-accent);border-radius:calc(var(--radius) + 8px)}
.case-body{counter-reset:chapter}
.case-body h2{counter-increment:chapter}
.case-body h2:before{content:"CHAPTER " counter(chapter,decimal-leading-zero);display:block;margin-bottom:18px;color:var(--case-accent);font:800 .68rem/1.2 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.14em}
.result{background:var(--case-accent);color:#fff}
.story.project-achimgaz .result,.story.project-mealfood .result{color:var(--ink)}
.story figure{padding:clamp(16px,3vw,48px);background:color-mix(in srgb,var(--case-accent) 18%,#f4f2eb)}
.story figure img{max-width:1500px;margin:auto;border-radius:12px}
.story figcaption{max-width:1500px;margin:12px auto 0}
@media(max-width:900px){.case-meta{grid-template-columns:repeat(2,1fr)}}
