/* blueprint — «Креслення»: 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-blueprint {
  --accent-text: color-mix(in srgb, var(--accent) 65%, var(--ink)); /* small words in the accent, readable on every set */
  /* a section holds 56 over and under, so two neighbours stand 112 apart as drawn (84 on a laptop, 64 on a phone) */
  --section-pad: 3.5rem;
  --head-gap: 3rem;
  --pill: 999px;
  --radius: 16px;
  --radius-small: 10px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --body-text: var(--text);
  --dark: var(--ink); /* the status strip's and the facts footer's ground */
  /* the font pair's sizes and its monospace (the onest pair's; the others below) */
  --h1: 4.5rem; --h2: 3.25rem; --h3: 1.375rem; --h-weight: 800; --h-track: -.03em;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.design-blueprint.fonts-roboto     { --mono: 'Roboto Mono', ui-monospace, monospace; --h1: 5.125rem; --h2: 3.75rem; --h3: 1.5625rem; --h-weight: 700; --h-track: -.015em; }
.design-blueprint.fonts-montserrat { --mono: 'IBM Plex Mono', ui-monospace, monospace; --h1: 3.875rem; --h2: 2.875rem; --h3: 1.3125rem; --h-track: -.025em; }
/* a laptop's builder preview or a tablet (760–999): the pairs' sizes and the rhythm scaled as drawn */
@media (min-width: 760px) and (max-width: 999px) {
  .design-blueprint { --section-pad: 2.625rem; --head-gap: 2.5rem; --h1: 3.0625rem; --h2: 2.5rem; --h3: 1.1875rem; }
  .design-blueprint.fonts-roboto { --h1: 3.5rem; --h2: 2.875rem; --h3: 1.375rem; }
  .design-blueprint.fonts-montserrat { --h1: 2.625rem; --h2: 2.1875rem; --h3: 1.125rem; }
}
@media (max-width: 759px) { .design-blueprint { --section-pad: 2rem; --head-gap: 2rem; --h1: 2.5rem; --h2: 2rem; --h3: 1.25rem; font-size: 1rem; } }

/* The type: a heavy grotesque, close-set; the figures and the small labels monospaced. */
.design-blueprint :is(h1, h2) { font-weight: var(--h-weight); letter-spacing: var(--h-track); color: var(--ink); }
.design-blueprint main h1 { font-size: calc(var(--h1) * .82); line-height: 1.03; text-wrap: balance; } /* an inner page's */
.design-blueprint main .hero h1 { font-size: var(--h1); }
.design-blueprint main h2 { font-size: var(--h2); line-height: 1.06; text-wrap: balance; }
.design-blueprint main h3 { font-weight: 700; font-size: var(--h3); letter-spacing: -.01em; }
/* Graphite's primary is its ink: the word set apart takes the accent there (the designer's). */
.design-blueprint :is(h1, h2) em { font-style: normal; color: var(--primary); }
.design-blueprint .eyebrow { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
                                font-variant-ligatures: none; }

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

/* The first screen: a rule under it; the free times beside the words, in the labels' type. */
.design-blueprint .section:has(> .hero) { border-bottom: 1px solid var(--line); }
.design-blueprint .hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 35rem; }
.design-blueprint .book-panel__label { font-weight: 600; }
.design-blueprint .book-panel__slot { font-family: var(--mono); font-size: .94rem; }
.design-blueprint .book-panel__name small { font-family: var(--mono); }
.design-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. */
.design-blueprint .offer-index__rows { border-top: 1px solid var(--ink); }
.design-blueprint .offer-index__n::before { content: counter(offer, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--accent-text); }
.design-blueprint .offer-index__name { font-weight: 600; font-size: 1.125rem; }
.design-blueprint :is(.offer-index__time, .offer-index__line) { font-family: var(--mono); font-size: .85rem; }
.design-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. */
.design-blueprint :is(.features--ruled, .steps--ruled) .features-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.design-blueprint :is(.features--ruled, .steps--ruled) .feature-card { border: 0; background: var(--bg); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.design-blueprint .feature-index { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--accent-text); }
.design-blueprint .feature-index::before { content: counter(feature, decimal-leading-zero); }
.design-blueprint .feature-card p { color: var(--muted); }

