@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("/fonts/unbounded-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("/fonts/unbounded-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("/fonts/onest-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url("/fonts/onest-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("/fonts/onest-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 500; font-display: swap; src: url("/fonts/onest-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("/fonts/onest-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url("/fonts/onest-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --steel: #15181C;
  --light: #F1EDE6;
  --accent: #E0603A;
  --sky: #8E9AA6;
  --line: #2A2E34;
  --pad: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--steel);
  color: var(--light);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background: var(--steel);
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 70%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(21, 24, 28, .62) 0, rgba(21, 24, 28, .2) 50%, rgba(21, 24, 28, 0) 75%),
    linear-gradient(to bottom, rgba(21, 24, 28, .45) 0, rgba(21, 24, 28, 0) 160px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { flex: none; }
.brand__name {
  font-family: "Unbounded", "Onest", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--light);
  white-space: nowrap;
}
.brand__name b { font-weight: 800; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav__links a:hover,
.nav__links a:focus-visible { border-bottom-color: var(--accent); }

.hero__body { padding: 190px 0 81px; max-width: 680px; }

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
}
.eyebrow--accent { color: var(--accent); }

h1, h2 {
  font-family: "Unbounded", "Onest", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 {
  margin-top: 28px;
  font-size: clamp(40px, 5.3vw, 76px);
  line-height: 1.07;
}
.lead {
  margin-top: 23px;
  max-width: 540px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(241, 237, 230, .88);
}

.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 31px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 59px;
  padding: 0 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--accent); color: var(--steel); }
.btn--primary:hover,
.btn--primary:focus-visible { background: #ec7351; }
.btn--ghost { border-color: rgba(241, 237, 230, .45); color: var(--light); }
.btn--ghost:hover,
.btn--ghost:focus-visible { border-color: var(--light); }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- About ---------- */
.about { padding: 120px 0 96px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 616px) minmax(0, 616px);
  justify-content: space-between;
  align-items: end;
  gap: 64px;
}
.about h2 {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.1;
}
.about__lead {
  margin-top: 28px;
  max-width: 520px;
  font-family: "Unbounded", "Onest", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--light);
}
.list { margin-top: 38px; border-top: 1px solid var(--line); }
.list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}
.list__n {
  flex: none;
  width: 17px;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
}

.about__photos {
  display: grid;
  grid-template-columns: 300px 300px;
  gap: 16px;
  align-items: start;
  justify-content: end;
}
.about__photos img:first-child { margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 48px; }
.footer__grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer .brand__name { font-size: 20px; }
.footer small { font-size: 14px; color: rgba(241, 237, 230, .55); }
.footer__contacts { text-align: right; }
.footer__mail {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  border-bottom: 1px solid var(--accent);
  transition: color .2s;
}
.footer__mail:hover,
.footer__mail:focus-visible { color: var(--accent); }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1100px) {
  .hero__shade { background: linear-gradient(to right, rgba(21, 24, 28, .85) 0, rgba(21, 24, 28, .5) 60%, rgba(21, 24, 28, .2) 100%), linear-gradient(to bottom, rgba(21, 24, 28, .45) 0, rgba(21, 24, 28, 0) 160px); }
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__photos { justify-content: start; }
}

@media (max-width: 760px) {
  :root { --pad: 24px; }
  body { font-size: 17px; }
  .hero { min-height: 720px; }
  .hero__photo { object-position: 60% 62%; }
  .hero__shade { background: linear-gradient(to bottom, rgba(21, 24, 28, .6), rgba(21, 24, 28, .3) 45%, rgba(21, 24, 28, .8)); }
  .nav { padding-top: 20px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 17px; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 14px; }
  .hero__body { padding: 96px 0 56px; }
  .btn { height: 54px; padding: 0 24px; }
  .about { padding: 80px 0 64px; }
  .about__photos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about__photos img { width: 100%; }
  .list li { font-size: 18px; }
}

@media (max-width: 520px) {
  .footer__contacts { text-align: left; }
  .nav { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__body { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
