/* UXPerfect Studio — faithful implementation of approved 1024 × 1536 reference. */
:root{color-scheme:light;--ink:#10141a;--dark:#1b2127;--teal:#43d5d0;--paper:#f4f3f5;--wrap:calc(100% - 13%);--font:"Onest",Arial,sans-serif;--display:"Unbounded","Onest",Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
button{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:3px solid var(--teal);outline-offset:5px}
.wrap{width:var(--wrap);max-width:1240px;margin:0 auto}
svg{display:block}
.section-title{font-family:var(--display);font-weight:700;letter-spacing:-.045em;line-height:1.12;margin:0}
.slash{color:var(--teal);font-weight:600;padding-right:11px}
.eyebrow{margin:0;font-size:13px;font-weight:500;letter-spacing:-.014em;line-height:1.3}
.dark{color:#f4f5f5;background:#1c2228;position:relative;isolation:isolate}
.dark::after,.hero-noise{content:"";background:url("assets/grain-dark.webp") repeat;position:absolute;inset:0;z-index:-1;pointer-events:none}
.paper{background:#f4f3f5 url("assets/grain-light.webp") repeat;}
/* HERO */
.hero{height:493px;min-height:493px;position:relative;isolation:isolate;background:radial-gradient(circle at 80% 22%,#2c353e 0,transparent 45%),linear-gradient(115deg,#1c2229,#171b20 66%,#20262e);color:#f7f8fa;clip-path:polygon(0 0,100% 0,100% 90.9%,0 100%);overflow:hidden}
.hero-art{position:absolute;top:0;right:0;width:59%;height:493px;background:url("assets/hero-art.webp") center top/100% 100% no-repeat;z-index:-1;pointer-events:none}
.hero-noise{z-index:-1;opacity:.72}
.site-header{width:calc(100% - 11.3%);margin-left:6.5%;margin-right:4.8%;height:61px;display:flex;align-items:flex-start;gap:20px;justify-content:space-between;position:relative;z-index:10;padding-top:12px}
.brand{display:flex;align-items:center;gap:7px;white-space:nowrap;padding-top:2px}
.brand-mark{width:38px;height:38px;display:block;flex:0 0 38px;object-fit:contain;margin-right:4px}
.brand-name{font-weight:900;font-size:20px;letter-spacing:-.055em;line-height:1.15}
.brand-slash{color:var(--teal);font-size:21px;margin-left:2px;font-weight:700}
.brand-aside{font-size:14px;letter-spacing:.003em;color:#c7ccd1;font-weight:500}
.desktop-nav{display:flex;align-items:center;gap:35px;transform:translateX(24px);margin-left:auto;margin-right:auto;padding-top:10px}
.desktop-nav a{font-size:12px;font-weight:700;white-space:nowrap;transition:color .2s}
.desktop-nav a:hover{color:var(--teal)}
.header-cta{width:160px;height:34px;border-radius:10px;background:var(--teal);color:#061218;display:inline-flex;align-items:center;justify-content:center;gap:13px;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 5px 20px rgba(57,218,213,.15);transition:background .2s,transform .2s}
.header-cta:hover{background:#6cebe4;transform:translateY(-2px)}

.menu-toggle{display:none}
.mobile-nav[hidden]{display:none}
.hero-inner{position:relative;z-index:2;padding-top:11px}
.hero-eyebrow{color:#d4dae0;display:flex;align-items:center;gap:0;height:23px}
.hero-eyebrow .slash{font-size:19px;padding-right:14px}
.hero h1{margin:13px 0 0;font-family:var(--display);font-size:47px;line-height:1.17;font-weight:800;letter-spacing:-.052em;width:max-content;max-width:57%;text-transform:uppercase}
.hero h1 em{font-style:normal;color:var(--teal)}
.hero-description{font-size:17px;line-height:1.25;color:#d5d9de;margin:12px 0 0;font-weight:400;letter-spacing:-.023em}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;transition:transform .2s,box-shadow .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none}
.button-white{background:#fff;color:#0f151b;box-shadow:0 6px 17px rgba(0,0,0,.12)}
.hero-button{width:205px;height:45px;border-radius:11px;margin-top:19px;padding:0 20px 0 22px;font-size:14px;font-weight:800;letter-spacing:-.02em}
/* INTRO AND SERVICES */
.services{min-height:364px;padding:21px 0 30px}
.services-top{display:grid;grid-template-columns:48.6% 51.4%;gap:0}
.dark-eyebrow{color:#1b2129;display:flex;align-items:center}
.dark-eyebrow .slash{font-size:21px;padding-right:13px}
.what-title{font-size:45px;line-height:1.1;letter-spacing:-.045em;margin:4px 0 0}
.services-intro{margin:7px 0 0;font-size:14px;letter-spacing:-.021em;line-height:1.27;color:#111820;max-width:465px}
.service-grid{display:grid;grid-template-columns:24.4% 26.4% 28.1% 21.1%;margin-top:25px}
.service{min-height:154px;padding:0 17px 0 30px;border-left:1px solid #b6b6b9;position:relative;display:flex;flex-direction:column;align-items:flex-start}
.service:first-child{border-left:0;padding-left:0}
.service:last-child{padding-right:0;padding-left:24px}
.service-num{display:block;font-family:var(--display);font-size:44px;line-height:1.15;letter-spacing:-.055em;font-weight:700;color:#b4b4b8}
.service h3{font-size:23px;line-height:1.1;margin:2px 0 7px;letter-spacing:-.05em;font-weight:900;white-space:nowrap}
.service p{font-size:14px;line-height:1.24;margin:0;letter-spacing:-.02em}
.service-contact{display:inline-block;margin-top:auto;padding-top:10px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:.18em}




/* FORMATS */
.formats{min-height:187px;padding:23px 0 20px}
.formats .wrap{width:calc(100% - 10%)}
.formats-title{font-size:34px;letter-spacing:-.045em;white-space:nowrap}
.formats-title .slash{font-size:31px;padding-right:10px;font-weight:400}
.formats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:26px;column-gap:0}
.format-item{display:flex;align-items:flex-start;gap:17px;border-left:1px solid #6b7074;padding:2px 14px 0 27px;min-height:69px}
.format-item:first-child{border-left:0;padding-left:0}
.format-item:last-child{padding-right:0;padding-left:27px}
.format-icon{height:46px;width:46px;color:var(--teal);flex:none;opacity:1;transform:translateY(-3px)}
.format-item h3{font-size:17px;line-height:1.2;margin:0 0 7px;letter-spacing:-.03em;font-weight:800;white-space:nowrap}
.format-item p{font-size:12px;line-height:1.4;margin:0;color:#d2d6da;letter-spacing:-.024em}
/* SELECTED CASES */
.cases{min-height:331px;padding:32px 0 25px}
.cases .wrap{width:calc(100% - 7.6%);max-width:1340px}
.cases-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.cases-heading h2{font-size:35px;letter-spacing:-.045em;white-space:nowrap}
.cases-heading .slash{font-size:32px;padding-right:10px;font-weight:400}
.all-cases{display:inline-flex;align-items:center;gap:14px;font-size:13px;font-weight:800;white-space:nowrap;transition:color .2s}
.all-cases:hover{color:#008f8c}
.all-cases svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:27px}
.case-card{min-width:0;display:block}
.case-card img{width:100%;height:140px;display:block;object-fit:cover;border-radius:10px;border:1px solid rgba(21,32,43,.13);transition:transform .2s,filter .2s}
.case-card:hover img{filter:brightness(1.08);transform:translateY(-3px)}
.case-card-title{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:16px;letter-spacing:-.038em;font-weight:900;line-height:1.25;margin-top:7px}
.case-card-title svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.case-card-desc{display:block;font-size:12px;letter-spacing:-.02em;line-height:1.3;margin-top:3px}
/* CTA */
.contact-footer{min-height:161px;padding:28px 0 23px;overflow:hidden;background:radial-gradient(ellipse 340px 250px at 76% 99%,rgba(17,138,133,.37),transparent 83%),linear-gradient(120deg,#1c2228,#1a2128)}
.contact-footer::after{z-index:-1}
.footer-ribbon{position:absolute;z-index:-1;inset:0;overflow:hidden;pointer-events:none}
.footer-ribbon::before{content:"";position:absolute;width:620px;height:300px;right:-230px;top:32px;transform:rotate(-29deg);border-radius:50%;border:73px solid transparent;border-top-color:rgba(62,222,214,.74);box-shadow:0 0 58px rgba(13,224,213,.12);filter:blur(.4px)}
.contact-inner{display:grid;grid-template-columns:44.5% 55.5%;align-items:center;min-height:100px}
.contact-inner h2{font-family:var(--display);font-size:43px;line-height:1.16;letter-spacing:-.05em;margin:0;font-weight:700}
.contact-inner h2 span{color:var(--teal)}
.contact-buttons{border-left:1px solid #9ba5ac;min-height:66px;padding-left:30px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.contact-button{height:44px;border-radius:9px;font-size:12px;font-weight:800;letter-spacing:-.027em;white-space:nowrap;padding:0 12px;gap:9px;justify-content:center}
.contact-button:first-child{min-width:214px}
.contact-button:last-child{min-width:205px}

.contact-button .telegram-logo,.contact-button .max-logo{width:22px;height:22px;stroke:none;fill:currentColor;margin-right:1px}
.button-outline{color:#fff;border:1px solid #fff;background:rgba(18,28,33,.2)}
.button-outline:hover{background:rgba(255,255,255,.12)}
/* Viewports between the reference and widescreen. Preserve the reference proportions as long as practical. */
@media (min-width:1100px){
 .hero{height:clamp(493px,44vw,628px);min-height:unset}
 .hero-art{top:0;height:100%}
 .site-header{height:clamp(61px,5.9vw,78px)}
 .hero-inner{padding-top:clamp(11px,1vw,19px)}
 .hero h1{font-size:clamp(47px,3.8vw,55px);max-width:58%}
 .hero-description{font-size:clamp(17px,1.5vw,21px)}
 .services{padding-block:clamp(21px,2.1vw,36px) clamp(35px,3.2vw,48px)}
 .what-title{font-size:clamp(45px,3.7vw,53px)}
 .services-intro{font-size:clamp(14px,1.26vw,18px)}
 .service{min-height:175px}
 .formats{padding-block:30px}
 .cases{padding-block:38px}
 .case-card img{height:auto;aspect-ratio:2.2;object-fit:cover}
 .contact-footer{padding-block:34px}
}
@media (max-width:940px) and (min-width:701px){
 .site-header{gap:10px}.brand-name{font-size:18px}.brand-aside{font-size:12px}.desktop-nav{gap:18px}.desktop-nav a{font-size:11px}.header-cta{width:145px;font-size:11px}
 .hero h1{font-size:clamp(35px,4.6vw,43px);max-width:58%}
 .service h3{font-size:clamp(17px,2.3vw,22px)}
 .service p{font-size:clamp(11px,1.44vw,14px)}
 .service{padding-left:20px}
 .format-item{gap:10px;padding-left:16px}.format-item h3{font-size:15px}.format-item p{font-size:11px}.format-icon{width:38px;height:38px}
 .contact-buttons{gap:10px;padding-left:20px}.contact-button:first-child,.contact-button:last-child{min-width:unset;padding-inline:11px}
}
@media(max-width:700px){
 :root{--wrap:calc(100% - 40px)}
 .hero{height:auto;min-height:650px;clip-path:polygon(0 0,100% 0,100% 97%,0 100%);padding-bottom:95px}
 .site-header{width:var(--wrap);margin-left:auto;margin-right:auto;height:66px;align-items:center;padding-top:0}
 .brand-name{font-size:17px}.brand-aside{font-size:12px}.brand-slash{font-size:18px}
 .desktop-nav,.header-cta{display:none}
 .menu-toggle{display:flex;width:40px;height:40px;flex-direction:column;justify-content:center;align-items:center;gap:6px;background:transparent;border:1px solid rgba(255,255,255,.5);border-radius:9px;position:relative;z-index:11}
 .menu-toggle span{height:2px;width:18px;background:#fff;border-radius:3px;transition:transform .2s}
 .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
 .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-4px) rotate(-45deg)}
 .mobile-nav:not([hidden]){display:flex;flex-direction:column;gap:0;position:absolute;top:63px;left:20px;right:20px;z-index:20;background:#253039;border:1px solid rgba(255,255,255,.22);border-radius:12px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.25)}
 .mobile-nav a{padding:15px 19px;border-bottom:1px solid rgba(255,255,255,.1);font-size:14px;font-weight:700}
 .mobile-nav a:last-child{border:0}
 .hero-art{top:270px;right:-100px;width:110%;height:395px;opacity:.64;background-size:100% 100%}
 .hero::before{content:"";position:absolute;z-index:0;inset:250px 0 0;background:linear-gradient(#1a2027 0%,rgba(26,32,39,.06) 45%,#1a2027 98%);pointer-events:none}
 .hero-inner{padding-top:30px}
 .hero-eyebrow{font-size:10px}
 .hero h1{font-size:clamp(22px,6.7vw,35px);line-height:1.22;max-width:100%;letter-spacing:-.045em;margin-top:18px;position:relative;z-index:2}
 .hero-description{font-size:16px;max-width:325px;position:relative;z-index:2;margin-top:22px}
 .hero-button{position:relative;z-index:2;margin-top:22px}
 .services{min-height:0;padding:48px 0 51px}
 .services-top{display:block}
 .what-title{font-size:clamp(23px,7vw,42px);line-height:1.18;margin-top:13px}
 .services-intro{margin-top:25px;font-size:15px;max-width:560px;line-height:1.45}
 .wide-only{display:none}
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px;margin-top:33px}
 .service{min-height:170px;padding:0 5px 0 18px}
 .service:nth-child(odd){border-left:none;padding-left:0}
 
 .service:last-child{padding-left:18px}
 
 .service-num{font-size:38px}
 .service h3{font-size:19px;white-space:normal}
 .service p{font-size:13px}
 .formats{padding:40px 0 46px}
 .formats .wrap{width:var(--wrap)}
 .formats-title{font-size:clamp(20px,5.6vw,31px);white-space:normal;line-height:1.25}
 .formats-grid{grid-template-columns:1fr;margin-top:26px;gap:24px}
 .format-item,.format-item:last-child{padding:0;border:none;gap:19px}
 .format-icon{width:46px;height:46px}
 .format-item h3{font-size:18px}.format-item p{font-size:13px}
 .cases{padding:47px 0 50px}
 .cases .wrap{width:var(--wrap)}
 .cases-heading{align-items:flex-end}
 .cases-heading h2{font-size:clamp(20px,5.5vw,33px);white-space:normal;line-height:1.2}
 .cases-heading .slash{font-size:26px}
 .all-cases{font-size:12px;gap:6px}.all-cases svg{width:18px}
 .case-grid{grid-template-columns:1fr;gap:28px;margin-top:24px}
 .case-card img{height:auto;aspect-ratio:2.22}
 .case-card-title{font-size:19px}
 .case-card-desc{font-size:14px}
 .contact-footer{padding:48px 0 55px}
 .contact-inner{display:block}
 .contact-inner h2{font-size:clamp(25px,7.4vw,42px)}
 .contact-buttons{border-left:0;border-top:1px solid rgba(255,255,255,.38);min-height:0;padding:25px 0 0;margin-top:29px;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px}
 .contact-button:first-child,.contact-button:last-child{min-width:0;flex:1 1 180px;justify-content:center;padding:0 13px}
 .footer-ribbon::before{right:-390px;top:140px;opacity:.75}
}
@media(max-width:380px){:root{--wrap:calc(100% - 30px)}.hero h1{font-size:clamp(21px,6.6vw,24px)}.hero{min-height:640px}.service h3{font-size:17px}.case-grid{gap:24px}.contact-button{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}



/* Client logos block */
.experience-band{
  position:relative;
  background:linear-gradient(180deg,#1d1f22 0%,#191b1d 100%);
  color:#d9dbde;
  padding:54px 0 68px;
  border-top:1px solid rgba(255,255,255,.03);
  border-bottom:1px solid #282a2d;
}
.experience-band::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% -10%, rgba(66,215,208,.10), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(66,215,208,.06), transparent 24%);
}
.experience-head{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(280px, 430px) minmax(280px, 560px);
  justify-content:space-between;
  align-items:end;
  gap:22px 28px;
  margin-bottom:28px;
}
.experience-eyebrow{margin:0 0 10px;color:#aeb6bf;font-size:12px;letter-spacing:.14em}
.experience-eyebrow .slash{color:var(--teal);margin-right:8px}
.experience-title{margin:0;color:#f3f5f7;font-family:var(--display);font-size:clamp(28px,3.15vw,41px);font-weight:700;line-height:1.15;letter-spacing:-.045em}
.experience-copy{margin:0 0 4px;color:#98a0aa;font-size:18px;line-height:1.48;max-width:560px}
.experience-logos-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.experience-logo{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:136px;
  padding:18px;
  overflow:hidden;
  border-radius:18px;
  background:linear-gradient(180deg,#2b2d30 0%, #25272a 100%);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  text-decoration:none;
  transition:transform .24s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.experience-logo::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0));
  pointer-events:none;
}

.experience-logo__surface{
  width:100%;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.experience-logo img{
  display:block;
  width:100%;
  max-width:82%;
  height:56px;
  object-fit:contain;
  opacity:.64;
  filter:grayscale(1);
  transition:opacity .24s ease, filter .24s ease, transform .24s ease;
}


.experience-logo:hover img{opacity:1;filter:grayscale(0)}


.experience-logo--finam img{height:84px;width:auto;max-width:72%}
.experience-logo--severny img{height:58px;max-width:86%}
.experience-logo--svyaznoy img{width:min(100%,310px);max-width:86%;height:auto;aspect-ratio:560/97}
.experience-logo--fonmix img{width:min(100%,300px);max-width:90%;height:auto;aspect-ratio:749/160}
.experience-logo--geotar img{width:min(100%,250px);max-width:82%;height:auto;aspect-ratio:230/47;opacity:.58}

.experience-gosuslugi-lockup{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  max-width:100%;
  color:#edf0f2;
  font-family:Onest,Arial,sans-serif;
  font-size:clamp(16px,1.65vw,24px);
  font-weight:700;
  white-space:nowrap;
}
.experience-logo--gosuslugi .experience-gosuslugi-lockup img{width:52px;min-width:52px;height:52px;max-width:none;filter:grayscale(1);opacity:.65;transition:opacity .24s ease, filter .24s ease, transform .24s ease}
.experience-logo--gosuslugi:hover .experience-gosuslugi-lockup img{filter:grayscale(0);opacity:1}

@media(hover:none){
  .experience-logo{transform:none}
  .experience-logo img{opacity:.84}
  .experience-logo--geotar img{opacity:.76}
  .experience-logo--gosuslugi .experience-gosuslugi-lockup img{opacity:.85}
}
@media(max-width:900px){
  .experience-band{padding:42px 0 54px}
  .experience-head{grid-template-columns:1fr;align-items:start;margin-bottom:22px;gap:14px}
  .experience-copy{font-size:15px;line-height:1.45;max-width:600px}
  .experience-logos-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .experience-logo{min-height:112px;padding:14px 12px;border-radius:14px}
  .experience-logo__surface{min-height:60px}
  .experience-logo img{height:47px;max-width:90%}
  .experience-logo--finam img{height:72px;max-width:73%}
  .experience-logo--severny img{height:48px;max-width:92%}
  .experience-logo--svyaznoy img{width:min(100%,275px);max-width:95%;height:auto}
  .experience-logo--fonmix img{max-width:97%}
  .experience-logo--geotar img{max-width:86%}
  .experience-gosuslugi-lockup{gap:8px;font-size:18px}
  .experience-logo--gosuslugi .experience-gosuslugi-lockup img{width:42px;min-width:42px;height:42px}
}
@media(max-width:700px){
  .experience-title{font-size:clamp(23px,6.6vw,37px)}
  .experience-copy{font-size:14px}
}
@media(max-width:380px){
  .experience-band{padding:38px 0 48px}
  .experience-logo{min-height:96px;padding:12px 10px}
  .experience-logo__surface{min-height:52px}
  .experience-logo img{height:40px}
  .experience-logo--finam img{height:62px;max-width:80%}
  .experience-logo--severny img{height:40px;max-width:92%}
  .experience-logo--svyaznoy img{max-width:100%;height:auto}
  .experience-gosuslugi-lockup{gap:6px;font-size:15px}
  .experience-logo--gosuslugi .experience-gosuslugi-lockup img{width:34px;min-width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){.experience-logo,.experience-logo::after,.experience-logo img,.experience-logo--gosuslugi .experience-gosuslugi-lockup img{transition:none}}

/* Logo cards: no bottom accent stripe */
.experience-logo::after{display:none !important;}

/* Responsive typography safeguards: Unbounded is wider than Onest. */
@media (min-width:701px) and (max-width:1099px){
  .what-title{font-size:clamp(29px,4vw,43px)}
  .formats-title{font-size:clamp(26px,3vw,34px)}
  .cases-heading h2{font-size:clamp(26px,3vw,35px)}
  .contact-inner h2{font-size:clamp(30px,4vw,43px)}
}
@media (max-width:700px){
  .section-title,.experience-title,.contact-inner h2{overflow-wrap:normal}
  .cases-heading{align-items:center}
  .all-cases{flex:none}
}

/* B2C circular mark recolored to B2B teal. Preserve minimum logo size on small screens. */
@media(max-width:700px){
 .brand-mark{width:34px;height:34px;flex-basis:34px;margin-right:2px}
 .brand{gap:6px}
}
@media(max-width:380px){
 .brand-mark{width:30px;height:30px;flex-basis:30px;margin-right:1px}
 .brand{gap:5px}
 .brand-aside{font-size:11px}
 .brand-name{font-size:15px}
 .brand-slash{font-size:16px}
}

/* Typography fix 2026-11-09: match Figma Unbounded ExtraBold + Onest. */
.hero h1 { font-family:"Unbounded", "Onest", Arial, sans-serif; font-weight:800; font-synthesis:none; }
.section-title, .experience-title, .contact-inner h2 {font-family:"Unbounded", "Onest", Arial, sans-serif; font-weight:700; font-synthesis:none;}
.service-num {font-family:"Unbounded", "Onest", Arial, sans-serif; font-weight:700;}
/* Keep actual display glyphs inside the narrow viewport, not only their CSS box. */
@media (max-width:700px){.hero h1 { width:max-content;max-width:100%;font-size:clamp(20px,6.2vw,34px);letter-spacing:-.045em;line-height:1.20;}}
@media (max-width:380px){.hero h1{font-size:clamp(19px,6vw,24px)}}


/* Featured work uses the covers, proportions and captions from the case catalogue. */
.featured-work {
  background: #191919;
  color: #f2f2f2;
  padding: 64px 0 80px;
}
.featured-work .featured-inner { width: min(900px, calc(100% - 48px)); margin-inline: auto; }
.featured-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.featured-heading h2 { margin: 0; font: 700 clamp(23px, 2.6vw, 34px)/1.2 var(--display); letter-spacing: -.045em; }
.featured-heading h2 .slash { padding-right: .16em; }
.featured-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.featured-all svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.65; }
.featured-all:hover { color: var(--teal); }
.featured-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.featured-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: 17px; border: 1px solid #393939; background: #242424;
  color: #e6e6e6; text-decoration: none; box-shadow: 0 1px 3px rgb(0 0 0 / 35%);
  transition: border-color .15s, background-color .15s;
}
.featured-card:hover { background: #2e2e2e; border-color: #4a4a4a; }
.featured-card:focus-visible, .featured-all:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.featured-cover { width: 100%; aspect-ratio: 2.3 / 1; overflow: hidden; background: #292929; }
.featured-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.featured-card[href$="/severny-zavoz.html"] img { object-position: 32% 50%; }
.featured-name { margin: 0; min-height: 94px; padding: 14px 18px; font: 600 19px/1.35 var(--font); letter-spacing: -.015em; }
.featured-name .emoji { margin-inline-end: .35em; }
@media (max-width: 700px) {
  .featured-work { padding: 44px 0 56px; }
  .featured-gallery { gap: 18px; }
  .featured-name { min-height: 84px; padding: 12px 15px; font-size: 17px; }
}
@media (max-width: 600px) {
  .featured-work .featured-inner { width: calc(100% - 32px); }
  .featured-heading { gap: 12px; margin-bottom: 18px; }
  .featured-heading h2 { font-size: clamp(20px, 5vw, 26px); }
  .featured-all { font-size: 13px; gap: 5px; }
  .featured-all svg { width: 16px; height: 16px; }
  .featured-gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .featured-name { min-height: 76px; padding: 12px 14px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-card { transition: none; }
}

.brand-text { display: flex; align-items: center; gap: 10px; }
.brand-text .brand-aside { font-size: 12px; line-height: 1.2; }
.hero .hero-button { justify-content: center; }
@media (max-width: 1099px) {
  .brand-text { flex-direction: column; align-items: flex-start; gap: 2px; }
  .brand-text .brand-aside { font-size: 10px; }
  .site-header .desktop-nav { transform: none; }
}

/* The light services panel keeps its own text palette in either host theme. */
#services.paper { color-scheme: light; color: #111820; }
#services.paper #services-title,
#services.paper .service h3,
#services.paper .service p { color: #111820; }

.featured-card {
  position: relative;
  transition:
    box-shadow 280ms cubic-bezier(.2, .7, .25, 1),
    border-color 280ms ease,
    background-color 280ms ease;
}
/* Keep keyboard navigation visible without moving the layout. */
.featured-card:focus-visible {
  outline: 2px solid #b1b1b1;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .featured-card:hover .featured-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .13em; }
  .featured-card:hover {
    border-color: rgba(55, 53, 47, .28);
    box-shadow: 0 16px 35px rgba(10, 10, 10, .20), 0 0 0 1px rgba(55, 53, 47, .09);
  }
  .featured-work .featured-card:hover {
    border-color: #656565;
    box-shadow: 0 17px 38px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07);
  }
}
@media (prefers-reduced-motion: reduce) {
  .featured-card { transition: none; }
}

/* Approved UXPerfect contact footer. */
.contact-footer.contact-footer--expanded {
  padding: 80px 0 40px;
  min-height: 0;
  background: #151A2A;
  color: #fff;
}
.contact-footer--expanded::before,
.contact-footer--expanded::after { display: none; }
.contact-footer--expanded .footer-invite {
  display: grid;
  grid-template-columns: minmax(0, 724fr) minmax(0, 400fr);
  column-gap: 9.35483871%;
  align-items: start;
}
.contact-footer--expanded h2 {
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: clamp(42px, 3.75vw, 72px);
  font-weight: 700;
  font-synthesis: none;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin: 0;
}
.contact-footer--expanded h2 span { color: #43D5D0; }
.contact-footer--expanded .footer-contact p {
  font-family: "Onest", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
  margin: 0 0 24px;
}
.footer-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-footer--expanded .footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 256.25px;
  max-width: 100%;
  min-height: 56.25px;
  border-radius: 13.75px;
  text-decoration: none;
  font-family: "Onest", sans-serif;
  line-height: 22px;
  transition: background-color .2s, color .2s;
}
.contact-footer--expanded .footer-contact-link--primary { background: #43D5D0; color: #151A2A; font-size: 17.5px; font-weight: 800; }
.contact-footer--expanded .footer-contact-link--primary:hover { background: #31B9B5; }
.contact-footer--expanded .footer-contact-link--secondary { border: 1px solid #303753; color: #fff; font-size: 16px; font-weight: 500; }
.contact-footer--expanded .footer-contact-link--secondary:hover { background: #303753; }
.contact-footer--expanded .footer-lower { margin-top: 96px; }
.contact-footer--expanded .footer-links { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 22px; }
.contact-footer--expanded .footer-descriptor { color: #A2A5B5; font: 500 16px/20px "Onest", sans-serif; letter-spacing: 0; }
.contact-footer--expanded .footer-navigation { display: flex; align-items: center; gap: 36px; }
.contact-footer--expanded .footer-navigation a { color: #fff; font: 700 16px/22px "Onest", sans-serif; letter-spacing: 0; text-decoration: none; }
.contact-footer--expanded .footer-navigation a:hover { color: #43D5D0; }
.contact-footer--expanded .footer-wordmark {
  display: flex;
  white-space: nowrap;
  margin-top: 48px;
  font-family: "Unbounded", "Onest", sans-serif;
  font-size: clamp(32px, 8.85416667vw, 170px);
  font-weight: 800;
  font-synthesis: none;
  line-height: 1.2;
  letter-spacing: -.05em;
}
.contact-footer--expanded .footer-wordmark span:first-child { color: #43D5D0; }
@media (max-width: 900px) {
  .contact-footer--expanded .footer-invite { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-footer--expanded .footer-contact p { font-size: 18px; line-height: 26px; }
  .contact-footer--expanded .footer-lower { margin-top: 64px; }
  .contact-footer--expanded .footer-links { flex-wrap: wrap; }
  .contact-footer--expanded .footer-navigation { flex-wrap: wrap; gap: 24px; }
  .contact-footer--expanded h2 { font-size: clamp(28px, 6vw, 52px); }
  .contact-footer--expanded .footer-wordmark { font-size: 11vw; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-footer--expanded .footer-contact-link { transition: none; }
}

/* Finam and Gosuslugi: 20% larger inside the existing marquee slots. */
.logo-entry--finam > img,
.logo-entry--gosuslugi > .experience-gosuslugi-lockup {
  transform: scale(1.2);
  transform-origin: center;
}

/* Equal gaps between visible artwork, including the loop boundary. */
.experience-band .logo-window { --logo-gap: 128px; display: block; }
.experience-band .logo-track {
  display: flex;
  width: max-content;
  max-width: none;
  container-type: normal;
  animation: ux-logo-marquee 66s linear infinite;
}
.experience-band .logo-sequence {
  position: static;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--logo-gap);
  width: max-content;
  height: 108px;
  margin: 0;
  padding: 0 var(--logo-gap) 0 0;
  list-style: none;
}
.experience-band .logo-entry {
  position: static;
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  height: 108px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  animation: none;
  transform: none;
}
.experience-band .logo-entry .logo-art {
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: calc(var(--logo-width) * var(--art-visible));
  height: calc(var(--logo-width) / var(--art-ratio));
}
.experience-band .logo-entry .logo-art > img {
  position: absolute;
  display: block;
  left: calc(var(--logo-width) * var(--art-left) * -1);
  top: 0;
  width: var(--logo-width);
  min-width: 0;
  max-width: none;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.experience-band .logo-entry--finam {
  --logo-width: 83.657142857px;
  --art-ratio: 1.142857143;
  --art-left: .0833333333;
  --art-visible: .8333333333;
}
.experience-band .logo-entry--gosuslugi {
  --logo-width: 46.8px;
  --art-ratio: 1;
  --art-left: .15625;
  --art-visible: .6875;
  --gos-text-size: 26.4px;
  --gos-internal-gap: 12px;
}
.experience-band .logo-entry--gosuslugi > .experience-gosuslugi-lockup {
  transform: none;
  max-width: none;
  gap: calc(var(--gos-internal-gap) + var(--logo-width) * .15625);
  font-size: var(--gos-text-size);
}
.experience-band .logo-entry--severny {
  --logo-width: min(calc(var(--tile-width) * .58), 180.033333333px);
  --art-ratio: 4.091666667;
  --art-left: 0;
  --art-visible: .9750509165;
}
.experience-band .logo-entry--geotar {
  --logo-width: min(calc(var(--tile-width) * .58), 215.319148936px);
  --art-ratio: 4.893617021;
  --art-left: 0;
  --art-visible: 1;
}
.experience-band .logo-entry--fonmix {
  --logo-width: min(calc(var(--tile-width) * .58), 205.975px);
  --art-ratio: 4.68125;
  --art-left: .0200267023;
  --art-visible: .9549399199;
}
.experience-band .logo-entry--svyaznoy {
  --logo-width: min(calc(var(--tile-width) * .58), 254.020618557px);
  --art-ratio: 5.773195876;
  --art-left: .0053571429;
  --art-visible: .9892857143;
}
@keyframes ux-logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .experience-band .logo-window { --logo-gap: 88px; }
  .experience-band .logo-sequence,
  .experience-band .logo-entry { height: 82px; }
  .experience-band .logo-entry--finam { --logo-width: 67.2px; }
  .experience-band .logo-entry--gosuslugi { --logo-width: 36px; --gos-text-size: 20.4px; }
}
@media (prefers-reduced-motion: reduce) {
  .experience-band .logo-track { animation: none; }
  .experience-band .logo-sequence[aria-hidden="true"] { display: none; }
}

/* Contact copy under the heading; actions aligned with its top edge. */
.contact-footer--expanded .footer-description {
  margin: 24px 0 0;
  font-family: "Onest", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
}
.contact-footer--expanded .footer-contact { align-self: start; }
@media (max-width: 900px) {
  .contact-footer--expanded .footer-description { font-size: 18px; line-height: 26px; }
}

/* Align the primary button with the turquoise line of the heading. */
.contact-footer--expanded .footer-contact {
  padding-top: calc(clamp(42px, 3.75vw, 72px) * 1.8 - 28.125px);
}
/* Match the MAX label baseline to the first description line. */
@media (min-width: 901px) {
  .contact-footer--expanded .footer-contact-actions {
    gap: calc(clamp(42px, 3.75vw, 72px) * .6 - 16.92px);
  }
}
@media (max-width: 900px) {
  .contact-footer--expanded .footer-contact { padding-top: 0; }
}

/* More visible outline for the secondary contact action. */
.contact-footer--expanded .footer-contact-link--secondary {
  border: 2px solid rgba(162, 165, 181, .5);
}

/* Case links retain whole-card navigation without underlined titles. */
.featured-work .featured-card,
.featured-work .featured-card .featured-name {
  text-decoration: none;
}
.featured-work .featured-card .featured-name {
  transition: color 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ux-theme-navy .featured-work .featured-card:hover {
    border-color: var(--teal, #43D5D0);
    box-shadow: 0 0 0 1px var(--teal, #43D5D0), 0 17px 38px rgba(0, 0, 0, .55);
    text-decoration: none;
  }
  .ux-theme-navy .featured-work .featured-card:hover .featured-name {
    color: var(--teal, #43D5D0);
    text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .featured-work .featured-card .featured-name { transition: none; }
}
