/* blueprint — «Креслення»: the direction's own type, lines and looks, on the body's class. Colours only through var(--*):
   the direction's colour sets drive them. */

.direction-blueprint {
  --section-pad: clamp(4.5rem, 7.6vw, 6.9rem);
  --head-gap: clamp(2rem, 3vw, 2.75rem);
  --pill: 999px;
  --radius: 16px;
  --radius-small: 10px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* The type: a heavy grotesque, close-set; the figures and the small labels monospaced. */
.direction-blueprint :is(h1, h2) { font-weight: 800; letter-spacing: -.03em; }
.direction-blueprint main h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.04; }
.direction-blueprint main h2 { font-size: clamp(2.1rem, 3.6vw, 3.25rem); line-height: 1.08; }
.direction-blueprint main h3 { font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.375rem); letter-spacing: -.01em; }
.direction-blueprint :is(h1, h2) em { font-style: normal; color: var(--primary); }
.direction-blueprint .eyebrow { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
                                font-variant-ligatures: none; }

/* The buttons: round ends; the second a frame of the line. */
.direction-blueprint .btn { border-radius: 999px; font-weight: 600; box-shadow: none; }
.direction-blueprint .btn:hover { transform: none; box-shadow: none; }
.direction-blueprint main .btn { min-height: 3.25rem; padding-inline: 1.5rem; }
.direction-blueprint main .btn-ghost { border: 1.5px solid var(--line); background: none; color: var(--ink); }
.direction-blueprint .hero-actions { gap: .75rem; }

/* The first screen: a rule under it; the free times beside the words, in the labels' type. */
.direction-blueprint .section:has(> .hero) { border-bottom: 1px solid var(--line); }
.direction-blueprint .hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 35rem; }
.direction-blueprint .book-panel__label { font-weight: 600; }
.direction-blueprint .book-panel__slot { font-family: var(--mono); font-size: .94rem; }
.direction-blueprint .book-panel__name small { font-family: var(--mono); }
.direction-blueprint .book-panel__price { font-family: var(--mono); font-weight: 600; }

/* The price list: rows under a rule of the ink, the numbers, the time and the price monospaced. */
.direction-blueprint .offer-index__rows { border-top: 1px solid var(--ink); }
.direction-blueprint .offer-index__n::before { content: counter(offer, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.direction-blueprint .offer-index__name { font-weight: 600; font-size: 1.125rem; }
.direction-blueprint :is(.offer-index__time, .offer-index__line) { font-family: var(--mono); font-size: .85rem; }
.direction-blueprint .offer-index__price { font-family: var(--mono); font-weight: 600; font-size: 1.15rem; }

/* Reasons and steps: cells of a grid ruled by hairlines. */
.direction-blueprint :is(.features--ruled, .steps--ruled) .features-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.direction-blueprint :is(.features--ruled, .steps--ruled) .feature-card { border: 0; background: var(--bg); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.direction-blueprint .feature-index { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--accent); }
.direction-blueprint .feature-index::before { content: counter(feature, decimal-leading-zero); }
.direction-blueprint .feature-card p { color: var(--muted); }

/* The figures: a band of the primary, monospaced, the cells divided by thin light lines. */
.direction-blueprint .stats--giant .hero-stats { border-top: 0; }
.direction-blueprint .stats--giant .hero-stats dd { font-family: var(--mono); font-weight: 600; font-size: clamp(2.4rem, 3.9vw, 3.4rem); letter-spacing: -.02em; }
.direction-blueprint .stats--giant .hero-stats > div + div { border-left-width: 1px; }

/* The team and the reviews: photos with soft corners, cards on the surface; the names in the labels' type. */
.direction-blueprint :is(.person, .person.is-text) { background: none; border: 0; box-shadow: none; padding: 0; }
.direction-blueprint .person__role { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.direction-blueprint .quote-card { border: 0; border-radius: 18px; background: var(--surface); box-shadow: none; }
.direction-blueprint .quote-card blockquote { font-family: var(--font-body); font-size: 1.06rem; }
.direction-blueprint .quote-card blockquote::before { content: '«'; margin: 0; color: inherit; }
.direction-blueprint .quote-card blockquote::after { content: '»'; margin: 0; color: inherit; }
.direction-blueprint .quote-card figcaption { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }

/* The call to action: one line under a rule of the ink. */
.direction-blueprint .cta--poster .cta-inner { padding-top: clamp(2.5rem, 4.4vw, 4.5rem);
                                                 background: linear-gradient(var(--ink), var(--ink)) 50% 0 / calc(100% - 48px) 1px no-repeat; } /* the rule over the column only, not its gutters */
.direction-blueprint .cta--poster .cta-inner h2 { max-width: 24ch; }

/* The header: a hairline under it; the name heavy beside its first letter in a square of the primary. */
.direction-blueprint .hdr { border-bottom: 1px solid var(--line); }
.direction-blueprint .brand__word { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; font-size: 1.375rem; letter-spacing: -.01em;
                                   color: var(--ink); white-space: nowrap; }
.direction-blueprint .brand__word::before { content: attr(data-initial); flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 9px;
                                            background: var(--primary); color: var(--primary-ink); font-size: 1.1rem; font-weight: 800; }
.direction-blueprint .brand__word.is-long { font-size: 1.1rem; }

/* The footer: the facts in a row over a hairline, their labels in the labels' type. */
.direction-blueprint .ftr { border-top: 1px solid var(--line); }
.direction-blueprint :is(.ftr-title, .ftr-fact__label) { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* The reviews three in a row. */
.direction-blueprint .quotes-grid { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