/* The figures: a band of the primary, monospaced, the cells divided by thin light lines. */
.design-blueprint .stats--giant .hero-stats { border-top: 0; }
.design-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; }
.design-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. */
.design-blueprint :is(.person, .person.is-text) { background: none; border: 0; box-shadow: none; padding: 0; }
.design-blueprint .person__role { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.design-blueprint .quote-card { border: 0; border-radius: 18px; background: var(--surface); box-shadow: none; }
.design-blueprint .quote-card blockquote { font-family: var(--font-body); font-size: 1.06rem; }
.design-blueprint .quote-card blockquote::before { content: '«'; margin: 0; color: inherit; }
.design-blueprint .quote-card blockquote::after { content: '»'; margin: 0; color: inherit; }
.design-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. */
.design-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% - 2 * var(--gutter)) 1px no-repeat; } /* the rule over the column only, not its gutters */
.design-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. */
.design-blueprint .hdr { border-bottom: 1px solid var(--line); }
.design-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; }
.design-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; }
.design-blueprint .brand__word.is-long { font-size: 1.1875rem; }
@media (max-width: 759px) {
  .design-blueprint .brand__word { font-size: 1.125rem; }
  .design-blueprint .brand__word::before { width: 2rem; height: 2rem; }
  .design-blueprint .brand__word.is-long { font-size: .9375rem; white-space: normal; line-height: 1.15; }
}

/* The footer: the facts in a row over a hairline, their labels in the labels' type. */
.design-blueprint .ftr { border-top: 1px solid var(--line); }
.design-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. */
.design-blueprint .quotes-grid { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }

