/* noir — «Темний»: an evening site. A dark ground, wide restrained capitals that are never bold, thin lines in the
   metal's colour, square corners, tall portraits drained of colour, one review at a time in the display face.

   In the design layer: over all of Kit's base whatever the selectors, under a site's own CSS. Colours only by their
   role (var(--foreground), var(--primary)…) — the colour set the owner picks drives them, and a band's colour set
   inside its band. The metal is --brand (the design's accent; --accent is a hover's ground). */
@layer design {

.design-noir {
  --pill: 0;
  --head-gap: 3.25rem;
  /* the metal's frame */
  --gilt: color-mix(in srgb, var(--brand) 55%, transparent);
  /* the font pair's sizes and spacing (the tenor pair's; the others below) */
  --h1: 3.75rem; --h2: 2.625rem; --h3: 1rem; --h-track: .08em;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.design-noir.fonts-prata    { --h1: 3.875rem; --h2: 2.75rem; --h3: 1.125rem; --h-track: .03em; }
.design-noir.fonts-playfair { --h1: 4.125rem; --h2: 2.875rem; --h3: 1.1875rem; --h-track: .04em; }
@media (max-width: 1023px) {
  .design-noir { --head-gap: 2.5rem; --h1: 2.5625rem; --h2: 2rem; --h3: .875rem; }
  .design-noir.fonts-prata { --h1: 2.625rem; --h2: 2.0625rem; --h3: 1rem; }
  .design-noir.fonts-playfair { --h1: 2.8125rem; --h2: 2.1875rem; --h3: 1.0625rem; }
}
@media (max-width: 767px) { .design-noir { --head-gap: 2rem; --h1: 2.125rem; --h2: 1.625rem; --h3: .9375rem; font-size: 1rem; } }

/* The type: wide restrained capitals, never bold; a word set apart in a heading is the metal, upright. */
.design-noir :is(h1, h2, h3) { font-weight: 400; text-transform: uppercase; letter-spacing: var(--h-track); }
.design-noir main h1 { font-size: calc(var(--h1) * .8); line-height: 1.12; }
.design-noir main .hero h1 { font-size: var(--h1); }
.design-noir main h2 { font-size: var(--h2); line-height: 1.15; }
.design-noir main h3 { font-size: var(--h3); line-height: 1.35; letter-spacing: .06em; }
/* A card's or a sheet's own heading (the booking sheet's title, «pick the dates») keeps its small size. */
.design-noir main h2:is(.text-lg, .text-xl) { font-size: 1.375rem; line-height: 1.3; }
.design-noir :is(h1, h2) em { font-style: normal; color: var(--brand); }

/* The kicker: spaced capitals in the metal, led by a thin line of it. */
.design-noir .eyebrow { display: flex; align-items: center; gap: .875rem; margin-bottom: 1rem; color: var(--brand); font-family: var(--font-body);
  font-size: .75rem; font-weight: 500; letter-spacing: .22em; }
.design-noir .eyebrow::before { content: ''; flex: none; width: 3.5rem; height: 1px; background: var(--brand); }

/* The buttons: square, spaced capitals; the outline a thin frame of the words' colour, the accent when pointed at. */
.design-noir :where(button, [role=button], label) { --btn-radius: 0; --btn-font: var(--font-body); --btn-weight: 600; --btn-text: .78rem; --btn-text-lg: .78rem; --btn-tracking: .16em; --btn-case: uppercase;
  --btn-h-lg: 3.4rem; --btn-pad-lg: 1.9rem; --btn-outline-line: color-mix(in srgb, var(--foreground) 60%, transparent); }
.design-noir :is(button, [role=button]).outline:hover { --btn-bg: transparent; --btn-line: var(--brand); --btn-ink: var(--brand); }

/* The first screen: centred — the kicker between two thin lines, the headline, the lead 500 across, the buttons under it;
   over a photograph the whole window high, darkest at the foot. */
.design-noir .hero--cover { text-align: center; }
.design-noir .hero--cover .hero-copy { margin-inline: auto; }
.design-noir .hero--cover .eyebrow { justify-content: center; }
.design-noir .hero--cover .eyebrow::after { content: ''; flex: none; width: 3.5rem; height: 1px; background: var(--brand); }
.design-noir .hero--cover .lead { max-width: 31.25rem; margin-inline: auto; }
.design-noir .hero--cover .hero-copy > .flex { justify-content: center; }
.design-noir .hero--cover.has-photo { min-height: min(47.5rem, 100svh); display: flex; align-items: flex-end; }

/* Cards: square, on the surface; their names in the display face's spaced capitals. Prices in the display face and the metal. */
.design-noir .card h3 { font-family: var(--font-display); font-size: .95rem; letter-spacing: .1em; }
/* two lines fill the card title's 3rem box exactly, so the clamp shows no sliver of a third */
.design-noir .card h3 { line-height: 1.5rem; }
.design-noir .card h3 a { font: inherit; letter-spacing: inherit; }
.design-noir .card img { border-radius: 0; }
.design-noir .price-amount .price { font-family: var(--font-display); font-weight: 400; color: var(--brand); }

/* Reasons and steps: thin lines, the steps' in the metal; the numbers in the display face's spaced capitals. */
.design-noir .steps--ruled .border-t { border-top-color: var(--brand); }
.design-noir :is(.steps--ruled, .features--ruled) [aria-hidden="true"]:first-child { font-family: var(--font-display); font-weight: 400; letter-spacing: .2em; color: var(--brand); }

/* The team: no cards — tall portraits a little drained of colour, the names in spaced capitals. */
.design-noir .team .card { border: 0; background: none; }
.design-noir .team .card > figure { aspect-ratio: 2 / 3; }
.design-noir .team .card img { filter: grayscale(.6) brightness(.85); }
.design-noir .team .card.is-text { box-shadow: inset 0 0 0 1px var(--border); }

/* The reviews: one at a time, large, in the display face, centred; no card, no avatar. */
.design-noir .testimonials .section-head { justify-content: center; text-align: center; }
.design-noir .testimonials .section-head .eyebrow { justify-content: center; }
.design-noir .testimonials .section-head .eyebrow::after { content: ''; flex: none; width: 3.5rem; height: 1px; background: var(--brand); }
.design-noir .testimonials .card { border: 0; background: none; padding-inline: clamp(0rem, 8vw, 8rem); }
.design-noir .testimonials blockquote { font-family: var(--font-display); font-size: clamp(1.375rem, 2.6vw, 2.25rem); line-height: 1.4; letter-spacing: .02em; }
.design-noir .testimonials blockquote::before { content: '«'; }
.design-noir .testimonials blockquote::after { content: '»'; }
.design-noir .testimonials figcaption { font-weight: 400; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-foreground); }
.design-noir .testimonials figcaption > span:first-child:not(:only-child) { display: none; }

/* The call to action: no plate — the words centred and large in a frame of the metal. */
.design-noir .cta--boxed { justify-content: center; background: none; }
.design-noir .cta--boxed .container > div { margin-inline: auto; border-color: var(--gilt); background: none; box-shadow: none; text-align: center; }
.design-noir .cta--boxed.has-photo .container > div { border: 0; }

/* The catalogue's filters and chips: square, small spaced capitals; the chosen in a line of the metal. */
.design-noir :is(.filters, .catalog-cats) :is(button, [role=button]).sm { --btn-text: .75rem; --btn-weight: 500; --btn-tracking: .12em; }
.design-noir :is(.filters, .catalog-cats) :is(button, [role=button]).sm:is([aria-pressed=true], [aria-current]:not([aria-current=false])) { --btn-bg: transparent; --btn-line: var(--brand); --btn-ink: var(--brand); }
.design-noir .sort a[aria-current] { color: var(--brand); }
.design-noir .filters button:not(.sm, .select-btn) { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* The contacts: the phone in the display face; the messengers square, as every button here. */
.design-noir main a.rounded-full { border-radius: 0; }
.design-noir .contact-card a[href^="tel:"] { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .06em; color: var(--foreground); }

/* The header: the name in very wide capitals; the menu in small spaced capitals, the chosen underlined in the metal. */
.design-noir .brand__word { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .4em;
  text-transform: uppercase; }
.design-noir :is(a, summary).link-nav { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.design-noir :is(a, summary).link-nav:hover { background: none; color: var(--brand); }
.design-noir :is(a, summary).link-nav:is([aria-current]:not([aria-current=false]), .is-active)::after { height: 1px; background: var(--brand); }
.design-noir [data-header] .link-tool { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

/* The footer: the name very large in the metal across the page, centred over the columns; the titles in spaced capitals. */
.design-noir [data-footer] .container > .grid > :first-child { grid-column: 1 / -1; justify-items: center; padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border); text-align: center; }
.design-noir [data-footer] .brand__word { font-size: clamp(2.5rem, 8vw, 7rem); line-height: 1; letter-spacing: .3em; padding-left: .3em; color: var(--brand); }
@media (max-width: 767px) { .design-noir [data-footer] .brand__word { font-size: clamp(1.75rem, 9.5vw, 3rem); letter-spacing: .12em; padding-left: .12em; white-space: normal; } }
.design-noir [data-footer] h2 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-foreground); }

}
