/* Typography pass: fixed local fonts, deliberate scale and semantic line breaks. */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/oswald-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/oswald-latin.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: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin.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;
}

:root {
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Golos Text", Arial, sans-serif;
  --mono: "Golos Text", Arial, sans-serif;
}

body {
  font-family: var(--body);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p,
li { text-wrap: pretty; }

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: .96;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 680px;
  font-size: clamp(58px, 4.2vw, 60px);
}

h2 {
  font-size: clamp(46px, 4.15vw, 60px);
  line-height: .98;
}

h3 { line-height: 1; }

.title-line,
.hero h1 em { display: block; }

.hero { grid-template-columns: 1.05fr .95fr; }
.hero h1 { font-size: clamp(58px, 4.2vw, 60px); }
.hero h1 em { max-width: 100%; }

.eyebrow,
.micro,
.brand small { letter-spacing: .085em; }

.benefit-grid h3 { font-size: 29px; }
.project h3 { font-size: 34px; }
.comparison h3 { font-size: 32px; }
.steps h3 { font-size: 27px; }
.quiz aside h2 { font-size: 48px; line-height: .98; }
.question h3,
.result h3,
.success h3 { font-size: clamp(34px, 3.2vw, 42px); line-height: 1; }
.faq summary { font-family: var(--display); font-size: clamp(27px, 2.3vw, 34px); line-height: 1.05; letter-spacing: 0; }
.final h2 { font-size: clamp(54px, 5vw, 72px); line-height: .96; }

.project-visual {
  position: relative;
  display: block;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border-bottom: 6px solid var(--brick);
  background: #504e4b;
}
.project-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28,28,28,.46));
  content: "";
}
.project-visual img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: saturate(.8) contrast(1.05);
}
.project-visual span {
  position: absolute;
  z-index: 1;
  bottom: 8px;
  left: 16px;
  color: #fff;
  font: 600 64px/1 var(--display);
  text-shadow: 1px 2px 4px rgba(0,0,0,.35);
}

.project > div:last-child {
  display: flex;
  flex-direction: column;
}

.project-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: auto;
  color: var(--brick);
  text-decoration: none;
}

.project-link:hover { color: var(--ink); }

@media (max-width: 860px) {
  h2 { font-size: clamp(42px, 6.5vw, 52px); }
  .hero h1 { font-size: clamp(48px, 7vw, 58px); }
  .project-visual,
  .project-visual img { min-height: 250px; height: 250px; }
  .quiz aside h2 { font-size: 44px; }
}

@media (max-width: 500px) {
  h2 { font-size: clamp(35px, 9.5vw, 39px); line-height: 1; }
  .split-section h2,
  .benefits h2,
  .catalog h2,
  .cost h2,
  .how h2,
  .plot h2 { font-size: clamp(35px, 9.5vw, 39px); line-height: 1.04; }
  h2 .title-line { display: inline; }
  h2 .title-line + .title-line::before { content: " "; }
  h3 { line-height: 1.03; }
  .hero h1 { max-width: 100%; font-size: clamp(38px, 10.4vw, 41px); line-height: .98; }
  .hero h1 .title-line { display: block; }
  .hero h1 em { max-width: 100%; }
  .eyebrow { font-size: 10px; letter-spacing: .075em; }
  .benefit-grid h3 { font-size: 27px; }
  .project h3 { font-size: 32px; }
  .comparison h3 { font-size: 30px; }
  .steps h3 { font-size: 26px; }
  .quiz aside h2 { font-size: clamp(35px, 9.5vw, 38px); line-height: 1.04; }
  .question h3,
  .result h3,
  .success h3 { font-size: 31px; }
  .faq summary { font-size: 26px; }
  .final h2 { font-size: clamp(37px, 10vw, 41px); line-height: 1.04; }
  .project-visual,
  .project-visual img { min-height: 185px; height: 185px; }
  .project-visual span { font-size: 54px; }
}