/* Open now in the header's row, between the menu and the button: monospaced capitals, the state and its hour run together. */
@media (min-width: 1100px) {
  .design-blueprint.header--layout-classic .hdr:not(:has(.brand__word.is-long)) .hdr-top__l { display: flex; }
  .design-blueprint .hdr-top__l { order: 1; align-items: center; margin-left: 1.75rem; }
  .design-blueprint .hdr-utils { order: 2; }
  .design-blueprint .hdr-top__l .hdr-bar__tel { display: none; }
  .design-blueprint .hdr-top__l .open-status { gap: .5rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .design-blueprint .hdr-top__l .open-status strong { color: inherit; font-weight: 500; }
  .design-blueprint .hdr-top__l .open-status__sep { display: none; }
  .design-blueprint .hdr-top__l .open-status__dot { width: 6px; height: 6px; box-shadow: none; }
}

/* The buttons at the design's height exactly (a min-height let the base padding and the line make them 3–5 px taller);
   the header's call as tall as them, the header's row as the design's. */
@media (min-width: 760px) { body.design-blueprint { --header-row-h: 6.06rem; } }
.design-blueprint .hdr-cta { height: 3.25rem; padding-inline: 1.5rem; font-size: 1rem; }

/* utility-bar: a dark strip of the status (40 px, the monospace in capitals, light on the ink) over a row of 84 px. */
@media (min-width: 760px) {
  .design-blueprint.header--layout-utility-bar .hdr { --header-bar-h: 2.5rem; --hd-bar: var(--dark); }
  body.design-blueprint.header--layout-utility-bar { --header-row-h: 5.25rem; }
  .design-blueprint.header--layout-utility-bar .hdr-bar { color: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 0;
                                                            font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
  .design-blueprint.header--layout-utility-bar .hdr-bar :is(a, strong, summary, .hdr-acct) { color: var(--bg); font-weight: 500; }
  .design-blueprint.header--layout-utility-bar .hdr-bar .open-status { color: inherit; }
  .design-blueprint.header--layout-utility-bar .hdr-bar .open-status__sep { display: none; }
  .design-blueprint.header--layout-utility-bar .hdr-bar .lang-switch { --ls-ink: var(--bg); --ls-muted: color-mix(in srgb, var(--bg) 70%, transparent); --ls-mark: var(--bg); }
  .design-blueprint.header--layout-utility-bar .header-cart { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
}
.design-blueprint .open-status__dot { background: var(--success); }

/* cover: the photo behind, white words on a dark scrim, the same on every colour set; the status a pill of glass. */
.design-blueprint .section:has(> .hero--cover.has-photo) { padding: 0; }
.design-blueprint .hero--cover.has-photo { min-height: min(45rem, 100svh); display: flex; align-items: center; padding-block: 7rem 5rem;
                                            --ink: #fff; --body-text: rgba(255, 255, 255, .86); --muted: rgba(255, 255, 255, .8); color: #fff; }
.design-blueprint .hero--cover.has-photo .hero-inner { width: 100%; }
.design-blueprint .hero--cover.has-photo::after { background: linear-gradient(90deg, rgba(10, 16, 14, .82) 0%, rgba(10, 16, 14, .5) 48%, rgba(10, 16, 14, .1) 80%); }
.design-blueprint .hero--cover h1 { color: #fff; max-width: 47.5rem; }
.design-blueprint .hero--cover h1 em { color: #d8c08f; }
.design-blueprint .hero--cover .eyebrow { color: rgba(255, 255, 255, .9); }
.design-blueprint .hero--cover .lead { color: rgba(255, 255, 255, .86); }
.design-blueprint .hero--cover .hero-actions .btn:not(.btn-ghost) { background: #fff; color: #13231d; border-color: #fff; }
.design-blueprint .hero--cover .hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
@media (max-width: 759px) {
  .design-blueprint .hero--cover.has-photo { min-height: 37.5rem; align-items: flex-end; padding-block: 7.5rem 2.5rem; }
  .design-blueprint .hero--cover.has-photo::after { background: linear-gradient(0deg, rgba(10, 16, 14, .9) 0%, rgba(10, 16, 14, .6) 55%, rgba(10, 16, 14, .2) 100%); }
  .design-blueprint .hero-actions .btn { flex: 1; }
}

/* The footer: facts — on the ink, the figures large in the monospace; columns — on the page, the titles in labels. */
.design-blueprint.footer--layout-facts .ftr { background: var(--dark); color: color-mix(in srgb, var(--bg) 75%, transparent); border-top: 0;
                                              --ink: var(--bg); --body-text: color-mix(in srgb, var(--bg) 75%, transparent); --muted: color-mix(in srgb, var(--bg) 55%, transparent);
                                              --line: color-mix(in srgb, var(--bg) 14%, transparent); }
.design-blueprint.footer--layout-facts .ftr a { color: color-mix(in srgb, var(--bg) 85%, transparent); }
.design-blueprint.footer--layout-facts .ftr .brand__word { color: var(--bg); }
.design-blueprint.footer--layout-facts .ftr .brand__word::before { background: var(--bg); color: var(--dark); }
.design-blueprint .ftr :is(.ftr-tel, .ftr-hours dd) { font-family: var(--mono); }

/* ---- the inner pages: the same markup as every design's, drawn as the designer drew the service station --------
   Radii: photos 14, cards 16, fields and time tiles 10, buttons and chips round. The figures in the monospace. */
.design-blueprint .crumbs { font-family: var(--mono); font-size: .8125rem; color: var(--muted); }
.design-blueprint .crumbs__link { color: var(--text); }

/* The catalogue: the categories as round chips (the chosen one the primary), the price fields framed, the sort. */
.design-blueprint .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.125rem 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.design-blueprint .filter { display: flex; align-items: center; gap: .625rem; margin: 0; }
.design-blueprint .filter__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.design-blueprint .chip { height: 2.5rem; padding: 0 1rem; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: .875rem; }
.design-blueprint .chip.is-active { background: var(--primary); color: var(--primary-ink); box-shadow: none; }
.design-blueprint .chip-count { font-family: var(--mono); font-size: .6875rem; opacity: .7; background: none; color: inherit; }
.design-blueprint .filter__range input { width: 6rem; height: 2.625rem; border: 0; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); }
.design-blueprint .sort a { font-size: .875rem; }
.design-blueprint .sort a[aria-current] { color: var(--primary); font-weight: 600; }
.design-blueprint .catalog-bar__found { font-family: var(--mono); font-size: .8125rem; color: var(--muted); }

/* Cards: a frame of the line at 12 px, radius 16, the photo 4:3 at 10; the price in the monospace. */
.design-blueprint :is(.card--product, .related-card) { padding: .75rem; border: 0; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.design-blueprint :is(.card--product .card__media, .related-card__media) { border-radius: 10px; overflow: hidden; }
.design-blueprint .card--product .card__media img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.design-blueprint .card--product :is(.card__title, .price-line, .buy--card, .card__stock) { margin-inline: .5rem; }
.design-blueprint .card--product .card__title { margin-top: 1rem; font-size: calc(var(--h3) * .92); font-weight: 700; }
.design-blueprint :is(.card--product, .related-card, .svc-card, .product-buy, .cart-line, .checkout-summary) .price { font-family: var(--mono); font-weight: 600; }
.design-blueprint .price-off { border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: .75rem; }

/* Services and visits as cards with the time and the price monospaced. */
.design-blueprint .svc-card { border-radius: 16px; }
.design-blueprint :is(.svc-card__dur, .svc-card__price, .booking-price, .rental-price, .service-price) { font-family: var(--mono); }
.design-blueprint .svc-card__media img { border-radius: 10px; }

/* A product's or a service's page. */
.design-blueprint .product-buy__title { font-size: clamp(2rem, 3.7vw, calc(var(--h1) * .62)); font-weight: var(--h-weight); letter-spacing: var(--h-track); }
.design-blueprint .product-buy .price { font-size: 1.75rem; }
.design-blueprint .product-gallery__stage { border-radius: 14px; overflow: hidden; }
.design-blueprint .product-section-title { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.design-blueprint .related__head .product-section-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, calc(var(--h2) * .7)); font-weight: var(--h-weight); letter-spacing: var(--h-track); text-transform: none; color: var(--ink); }

/* Fields: framed, radius 10; the primary's frame 2 px in focus. */
.design-blueprint main :is(input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], input:not([type]), textarea, select) {
  border: 0; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.design-blueprint main :is(input, textarea, select):focus { outline: 0; box-shadow: inset 0 0 0 2px var(--primary); }

/* The cart's panel: rounded on its open side, lines with square photos, the sums monospaced. */
.design-blueprint .cart-drawer__panel { border-radius: 18px 0 0 18px; }
.design-blueprint .cart-line img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.design-blueprint :is(.cart-sum, .checkout-sums) strong { font-family: var(--mono); }

/* The checkout: each step under a line, its number in the monospace; the ways framed rows, the chosen in 2 px of the
   primary; the order on the surface. */
.design-blueprint .checkout-block { padding-top: 1.75rem; border-top: 1px solid var(--line); }
.design-blueprint .checkout-step { font-family: var(--mono); color: var(--accent-text); }
.design-blueprint .choice { padding: 1rem 1.125rem; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); background: none; }
.design-blueprint .choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--primary); background: none; }
.design-blueprint .choice input[type="radio"] { accent-color: var(--primary); }
.design-blueprint .checkout-summary { border: 0; border-radius: 18px; background: var(--surface); box-shadow: none; }

/* Booking: the calendar's days and the times as tiles on the surface, radius 10, the chosen the primary. */
.design-blueprint :is(.book-card, .rent-card) { border-radius: 18px; }
.design-blueprint .cal-grid { gap: .375rem; }
.design-blueprint .cal[data-mode='single'] .cal-day { min-height: 2.875rem; border: 0; border-radius: 10px; background: var(--surface); font-family: var(--mono); }
.design-blueprint .cal[data-mode='single'] .cal-day:disabled:not(.is-selected) { background: none; }
.design-blueprint .cal[data-mode='single'] .cal-day.is-selected { background: var(--primary); color: var(--primary-ink); }
.design-blueprint .cal-day { font-family: var(--mono); }
.design-blueprint .slot span { min-height: 2.875rem; border: 0; border-radius: 10px; background: var(--surface); font-family: var(--mono); }
.design-blueprint .slot input:checked + span { background: var(--primary); color: var(--primary-ink); }

/* Contacts: the phone on a card of the primary, monospaced; the hours monospaced, today bold. */
.design-blueprint .contact-quick .contact-fact:has(a[href^="tel:"]) { padding: 1.625rem; border: 0; border-radius: 18px; background: var(--primary); color: var(--primary-ink); }
.design-blueprint .contact-quick .contact-fact:has(a[href^="tel:"]) :is(a, span, small) { color: var(--primary-ink); }
.design-blueprint .contact-quick a[href^="tel:"] { font-family: var(--mono); font-weight: 600; font-size: 2.125rem; letter-spacing: -.02em; }
.design-blueprint .contact-form--card { border: 0; border-radius: 18px; background: none; box-shadow: inset 0 0 0 1px var(--line); }
.design-blueprint .hours :is(dd, td, span:last-child) { font-family: var(--mono); }

/* The products' cards stand apart, each in its own frame (not the shared ruled grid). */
.design-blueprint .products--ruled .cards { gap: 1.5rem; border: 0; }
.design-blueprint .products--ruled .card { border: 0; }
.design-blueprint .products--ruled .card__media img { border-radius: 10px; }
/* The booking's card on the page's ground in a frame, so the day and time tiles on the surface stand out. */
.design-blueprint :is(.book-card, .rent-card) { border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.design-blueprint .checkout-summary__head h2 { font-size: var(--h3); }
/* The name keeps its close set on a narrow screen (the frame spaces a wordmark there). */
@media (max-width: 1100px) { body.design-blueprint .hdr .brand .brand__word { letter-spacing: -.01em; } }
.design-blueprint .contact-form--card h2 { font-size: calc(var(--h2) * .75); }

/* the call to action as drawn: the words at the left, the button at the right end of the line */
@media (min-width: 760px) {
  .design-blueprint .cta--poster .cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 3rem; align-items: end; }
  .design-blueprint .cta--poster .cta-inner > :not(.btn, .cta-actions) { grid-column: 1; }
  .design-blueprint .cta--poster .cta-inner > :is(.btn, .cta-actions) { grid-column: 2; grid-row: 1 / span 3; justify-self: end; }
}
