/* noir — «Темний»: the design's own type, lines and looks, on the body's class. Colours only through var(--*): the
   design's colour sets drive them. */

.design-noir {
  --section-pad: clamp(5rem, 10.4vw, 9.4rem);
  --head-gap: clamp(2.5rem, 4.4vw, 4.5rem);
  --pill: 0;
  --radius: 0px;
  --radius-small: 0px;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
}

/* The type: wide restrained capitals, never bold; the body light. */
.design-noir :is(h1, h2, h3) { font-weight: 400; text-transform: uppercase; }
.design-noir main h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.12; letter-spacing: .02em; }
.design-noir main h2 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.2; letter-spacing: .06em; }
.design-noir main h3 { font-size: clamp(1.15rem, 1.5vw, 1.375rem); line-height: 1.3; letter-spacing: .05em; }
.design-noir :is(h1, h2) em { font-style: normal; color: var(--accent); }

/* The kicker: spaced capitals in the metal, led by a thin line of it. */
.design-noir .eyebrow { display: flex; align-items: center; gap: 1.1rem; font-family: var(--font-display); font-size: .75rem; font-weight: 400;
                           letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.design-noir .eyebrow::before { content: ''; flex: none; width: 3.5rem; height: 1px; background: var(--accent); }

/* The buttons: square, spaced capitals; the second a thin frame of its colour. */
.design-noir .btn { border-radius: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; box-shadow: none; }
.design-noir .btn:hover { transform: none; box-shadow: none; }
.design-noir main .btn { min-height: 3.4rem; padding-inline: 1.9rem; }
.design-noir main .btn-ghost { border: 1px solid currentColor; background: none; color: var(--ink); }

/* The first screen: the photograph the whole window behind the words, darkest at the foot; the words at its foot, the
   buttons at their end. */
.design-noir .hero--cover.has-photo { min-height: 100svh; display: flex; align-items: flex-end; padding-block: 8rem clamp(3rem, 5.5vw, 5rem); }
.design-noir .hero--cover.has-photo .hero-inner { width: 100%; }
.design-noir .hero--cover.has-photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, .82)); }
@media (min-width: 900px) {
  .design-noir .hero--cover.has-photo .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; align-items: end; }
  .design-noir .hero--cover.has-photo .hero-copy > :not(.hero-actions) { grid-column: 1; }
  .design-noir .hero--cover.has-photo .hero-actions { grid-column: 2; grid-row: 1 / span 4; align-self: end; }
}
.design-noir .hero--cover .lead { max-width: 35rem; margin-bottom: 0; }
.design-noir .hero--cover .eyebrow { color: var(--accent); }

/* About: the words light beside a tall photograph; the figures right under them, the same section in effect. */
.design-noir .story-text p { font-size: clamp(1.15rem, 1.5vw, 1.375rem); font-weight: 300; line-height: 1.7; color: var(--ink); }
.design-noir .story--side .story-media :is(img, .placeholder) { aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
.design-noir main .section:has(.story) + .section:has(.stats) { padding-top: 0; }
.design-noir main .section:has(.story) + .section:has(.stats) .section-head { display: none; }

/* The figures: in the display face and the metal, under a thin line, four in a row. */
.design-noir .stats .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 1.75rem 0 0; border-top: 1px solid var(--line); }
.design-noir .hero-stats dd { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 3.4vw, 3rem); line-height: 1; color: var(--accent); }
.design-noir .hero-stats dt { margin-top: .75rem; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .design-noir .stats .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The offer as a list beside one tall photograph: the names in the display face, the prices in the metal. */
.design-noir .offer-index__n::before { content: counter(offer, decimal-leading-zero); font-family: var(--font-display); letter-spacing: .2em; color: var(--accent); font-size: .8rem; }
.design-noir .price-line .price { font-family: var(--font-display); color: var(--accent); font-weight: 400; }
.design-noir :is(.card__title, .svc-card h3) { font-family: var(--font-display); font-weight: 400; letter-spacing: .04em; }

/* Reasons and steps: thin lines, the numbers in spaced capitals of the metal. */
.design-noir .feature-index { font-family: var(--font-display); font-size: .8rem; letter-spacing: .2em; color: var(--accent); }
.design-noir .feature-index::before { content: counter(feature, decimal-leading-zero); }
.design-noir :is(.features--ruled, .steps--ruled) .feature-card { border-top: 1px solid var(--line); }
.design-noir .steps--ruled .feature-card { border-top-color: var(--accent); }
.design-noir .feature-card p { color: var(--muted); }

/* The team: tall portraits, a little drained of colour, side by side with a hair between; the names in spaced capitals. */
.design-noir .team .team-grid { grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: 2.5rem 2px; }
.design-noir :is(.person, .person.is-text) { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.design-noir .team .person__photo { aspect-ratio: 2 / 3; border-radius: 0; }
.design-noir .person__photo :is(img, .placeholder) { filter: grayscale(.6) brightness(.85); }
.design-noir .person__name { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 400; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.design-noir .person__role { color: var(--muted); font-size: .9rem; }

/* The reviews: one at a time, large, in the display face, centred; no card. */
.design-noir .testimonials .section-head { justify-content: center; text-align: center; }
.design-noir .testimonials .section-head .eyebrow { justify-content: center; }
.design-noir .quote-card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 clamp(0rem, 8vw, 8rem); }
.design-noir .quote-card blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.4; letter-spacing: .02em; color: var(--ink); }
.design-noir .quote-card blockquote::before { content: '«'; margin: 0; color: inherit; }
.design-noir .quote-card blockquote::after { content: '»'; margin: 0; color: inherit; }
.design-noir .quote-card figcaption { margin-top: 1.75rem; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.design-noir .quote-avatar { display: none; }
.design-noir .quotes-nav__arrow { border-color: var(--line); color: var(--muted); }

/* The call to action over a photograph across the page: a veil, the words centred and large, no plate. */
.design-noir .cta--boxed { min-height: clamp(26rem, 43vw, 38.75rem); align-items: center; justify-content: center; }
.design-noir .cta--boxed.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .55); }
.design-noir .cta--boxed .cta-inner { margin: 0 auto; max-width: 56rem; background: none; text-align: center; padding: 3rem 24px; display: grid; justify-items: center; gap: 2rem;
                                         color: #fff; --ink: #fff; --body-text: rgba(255, 255, 255, .85); }
.design-noir .cta--boxed .cta-inner h2 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.3; letter-spacing: .04em; }

/* The header: over the first photograph clear and light; the name in very wide capitals. */
.design-noir .brand__word { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .4em; padding-left: .4em; text-transform: uppercase;
                               color: var(--hd-ink, var(--ink)); white-space: nowrap; }
.design-noir .brand__word.is-long { font-size: 1.15rem; letter-spacing: .24em; }
.design-noir .hdr nav a { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* The footer: the name very large in the metal across the page, the columns under a thin line. */
.design-noir .ftr-brand { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
                             border-bottom: 1px solid var(--line); }
.design-noir .ftr .brand__word { font-size: clamp(3rem, 10.4vw, 9.4rem); letter-spacing: .3em; padding-left: .3em; line-height: 1; color: var(--accent); }
.design-noir .ftr .brand__word.is-long { font-size: clamp(2rem, 6vw, 5.5rem); letter-spacing: .14em; white-space: normal; }
.design-noir .ftr-title { font-family: var(--font-display); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
