:root {
  --ink: #101114;
  --night: #0b0c0e;
  --paper: #f1efe9;
  --muted: #989a9f;
  --line: rgba(16, 17, 20, 0.14);
  --line-dark: rgba(255, 255, 255, 0.13);
  --lime: #d6ff4b;
  --warm: #f3c66b;
  --blue: #66d9ff;
  --pad: clamp(24px, 5.2vw, 84px);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  opacity: .12;
}
.ambient-one { top: 8vh; right: -24vw; background: var(--warm); }
.ambient-two { top: 105vh; left: -30vw; background: var(--blue); }
.section-pad { padding-left: var(--pad); padding-right: var(--pad); }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand b { font-family: "Unbounded", sans-serif; font-size: 17px; letter-spacing: .06em; line-height: 1; }
.brand small { margin-top: 6px; color: #66696f; font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.brand-mark { position: relative; display: inline-flex; width: 31px; height: 31px; align-items: flex-end; gap: 3px; transform: skew(-13deg); }
.brand-mark i { display: block; width: 8px; border-radius: 1px; background: var(--ink); }
.brand-mark i:nth-child(1) { height: 17px; }
.brand-mark i:nth-child(2) { height: 25px; }
.brand-mark i:nth-child(3) { height: 31px; background: var(--lime); border: 1px solid var(--ink); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.main-nav a { position: relative; font-size: 13px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: flex; gap: 18px; align-items: center; font-size: 13px; font-weight: 700; }
.header-cta span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; transition: .25s ease; }
.header-cta:hover span { color: var(--night); background: var(--lime); transform: rotate(45deg); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  min-height: calc(100svh - 96px);
  padding-top: 76px;
  padding-bottom: 82px;
}
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 11px; color: #6c6e73; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 32px 0 30px; font-family: "Unbounded", sans-serif; font-size: clamp(45px, 6vw, 92px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em, h2 span { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--ink); }
.hero-lead { max-width: 630px; color: #4c4f54; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 56px; padding: 0 22px 0 26px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: .25s ease; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 22px; padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.microcopy { margin: 18px 0 0; color: #888b90; font-size: 11px; }
.hero-visual { position: relative; min-width: 0; }
.hero-frame { position: relative; overflow: hidden; height: min(68vh, 720px); min-height: 530px; border-radius: 180px 22px 22px 22px; background: #26282d; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.7) contrast(1.06); }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(4,5,7,.8) 100%), linear-gradient(90deg, rgba(0,0,0,.15), transparent 40%); }
.hero-tag { position: absolute; right: 34px; bottom: 30px; left: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: #fff; }
.hero-tag span { color: #d3d4d5; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.hero-tag strong { max-width: 190px; font-family: "Unbounded", sans-serif; font-size: 14px; line-height: 1.4; text-align: right; }
.hero-index { position: absolute; top: 28px; right: 30px; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; font-size: 12px; }
.spec-card { position: absolute; bottom: -37px; left: -42px; width: 350px; padding: 23px 25px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(24,25,28,.92); color: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.spec-card small { display: block; margin-bottom: 14px; color: var(--lime); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.spec-card div { display: flex; justify-content: space-between; align-items: center; gap: 9px; font-size: 10px; }
.spec-card b { color: #777b80; font-weight: 400; }

.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 34px; padding-bottom: 30px; background: var(--night); color: #fff; }
.fact { min-height: 95px; padding: 12px clamp(20px, 2.8vw, 46px); border-right: 1px solid var(--line-dark); }
.fact:first-child { padding-left: 0; }
.fact:last-of-type { border-right: 0; }
.fact strong { display: block; margin-bottom: 10px; font-family: "Unbounded", sans-serif; font-size: clamp(20px, 2vw, 31px); letter-spacing: -.04em; }
.fact span { color: #9ea0a4; font-size: 11px; line-height: 1.5; }
.facts-note { position: absolute; right: var(--pad); bottom: 11px; margin: 0; color: #5f6267; font-size: 8px; }

.intro { padding-top: 140px; padding-bottom: 150px; }
.intro-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; margin: 45px 0 76px; }
.intro-heading h2, .projects > h2, .products-heading h2, .process h2, .contact h2 { margin-bottom: 0; font-family: "Unbounded", sans-serif; font-size: clamp(38px, 5vw, 72px); line-height: 1.08; letter-spacing: -.05em; }
.intro-heading p, .section-topline p, .products-heading > p { max-width: 470px; margin-bottom: 6px; color: #5b5e63; font-size: 16px; line-height: 1.7; }
.solution-grid { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 15px; }
.solution-card { position: relative; min-height: 470px; padding: 26px; border-radius: var(--radius); overflow: hidden; }
.solution-card h3 { margin-bottom: 14px; font-family: "Unbounded", sans-serif; font-size: 21px; line-height: 1.25; }
.solution-card p { color: #a5a7ab; font-size: 13px; line-height: 1.65; }
.solution-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.solution-card li { padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 100px; color: #d7d7d8; font-size: 9px; }
.solution-card > div:last-child { position: absolute; right: 26px; bottom: 26px; left: 26px; }
.card-number { position: absolute; top: 26px; right: 26px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; opacity: .65; }
.solution-card-dark { background: #17181b; color: #fff; }
.solution-card-photo { color: #fff; }
.solution-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,8,.04), rgba(5,7,8,.85)); }
.solution-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solution-card-photo > *:not(img) { z-index: 1; }
.solution-card-light { border: 1px solid var(--line); background: #e6e3dc; }
.solution-card-light p { color: #55585c; }
.solution-card-light li { border-color: var(--line); color: #303236; }

.projects { padding-top: 130px; padding-bottom: 150px; background: var(--night); color: #fff; }
.section-topline { display: flex; justify-content: space-between; gap: 50px; align-items: flex-start; }
.section-topline p { margin: 0; color: #8c8e92; font-size: 13px; }
.projects > h2 { margin-top: 40px; }
.projects h2 span, .contact h2 span { -webkit-text-stroke-color: #fff; }
.project-filters { display: flex; gap: 8px; margin: 52px 0 34px; overflow-x: auto; }
.filter-button { flex: 0 0 auto; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; color: #a4a6a9; font-size: 11px; cursor: pointer; }
.filter-button.active, .filter-button:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 22px; background: #131416; }
.project-card-wide { grid-column: 1 / -1; grid-template-columns: 1.2fr .8fr; }
.project-card figure { min-height: 365px; margin: 0; overflow: hidden; background: #202227; }
.project-card-wide figure { min-height: 480px; }
.project-card figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.74); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.project-card:hover figure img { transform: scale(1.035); filter: saturate(1); }
.project-copy { display: flex; flex-direction: column; padding: 28px; }
.project-meta { display: flex; justify-content: space-between; margin-bottom: auto; color: #83868a; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin: 45px 0 15px; font-family: "Unbounded", sans-serif; font-size: clamp(18px, 2vw, 27px); line-height: 1.25; }
.project-card p { margin-bottom: 0; color: #999b9f; font-size: 13px; line-height: 1.65; }
.project-card details { margin-top: 28px; border-top: 1px solid var(--line-dark); }
.project-card summary { display: flex; justify-content: space-between; padding-top: 17px; color: #d6d7d8; font-size: 11px; cursor: pointer; list-style: none; }
.project-card summary::-webkit-details-marker { display: none; }
.project-card details ul { margin: 15px 0 0; padding-left: 17px; color: #8f9195; font-size: 11px; line-height: 1.8; }
.project-card-horizontal { grid-template-columns: .9fr 1.1fr; }

.products { padding-top: 140px; padding-bottom: 150px; }
.products-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin: 45px 0 80px; }
.product-list { border-top: 1px solid var(--line); }
.product-row { display: grid; grid-template-columns: 50px 140px 1fr 60px; gap: 26px; align-items: center; min-height: 165px; border-bottom: 1px solid var(--line); transition: background .25s ease, padding .25s ease; }
.product-row:hover { padding: 0 18px; background: rgba(255,255,255,.65); }
.product-index { color: #8e9093; font-size: 10px; }
.product-image { display: grid; place-items: center; height: 115px; border-radius: 10px; overflow: hidden; background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-row h3 { margin: 0 0 9px; font-family: "Unbounded", sans-serif; font-size: 21px; }
.product-row p { margin: 0; color: #6a6c70; font-size: 12px; line-height: 1.6; }
.product-arrow { justify-self: end; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; }
.custom-banner { display: grid; grid-template-columns: 1fr 1fr auto; gap: 45px; align-items: center; margin-top: 70px; padding: 38px; border-radius: 24px; background: var(--lime); }
.custom-banner small { display: block; margin-bottom: 8px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.custom-banner h3 { margin: 0; font-family: "Unbounded", sans-serif; font-size: 25px; }
.custom-banner p { margin: 0; color: #3f481b; font-size: 12px; line-height: 1.6; }
.button-dark { color: #fff; background: var(--ink); white-space: nowrap; }
.button-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }

.process { padding-top: 135px; padding-bottom: 160px; background: #e7e4dc; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 160px); margin-top: 58px; }
.process-sticky { position: sticky; top: 50px; align-self: start; }
.process-sticky p { max-width: 360px; margin-top: 28px; color: #696c70; line-height: 1.7; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 65px 1fr; gap: 20px; padding: 35px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li > span { color: #85878b; font-size: 11px; }
.process-list h3 { margin: 0 0 12px; font-family: "Unbounded", sans-serif; font-size: 20px; }
.process-list p { margin: 0; color: #696c70; font-size: 13px; line-height: 1.65; }

.contact { position: relative; overflow: hidden; padding-top: 120px; padding-bottom: 70px; background: #111214; color: #fff; }
.contact-glow { position: absolute; top: -190px; right: -110px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(214,255,75,.19), rgba(214,255,75,0) 65%); pointer-events: none; }
.section-kicker-light { color: #86898d; }
.contact-main { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; margin-top: 50px; }
.contact-overline { color: var(--lime); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-lead { max-width: 450px; margin-bottom: 4px; color: #989a9e; font-size: 15px; line-height: 1.75; }
.contact-actions { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; margin-top: 65px; }
.telegram-button, .email-button { min-height: 122px; border-radius: 19px; }
.telegram-button { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 20px; padding: 24px; background: var(--lime); color: var(--ink); transition: transform .25s ease; }
.telegram-button:hover:not([aria-disabled="true"]) { transform: translateY(-3px); }
.telegram-button[aria-disabled="true"] { opacity: .72; cursor: not-allowed; }
.telegram-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 23px; }
.telegram-button small, .email-button small { display: block; margin-bottom: 7px; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.telegram-button b, .email-button b { font-family: "Unbounded", sans-serif; font-size: clamp(15px, 1.5vw, 21px); }
.telegram-button i { font-style: normal; font-size: 24px; }
.email-button { display: flex; flex-direction: column; justify-content: center; padding: 27px 30px; border: 1px solid var(--line-dark); background: #1a1b1e; }
.email-button small { color: #7e8185; }
.email-button b { word-break: break-word; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.contact-grid > div { padding-right: 30px; }
.contact-grid small { display: block; margin-bottom: 9px; color: #6f7276; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.contact-grid a, .contact-grid span { font-size: 13px; }
.contact-note { margin-top: 30px; color: #5e6165; font-size: 9px; }

.footer { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; min-height: 125px; padding: 0 var(--pad); border-top: 1px solid var(--line-dark); background: #111214; color: #fff; }
.brand-footer .brand-mark i { background: #fff; }
.brand-footer .brand-mark i:nth-child(3) { background: var(--lime); border-color: transparent; }
.brand-footer small { color: #74777b; }
.footer > p { margin: 0; color: #686b6f; font-size: 10px; text-align: center; }
.footer > div { display: flex; justify-content: flex-end; gap: 35px; color: #8c8f92; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; top: 96px; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 50px var(--pad); background: var(--paper); transform: translateX(100%); transition: transform .35s ease; }
  .main-nav a { font-family: "Unbounded", sans-serif; font-size: 25px; }
  .menu-open .main-nav { transform: translateX(0); }
  .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); transition: .25s ease; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr 1fr; gap: 45px; }
  .hero-frame { min-height: 470px; }
  .spec-card { left: -20px; width: 310px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .solution-card:last-child { grid-column: 1 / -1; min-height: 360px; }
  .custom-banner { grid-template-columns: 1fr 1fr; }
  .custom-banner .button { grid-column: 1 / -1; width: max-content; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; --radius: 20px; }
  .site-header { min-height: 78px; }
  .main-nav { top: 78px; }
  .brand b { font-size: 14px; }
  .brand small { font-size: 7px; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-mark i { width: 7px; }
  .brand-mark i:nth-child(1) { height: 14px; }
  .brand-mark i:nth-child(2) { height: 21px; }
  .brand-mark i:nth-child(3) { height: 27px; }
  .hero { display: block; min-height: auto; padding-top: 58px; padding-bottom: 88px; }
  .hero h1 { margin-top: 24px; font-size: clamp(42px, 13.2vw, 65px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { margin-top: 52px; }
  .hero-frame { height: 68vh; min-height: 500px; border-radius: 100px 18px 18px 18px; }
  .hero-tag { right: 20px; bottom: 22px; left: 20px; align-items: flex-start; flex-direction: column; }
  .hero-tag strong { text-align: left; }
  .spec-card { right: 14px; bottom: -43px; left: 14px; width: auto; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 18px; padding-top: 36px; padding-bottom: 52px; }
  .fact { min-height: 87px; padding: 8px 14px; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact strong { font-size: 18px; }
  .facts-note { right: var(--pad); bottom: 16px; left: var(--pad); }
  .intro, .projects, .products { padding-top: 95px; padding-bottom: 100px; }
  .intro-heading, .products-heading { display: block; margin: 35px 0 48px; }
  .intro-heading h2, .projects > h2, .products-heading h2, .process h2, .contact h2 { font-size: clamp(34px, 10.4vw, 50px); }
  .intro-heading p, .products-heading > p { margin-top: 28px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card, .solution-card:last-child { grid-column: auto; min-height: 390px; }
  .section-topline { display: block; }
  .section-topline p { margin-top: 25px; }
  .project-grid, .project-card-wide, .project-card-horizontal { grid-template-columns: 1fr; }
  .project-card-wide { grid-column: auto; }
  .project-card figure, .project-card-wide figure { min-height: 310px; max-height: 410px; }
  .project-copy { min-height: 300px; }
  .product-row { grid-template-columns: 32px 82px 1fr; gap: 14px; min-height: 140px; }
  .product-image { height: 84px; }
  .product-row h3 { font-size: 14px; }
  .product-row p { font-size: 10px; }
  .product-arrow { display: none; }
  .custom-banner { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .custom-banner .button { grid-column: auto; }
  .process { padding-top: 95px; padding-bottom: 100px; }
  .process-layout { grid-template-columns: 1fr; gap: 45px; }
  .process-sticky { position: static; }
  .process-list li { grid-template-columns: 42px 1fr; }
  .contact { padding-top: 90px; padding-bottom: 50px; }
  .contact-main, .contact-actions { grid-template-columns: 1fr; }
  .contact-lead { margin-top: 30px; }
  .contact-actions { margin-top: 45px; }
  .telegram-button, .email-button { min-height: 108px; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer { grid-template-columns: 1fr; gap: 22px; padding-top: 38px; padding-bottom: 38px; }
  .footer > p { text-align: left; }
  .footer > div { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
