/* poster — «Плакат»: the direction's own type, rules and looks, on the body's class. Colours only through var(--*):
   the direction's colour sets drive them. */

.direction-poster {
  --section-pad: clamp(4rem, 6.7vw, 6rem);
  --head-gap: clamp(2rem, 3.3vw, 3rem);
  --pill: 0;
  --radius: 0px;
  --radius-small: 0px;
  --rule: 2px;
  font-size: 1rem;
  line-height: 1.5;
}

/* The type: condensed capitals, very large, set close. */
.direction-poster :is(h1, h2, h3) { font-weight: 600; text-transform: uppercase; letter-spacing: -.005em; }
/* The first screen's headline very large across the page; any other page's (a product's, beside its photo) large but
   inside its column — a word of it wider than the column pushed the page out sideways. Not tighter than 1.06: the
   descenders of Щ, Д, Ц and a comma reach into the line under them. */
.direction-poster main h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.06; overflow-wrap: break-word; }
.direction-poster main .hero h1 { font-size: clamp(3.6rem, 11.7vw, 10.5rem); }
.direction-poster main h2 { font-size: clamp(2.8rem, 6.7vw, 6rem); line-height: 1.04; }
.direction-poster main h3 { font-size: clamp(1.4rem, 1.95vw, 1.75rem); font-weight: 500; line-height: 1.05; }
.direction-poster :is(h1, h2) em { font-style: normal; color: var(--accent); }

/* The kickers numbered down the page: 01, 02… in the display face, before the word. */
.direction-poster main { counter-reset: kicker; }
.direction-poster .eyebrow { display: flex; gap: 1rem; font-family: var(--font-display); font-size: .94rem; font-weight: 500;
                             letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.direction-poster .eyebrow::before { counter-increment: kicker; content: counter(kicker, decimal-leading-zero); }

/* The buttons: square, capitals, a heavy outline for the second. */
.direction-poster .btn { border-radius: 0; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.direction-poster main .btn { min-height: 3.25rem; padding-inline: 1.6rem; font-size: 1rem; }
.direction-poster main .btn-ghost { border-width: 2px; }

/* Heavy rules between the sections. */
.direction-poster main > .section + .section { border-top: 2px solid var(--line); }
.direction-poster .section-head { padding-bottom: 1.75rem; border-bottom: 2px solid var(--line); }
.direction-poster .section-head .lead { max-width: 30rem; }

/* The offer as a ruled catalogue: the name in capitals, the price large in the display face. */
.direction-poster .card__title, .direction-poster .svc-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.3rem, 1.95vw, 1.75rem); font-weight: 500; }
.direction-poster .price-line .price { font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 500; }
.direction-poster :is(.products--ruled, .services--ruled) .card__media { aspect-ratio: 9 / 10; }

/* The figures: the display face's own. */
.direction-poster .hero-stats dd { font-family: var(--font-display); font-weight: 600; }

/* Reasons and steps: very large numbers, the columns divided by heavy rules. */
/* (each cell ruled on its left; the first column's rule sits outside the grid, clipped) */
.direction-poster :is(.features--ruled, .steps--ruled) .features-grid { column-gap: 0; overflow: hidden; }
.direction-poster :is(.features--ruled, .steps--ruled) .feature-card { border-top: 2px solid var(--line); border-left: 2px solid var(--line);
                                                                      margin-left: -2px; padding: 1.75rem 1.75rem 0; }
.direction-poster .feature-index { font-size: clamp(3.5rem, 6.7vw, 6rem); font-weight: 600; line-height: .9; color: var(--ink); }
.direction-poster .feature-card p { color: var(--muted); }

/* The reviews: cells of a grid ruled by heavy lines, on the surface's band. */
.direction-poster .section:has(> .testimonials) { background: var(--surface); }
.direction-poster .quotes-grid { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.direction-poster .quote-card { border: 0; border-radius: 0; box-shadow: none; background: var(--bg); padding: clamp(1.5rem, 2.5vw, 2.25rem); min-height: 18rem; display: flex; flex-direction: column; }
.direction-poster .quote-card blockquote { font-size: 1.2rem; line-height: 1.45; }
.direction-poster .quote-card figcaption { margin-top: auto; padding-top: 1.75rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.direction-poster .quote-avatar { display: none; }

/* The team: cells under heavy rules, the name in capitals. */
.direction-poster :is(.person, .person.is-text) { background: none; border: 0; border-top: 2px solid var(--line); border-radius: 0; box-shadow: none; padding: 1.25rem 0 0; }
.direction-poster .person.is-text::before { display: none; }
.direction-poster .person__name { font-family: var(--font-display); text-transform: uppercase; font-weight: 500; }

/* The call to action as a poster: its words as large as a section's heading. */
.direction-poster .cta--poster .cta-inner h2 { font-size: clamp(2.8rem, 6.1vw, 5.5rem); line-height: 1.04; max-width: 20ch; }

/* The header: the name in condensed capitals, the menu in capitals, a heavy rule under it. */
.direction-poster .hdr { border-bottom: 2px solid var(--line); }
.direction-poster .brand__word { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1; letter-spacing: .02em;
                                 text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.direction-poster .brand__word.is-long { font-size: 1.35rem; }
.direction-poster .hdr nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; }

/* The footer: dark, the columns first, the name across its whole width at the foot. */
.direction-poster .ftr { background: var(--primary); color: var(--primary-ink); --ink: var(--primary-ink);
                         --muted: color-mix(in srgb, var(--primary-ink) 70%, transparent); --line: color-mix(in srgb, var(--primary-ink) 25%, transparent); }
.direction-poster .ftr a { color: var(--primary-ink); }
.direction-poster .ftr-brand { grid-column: 1 / -1; order: 9; }
.direction-poster .ftr .brand__word { font-size: clamp(4rem, 20vw, 18.75rem); line-height: .78; letter-spacing: -.01em; color: var(--primary-ink); }
.direction-poster .ftr .brand__word.is-long { font-size: clamp(2.5rem, 8.3vw, 7.5rem); line-height: .9; white-space: normal; }
.direction-poster .ftr-title { font-family: var(--font-display); letter-spacing: .1em; }
