@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --paper: #f7f5f0;
  --white: #fff;
  --ink: #1c2024;
  --ink-2: #3b434b;
  --muted: #69727b;
  --line: #e4dfd5;
  --red: #d9262d;
  --red-d: #b51d23;
  --green: #86c13d;
  --blue: #1f64c4;
  --dark: #1a1e22;
  --r: 14px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(20, 24, 28, .05), 0 8px 24px rgba(20, 24, 28, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: .9em; display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--green); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 640px; }
.tag { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .4em; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: background .15s, color .15s, border-color .15s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.link { font-weight: 700; color: var(--red); text-decoration: none; display: inline-flex; gap: .4em; }
.link::after, .more::after { content: "→"; transition: transform .15s; }
.link:hover::after, a:hover > .more::after, a:hover .more::after { transform: translateX(4px); }
.more { font-weight: 700; color: var(--red); display: inline-flex; gap: .4em; margin-top: auto; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-color: var(--red); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; color: #fff; min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--dark); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 18, .15) 0%, rgba(10, 14, 18, .35) 45%, rgba(10, 14, 18, .82) 100%); }
.hero__in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 40px; width: 100%; }
.hero h1 { max-width: 12ch; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 22px; padding-bottom: 34px; width: 100%; }
.hero__stats div { display: flex; flex-direction: column; padding-right: 20px; }
.hero__stats strong { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.hero__stats span { color: rgba(255, 255, 255, .78); font-size: .92rem; }

/* page head */
.phead { padding: 72px 0 48px; }
.phead h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 20ch; }
.phead--img { position: relative; color: #fff; padding: 140px 0 64px; background: var(--dark); overflow: hidden; }
.phead--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 18, .25), rgba(10, 14, 18, .8)); }
.phead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phead__in { position: relative; z-index: 1; }
.phead--img .eyebrow { color: #fff; }
.phead--img .eyebrow::before { background: var(--green); }

/* sections */
.sec { padding: 96px 0; }
.sec--flush { padding-top: 0; }
.sec--tint { background: #efebe3; }
.sec--dark { background: var(--dark); color: #fff; }
.sec__head { max-width: 720px; margin-bottom: 44px; }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split__img img, .rounded { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border-radius: var(--r); padding: 26px 24px 24px; text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card p { color: var(--muted); font-size: .95rem; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #fbe9e9; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }

/* projects */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .2s; }
.project:hover { box-shadow: var(--shadow); }
.project__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .5s; }
.project:hover .project__img { transform: scale(1.03); }
.project__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { font-size: 1.35rem; }
.project__body p:not(.tag) { color: var(--muted); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { border-top: 2px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.steps li p { color: rgba(255, 255, 255, .72); }
.steps__n { display: block; font-weight: 800; color: var(--green); font-size: .95rem; margin-bottom: 10px; letter-spacing: .08em; }

/* why */
.why { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.why li { padding: 18px 0 14px 40px; border-top: 1px solid var(--line); position: relative; }
.why li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 18px; height: 10px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.why h3 { margin-bottom: .2em; }
.why p { color: var(--muted); margin: 0; }
.why--values { margin-top: 0; }

/* people */
.people { display: grid; gap: 18px; }
.person { display: grid; grid-template-columns: 64px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.person p:last-child { color: var(--muted); margin: 0; font-size: .95rem; }
.person__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.person__mark--green { background: var(--green); }

/* facts, prose */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.facts div { padding: 20px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.facts div:nth-child(3n) { border-right: 0; }
.facts div:nth-last-child(-n+3) { border-bottom: 0; }
.facts span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose__img { border-radius: var(--r); margin: 32px 0; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.spec { padding-left: 1.2em; }
.spec li { margin-bottom: .6em; }
.spec li::marker { color: var(--red); }
.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.prose-grid article { scroll-margin-top: 100px; background: #fff; border-radius: var(--r); padding: 30px; border: 1px solid var(--line); }
.prose-grid h2 { font-size: 1.4rem; }
.prose-grid p { color: var(--ink-2); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps3 article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.steps3 .steps__n { color: var(--red); }
.steps3 h2 { font-size: 1.3rem; }

/* gallery + lightbox */
.gal-title { margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__item { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #ddd; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 12, .94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; cursor: pointer; line-height: 1; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb__x { top: 18px; right: 18px; }
.lb__prev { left: 18px; }
.lb__next { right: 18px; }

/* CTA + form */
.cta { background: var(--dark); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 3px solid rgba(217, 38, 45, .35); transform: rotate(45deg); }
.cta__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; position: relative; }
.cta p { color: rgba(255, 255, 255, .78); }
.cta__contacts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.cta__contacts span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); font-weight: 700; }
.cta__contacts a { font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.form { background: #fff; color: var(--ink); border-radius: var(--r); padding: 30px; display: grid; gap: 16px; }
.panel .form { padding: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input:not([type=checkbox]), .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #d6d1c7; border-radius: 10px; background: #fcfbf9; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: start; font-weight: 400; color: var(--muted); font-size: .88rem; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); }
.form .hp { position: absolute; left: -9999px; }
.form button { justify-self: start; }
.form__msg { margin: 0; font-weight: 600; }
.form__msg.ok { color: #2c7a2c; }
.form__msg.err { color: var(--red); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.contact { display: grid; gap: 26px; }
.contact .big { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; text-decoration: none; letter-spacing: -.01em; }
.contact p { margin: 0; color: var(--ink-2); }

/* footer */
.foot { background: #121518; color: rgba(255, 255, 255, .85); padding: 64px 0 28px; font-size: .95rem; }
.foot h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .muted { color: rgba(255, 255, 255, .6); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot__logo { background: #fff; border-radius: 10px; padding: 8px 10px; height: 80px; width: auto; margin-bottom: 16px; }
.foot__links { display: grid; gap: 6px; }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: .85rem; }

@media (max-width: 1080px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--5 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top__in { height: 64px; gap: 12px; }
  .brand img { height: 50px; }
  .burger { display: block; }
  .top__cta { margin-left: auto; padding: 8px 14px; font-size: .85rem; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .sec, .cta { padding: 64px 0; }
  .split, .projects, .cta__grid, .prose-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { min-height: 640px; }
  .hero__stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero__stats span { font-size: .8rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3n) { border-right: 1px solid var(--line); }
  .facts div:nth-child(2n) { border-right: 0; }
  .facts div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .facts div:nth-last-child(-n+2) { border-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .phead--img { padding: 100px 0 44px; }
  .lb__prev, .lb__next { top: auto; bottom: 18px; }
}
@media (max-width: 520px) {
  .cards, .cards--4, .cards--5, .steps { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 10px; }
  .hero__stats div { flex-direction: row; align-items: baseline; gap: 10px; }
  .person { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .panel { padding: 22px; }
}
