:root {
  --ink: #111515;
  --muted: #626a69;
  --paper: #ffffff;
  --mist: #f0f2f1;
  --deep: #123a3b;
  --accent: #238f96;
  --accent-dark: #176e73;
  --shell: min(1120px, calc(100% - 48px));
  --shadow: 0 18px 55px rgba(15, 34, 34, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.hero { position: relative; min-height: 720px; height: 100svh; color: #fff; background: linear-gradient(90deg, rgba(4,31,32,.24), rgba(7,43,45,.37)), url('/assets/hero.webp') center / cover no-repeat; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,19,20,.28), transparent 30%, rgba(4,19,20,.22)); pointer-events: none; }
.nav { position: relative; z-index: 4; padding-top: 28px; }
.nav-panel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav-links { display: flex; gap: 32px; }
.nav a { font-weight: 700; transition: opacity .2s ease; }
.nav a:hover, .nav a:focus-visible { opacity: .68; }
.brand { font-size: 1.35rem; letter-spacing: -.02em; }
.brand--desktop { justify-self: center; }
.brand--mobile, .nav-toggle { display: none; }
.nav-phone { justify-self: end; font-size: 1.05rem; font-weight: 400 !important; }
.hero-content { position: relative; z-index: 2; display: flex; min-height: calc(100% - 100px); max-width: 890px; align-items: center; flex-direction: column; justify-content: center; text-align: center; padding: 80px 24px 105px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-dark); font-size: .76rem; line-height: 1.3; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero-eyebrow { color: rgba(255,255,255,.72); }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 8vw, 6.6rem); line-height: .98; letter-spacing: -.06em; }
.hero-content > p:not(.eyebrow) { width: min(100%, 760px); margin: 30px auto 40px; color: rgba(255,255,255,.91); font-size: clamp(1.1rem, 2vw, 1.42rem); line-height: 1.55; }
.button { display: inline-flex; min-width: 176px; min-height: 56px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 14px 28px; font-weight: 800; line-height: 1.1; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible { outline: 3px solid #52c9cf; outline-offset: 4px; }
.button--light { color: var(--deep); background: #fff; }
.button--light:hover { background: #dfeff0; }
.button--dark { color: #fff; background: var(--ink); }
.button--dark:hover { background: var(--deep); }
.button--accent { color: #fff; background: var(--accent); }
.button--accent:hover { background: var(--accent-dark); }
.scroll-cue { position: absolute; z-index: 3; bottom: 31px; left: 50%; width: 48px; height: 48px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 14px; top: 8px; width: 20px; height: 20px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(7px) rotate(45deg); } }

.section { padding: 110px 0; }
.intro { background: #fff; }
.preface { max-width: 1030px; margin: 0 auto 130px; padding: 52px 64px; border: 1px solid #686e6c; text-align: center; }
.preface h2, .section-heading h2, .contacts h2, .request h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; text-transform: uppercase; }
.preface p:last-child { max-width: 910px; margin: 22px auto 0; font-size: 1.08rem; }
.founder { display: grid; grid-template-columns: minmax(330px,.8fr) 1.2fr; gap: clamp(55px,8vw,105px); align-items: center; }
.founder-image-wrap { align-self: end; overflow: hidden; }
.founder-image-wrap img { width: min(100%, 435px); height: auto; margin: auto; object-fit: contain; }
.founder-copy h2 { margin: 0; font-size: clamp(2.4rem,4vw,3.45rem); line-height: 1; text-transform: uppercase; }
.founder-name { margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; }
.rule { display: block; width: 54px; height: 1px; margin: 27px 0; background: var(--ink); }
.founder-copy > p:not(.eyebrow):not(.founder-name) { margin: 0 0 16px; font-size: 1.06rem; }
.founder-copy .button { margin-top: 20px; }

.portfolio { background: var(--mist); }
.section-heading { max-width: 800px; margin: 0 auto 66px; text-align: center; }
.section-heading > p:last-child { margin: 26px 0 0; color: #343a39; font-size: 1.12rem; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.product-card { position: relative; min-height: 365px; overflow: hidden; color: #fff; background: #163b3c; box-shadow: var(--shadow); }
.product-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(0,0,0,.78)); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.product-card:hover img { transform: scale(1.045); }
.product-card div { position: absolute; z-index: 1; inset: auto 34px 30px; }
.product-card h3, .feature-product h3 { margin: 0; font-size: 1.65rem; line-height: 1.1; text-transform: uppercase; }
.product-card p { margin: 10px 0 0; color: rgba(255,255,255,.86); line-height: 1.45; }
.feature-product { display: grid; max-width: 890px; margin: 70px auto 0; grid-template-columns: 310px 1fr; border: 1px solid #737978; background: #fff; }
.feature-product img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.feature-product > div { align-self: center; padding: 44px 50px; }
.feature-product p:not(.eyebrow) { margin: 18px 0; }
.text-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 8px; padding-bottom: 2px; border-bottom: 1px solid; font-weight: 800; }
.cooperation { display: flex; margin-top: 78px; align-items: center; justify-content: space-between; padding: 42px 80px; background: #e5e8e7; }
.cooperation p { margin: 0; font-size: clamp(1.25rem,2.2vw,1.55rem); font-weight: 700; }

.strengths { background: #fff; }
.strength-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 64px 46px; }
.strength { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.check { font-size: 1.8rem; line-height: 1; font-weight: 300; }
.strength h3 { margin: 0 0 14px; font-size: 1rem; line-height: 1.25; text-transform: uppercase; }
.strength p { margin: 0; color: #424948; }

.request { color: #fff; background: var(--deep); }
.request-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px,10vw,130px); align-items: start; }
.request .eyebrow { color: #65d6db; }
.request h2 { text-transform: none; }
.request-copy > p:not(.eyebrow) { max-width: 440px; margin: 26px 0 0; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.request-aside { display: flex; margin-top: 50px; flex-direction: column; }
.request-aside span { color: rgba(255,255,255,.57); font-size: .86rem; }
.request-aside a { margin-top: 3px; font-size: 1.2rem; font-weight: 700; }
.contact-form { position: relative; padding: 45px 50px; color: var(--ink); background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.2); }
.field { position: relative; margin-bottom: 26px; }
.field label { display: block; margin-bottom: 7px; color: #4e5654; font-size: .86rem; font-weight: 700; }
.field label span { color: #8a9190; font-weight: 400; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #aab1af; border-radius: 0; padding: 9px 0 12px; color: var(--ink); background: transparent; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 2px 0 var(--accent); }
.field input[aria-invalid="true"] { border-color: #bc2f2f; }
.field-error { display: block; min-height: 19px; margin-top: 4px; color: #a11d1d; font-size: .78rem; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0,0,0,0); opacity: 0; }
.button--submit { position: relative; width: 100%; }
.button--submit[disabled] { opacity: .68; cursor: wait; transform: none; }
.button-loader { display: none; width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.button--submit.is-loading .button-label { display: none; }
.button--submit.is-loading .button-loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { min-height: 24px; margin: 16px 0 0; font-weight: 700; text-align: center; }
.form-status.is-success { color: #176e48; }
.form-status.is-error { color: #a11d1d; }

.contacts { background: var(--mist); }
.contacts-inner { text-align: center; }
.contact-columns { display: grid; max-width: 900px; margin: 55px auto 35px; grid-template-columns: repeat(3,1fr); gap: 26px; }
.contact-columns div { display: flex; min-width: 0; flex-direction: column; padding: 26px 16px; border-top: 1px solid #aeb4b2; border-bottom: 1px solid #aeb4b2; }
.contact-columns span { color: var(--muted); font-size: .85rem; }
.contact-columns a { margin-top: 5px; overflow-wrap: anywhere; font-size: 1.06rem; font-weight: 700; }
.contacts address { color: var(--muted); font-style: normal; }
.footer { color: #fff; background: #131616; }
.footer-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; }
.footer p { margin: 0; }
.footer a { font-weight: 700; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@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; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px,720px); }
  .section { padding: 82px 0; }
  .nav { display: flex; align-items: center; justify-content: space-between; }
  .brand--mobile, .nav-toggle { display: block; }
  .brand--desktop { display: none; }
  .nav-toggle { position: relative; z-index: 6; width: 44px; height: 44px; border: 0; padding: 9px; background: transparent; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px auto; background: #fff; transition: transform .25s ease, opacity .25s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-panel { position: fixed; z-index: 5; inset: 0; display: flex; visibility: hidden; align-items: center; flex-direction: column; justify-content: center; gap: 45px; background: rgba(10,43,44,.98); opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
  .nav-panel.is-open { visibility: visible; opacity: 1; }
  .nav-links { align-items: center; flex-direction: column; gap: 18px; font-size: 1.55rem; }
  .nav-phone { justify-self: auto; }
  .hero { min-height: 680px; }
  .preface { margin-bottom: 90px; padding: 42px 38px; }
  .founder { grid-template-columns: 1fr; gap: 42px; }
  .founder-image-wrap img { width: min(100%, 370px); }
  .founder-copy { text-align: center; }
  .rule { margin-inline: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .feature-product { grid-template-columns: 260px 1fr; }
  .feature-product > div { padding: 36px; }
  .cooperation { padding: 36px 45px; }
  .strength-grid { grid-template-columns: 1fr 1fr; }
  .request-layout { grid-template-columns: 1fr; gap: 50px; }
  .request-copy { max-width: 600px; }
  .contact-columns { grid-template-columns: 1fr; max-width: 500px; gap: 14px; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 30px); }
  .hero { min-height: 640px; background-position: 40% center; }
  .nav { padding-top: 18px; }
  .hero-content { min-height: calc(100% - 72px); padding-bottom: 82px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.45rem,10vw,3rem); white-space: nowrap; }
  .hero-content > p:not(.eyebrow) { margin: 22px auto 32px; font-size: 1.05rem; }
  .section { padding: 68px 0; }
  .preface { margin-bottom: 70px; padding: 34px 22px; }
  .preface p:last-child { font-size: 1rem; text-align: left; }
  .founder-image-wrap { margin-inline: 0; }
  .founder-image-wrap img { width: min(100%, 320px); }
  .founder-copy h2 { font-size: 2.5rem; }
  .section-heading { margin-bottom: 42px; }
  .section-heading > p:last-child { font-size: 1rem; }
  .product-grid { gap: 18px; }
  .product-card { min-height: 390px; }
  .product-card div { inset: auto 24px 24px; }
  .product-card p { font-size: .95rem; }
  .feature-product { margin-top: 45px; grid-template-columns: 1fr; }
  .feature-product img { height: 280px; min-height: 0; }
  .feature-product > div { padding: 32px 26px; }
  .cooperation { margin-top: 45px; align-items: stretch; flex-direction: column; gap: 22px; padding: 30px 26px; text-align: center; }
  .strength-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 34px 24px; }
  .contact-columns { margin-top: 40px; }
  .footer-inner { min-height: 105px; flex-direction: column; justify-content: center; gap: 8px; }
}

