/* flow — «Плин»: the direction's own type, plates and looks, on the body's class. Colours only through var(--*): the
   direction's colour sets drive them. */

.direction-flow {
  --section-pad: clamp(4.5rem, 8.3vw, 7.5rem);
  --head-gap: clamp(2rem, 3.3vw, 3rem);
  --pill: 999px;
  --radius: 32px;
  --radius-small: 18px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* The type: the wide face light and large, the word that matters in its heavier weight; the body soft. */
.direction-flow :is(h1, h2, h3) { font-weight: 300; letter-spacing: -.02em; }
.direction-flow main h1 { font-size: clamp(2.4rem, 5.1vw, 4.6rem); line-height: 1.08; letter-spacing: -.03em; }
.direction-flow main h2 { font-size: clamp(1.9rem, 3.6vw, 3.25rem); line-height: 1.12; }
.direction-flow main h3 { font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.375rem); }
.direction-flow :is(h1, h2) em { font-style: normal; font-weight: 500; }
.direction-flow .eyebrow { font-size: .9rem; font-weight: 700; letter-spacing: .02em; text-transform: none; color: var(--accent); }

/* The buttons: round ends, bold; the second on the surface. */
.direction-flow .btn { border-radius: 999px; font-weight: 700; box-shadow: none; }
.direction-flow .btn:hover { transform: none; box-shadow: none; }
.direction-flow main .btn { min-height: 3.4rem; padding-inline: 1.75rem; }
.direction-flow main .btn-ghost { border: 0; background: var(--surface); color: var(--ink); }
.direction-flow .hero-actions { gap: .75rem; }
.direction-flow .hero .lead { font-size: 1.25rem; color: var(--muted); }

/* The classes, the reasons, the steps: plates of the surface with large radii. */
.direction-flow :is(.card, .svc-card) { background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: none; }
.direction-flow .svc-card h3 { font-family: var(--font-display); font-weight: 400; }
.direction-flow :is(.features--cards, .steps--cards) .feature-card { border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: none; padding: clamp(1.75rem, 2.5vw, 2.25rem); }
.direction-flow .feature-index { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; color: var(--accent); }
.direction-flow .feature-index::before { content: counter(feature, decimal-leading-zero); }
.direction-flow .feature-card p { color: var(--muted); }

/* The team: tall round-cornered portraits, the names in the wide face. */
.direction-flow :is(.person, .person.is-text) { background: none; border: 0; box-shadow: none; padding: 0; }
.direction-flow .person__photo { border-radius: var(--radius); }
.direction-flow .person__name { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }

/* The reviews: one at a time, large in the wide face, on a plate of the surface. */
.direction-flow main .section:has(.testimonials--carousel) .testimonials { padding: clamp(2rem, 5vw, 4.5rem); border-radius: calc(var(--radius) + 16px); background: var(--surface); }
.direction-flow .testimonials--carousel .quote-card { background: none; border: 0; box-shadow: none; padding: 0 clamp(0rem, 6vw, 6rem); }
.direction-flow .quote-card blockquote { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; }
.direction-flow .quote-card blockquote::before { content: '«'; margin: 0; color: inherit; }
.direction-flow .quote-card blockquote::after { content: '»'; margin: 0; color: inherit; }
.direction-flow .quote-avatar { display: none; }

/* The call to action: a plate of the primary held off the page's edges, round-cornered. */
.direction-flow main .section:has(> .cta--band) { padding-inline: clamp(12px, 1.7vw, 24px); }
.direction-flow .cta--band { border-radius: calc(var(--radius) + 16px); }

/* The header: the name in the wide face beside a round mark fading from the accent to the primary. */
.direction-flow .brand__word { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;
                               letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.direction-flow .brand__word::before { content: ''; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
                                       background: radial-gradient(circle at 35% 35%, var(--accent), var(--primary)); }
.direction-flow .brand__word.is-long { font-size: 1.05rem; }
.direction-flow .ftr { border-top: 1px solid var(--line); }
