/* atelier — «Ремесло»: the direction's own type, spacing and looks, on the body's class. Colours only through
   var(--*): the direction's colour sets drive them. */

.direction-atelier {
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --head-gap: clamp(2.5rem, 4.5vw, 4rem);
  --pill: 0;
  --radius: 0px;
  --radius-small: 0px;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* The type: a serif at weight 500 — large, light, close-set. */
.direction-atelier :is(h1, h2, h3) { font-weight: 500; letter-spacing: -.015em; }
.direction-atelier main h1 { font-size: clamp(2.9rem, 6.4vw, 5.75rem); line-height: .98; }
.direction-atelier main h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1; }
.direction-atelier main h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.12; }
/* The one word of the headline set apart: in italic, in the accent. */
.direction-atelier :is(h1, h2) em { font-style: italic; color: var(--accent); }

/* The kicker: small capitals led by a thin line. */
.direction-atelier .eyebrow { display: flex; align-items: center; gap: .9rem; font-size: .82rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.direction-atelier .eyebrow::before { content: ''; flex: none; width: 3rem; height: 1px; background: var(--ink); }

/* The buttons: square everywhere; tall and quiet in the page (the header keeps its own height). */
.direction-atelier .btn { border-radius: 0; font-weight: 500; }
.direction-atelier main .btn { min-height: 3.6rem; padding-inline: 1.9rem; }

/* Thin rules between the sections on the page's own ground. */
.direction-atelier main > .section + .section { border-top: 1px solid var(--line); }

/* The second action is a word, not a frame: underlined, beside the button. */
.direction-atelier .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.direction-atelier main .btn-ghost { min-height: 0; padding: 0 0 .15rem; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); }
.direction-atelier main .btn-ghost::after { content: ' →'; }

/* The offer as an index: roman numbers in the serif's italic. */
.direction-atelier .offer-index__n::before { content: counter(offer, lower-roman) "."; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; }

/* The call to action on its plate: the heading in the serif's italic. */
.direction-atelier .cta--boxed .cta-inner h2 { font-style: italic; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; }

/* Reasons and steps under their rules: roman numbers in the serif's italic, the titles in the serif. */
.direction-atelier .feature-index::before { content: counter(feature, lower-roman) "."; }
.direction-atelier .feature-index { font-style: italic; font-size: 1.6rem; color: var(--accent); }
.direction-atelier main .feature-card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.direction-atelier .feature-card p { color: var(--muted); }

/* The wordmark: the name in the serif's capitals, spaced wide. */
.direction-atelier .brand__word { font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; line-height: 1; letter-spacing: .22em;
                                  text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.direction-atelier .brand__word.is-long { font-size: 1.3rem; letter-spacing: .14em; }
.direction-atelier .hdr-brand--mini .brand__word { font-size: 1.15rem; letter-spacing: .18em; }

/* The footer opens with the name, very large, across the whole row; the menu and the contacts stand under it. */
.direction-atelier .ftr-main { padding-block: clamp(3.5rem, 6.6vw, 6rem) 2.5rem; }
.direction-atelier .ftr-brand { grid-column: 1 / -1; display: grid; justify-items: center; gap: 1.25rem; text-align: center;
                                padding-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.direction-atelier .ftr .brand__word { font-size: clamp(3.5rem, 14vw, 13rem); font-weight: 500; line-height: .85; letter-spacing: .06em; }
.direction-atelier .ftr .brand__word.is-long { font-size: clamp(2.2rem, 7vw, 6.5rem); letter-spacing: .04em; white-space: normal; }
.direction-atelier .ftr-about { max-width: 34rem; margin-inline: auto; }

/* The numbers: large figures in the serif, the label small, four in a row under a rule. */
.direction-atelier .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 0; padding-top: 0; }
.direction-atelier .hero-stats > div { padding: 1.4rem 1.5rem 0 0; }
.direction-atelier .hero-stats dd { font-size: clamp(2.6rem, 3.9vw, 3.5rem); font-weight: 500; line-height: 1; }
.direction-atelier .hero-stats dt { margin-top: .5rem; font-size: .94rem; }

/* The reviews: no cards — the first one large in the serif's italic, the two after it smaller. */
.direction-atelier .quotes-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4.4vw, 4rem); }
.direction-atelier .quote-card { background: none; border: 0; box-shadow: none; padding: 0; }
.direction-atelier .quote-card blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.7vw, 1.45rem); line-height: 1.3; color: var(--ink); }
.direction-atelier .quote-card:first-child blockquote { font-size: clamp(1.6rem, 2.2vw, 1.9rem); }
.direction-atelier .quote-card blockquote::before, .direction-atelier .quote-card blockquote::after { content: none; }
.direction-atelier .quote-card blockquote::before { content: '«'; margin: 0; }
.direction-atelier .quote-card blockquote::after { content: '»'; margin: 0; }
.direction-atelier .quote-avatar { display: none; }
.direction-atelier .quote-card figcaption { margin-top: 1.1rem; font-size: .94rem; color: var(--muted); }

/* The team: no cards — a rule over each, the name in the serif. */
.direction-atelier :is(.person, .person.is-text) { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; box-shadow: none; padding: 1.2rem 0 0; }
.direction-atelier .person__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.direction-atelier .person.is-text::before { display: none; }
.direction-atelier .person.is-text .person__name { font-size: clamp(1.4rem, 2vw, 1.75rem); }
