/* silk — «Шовк»: the design's own type, arches and looks, on the body's class. Colours only through var(--*): the
   design's colour sets drive them. */

.design-silk {
  /* a section holds 60 over and under, so two neighbours stand 120 apart as drawn (84 and 64) */
  --section-pad: 3.75rem;
  --head-gap: 3.5rem;
  --pill: 999px;
  --radius: 24px;       /* the cards */
  --radius-small: 20px; /* the photos */
  --arch: 999px 999px 24px 24px;
  --accent-text: color-mix(in srgb, var(--accent) 80%, var(--ink)); /* the labels: small words in the accent, readable on every set */
  --body-text: var(--text);
  --card-ground: color-mix(in srgb, var(--bg) 40%, #fff);
  --accent-plate: color-mix(in srgb, var(--accent) 12%, var(--bg));
  /* the font pair's sizes (the prata pair's; the others below) */
  --h1: 4.5rem; --h2: 3.125rem; --h3: 1.4375rem; --h3-weight: 400; --h-track: -.005em;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}
.design-silk.fonts-literata    { --h1: 4.375rem; --h2: 3rem; --h3: 1.375rem; --h3-weight: 500; --h-track: -.02em; }
.design-silk.fonts-oldstandard { --h1: 4.625rem; --h2: 3.25rem; --h3: 1.5rem; --h-track: -.01em; }
/* a laptop's builder preview or a tablet (760–999): sections 84 apart, the pair's sizes scaled as drawn */
@media (min-width: 760px) and (max-width: 999px) {
  .design-silk { --section-pad: 2.625rem; --head-gap: 3rem; --h1: 3.0625rem; --h2: 2.375rem; --h3: 1.25rem; }
  .design-silk.fonts-literata { --h1: 3rem; --h2: 2.25rem; --h3: 1.1875rem; }
  .design-silk.fonts-oldstandard { --h1: 3.125rem; --h2: 2.5rem; --h3: 1.3125rem; }
}
@media (max-width: 759px) {
  .design-silk { --section-pad: 2rem; --head-gap: 2.5rem; --h1: 2.625rem; --h2: 2rem; --h3: 1.25rem; font-size: 1rem; }
}

/* The type: the serif at its one weight, large; the word set apart in the accent. */
.design-silk :is(h1, h2, h3) { font-weight: 400; letter-spacing: var(--h-track); color: var(--ink); }
.design-silk main h1 { font-size: calc(var(--h1) * .82); line-height: 1.06; } /* an inner page's */
.design-silk main .hero h1 { font-size: var(--h1); }
.design-silk main h2 { font-size: var(--h2); line-height: 1.12; }
.design-silk main h3 { font-size: var(--h3); font-weight: var(--h3-weight); line-height: 1.25; }
.design-silk :is(h1, h2) em { font-style: normal; color: var(--accent); }

/* The kicker: small spaced capitals in the accent's readable mix. */
.design-silk .eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .875rem; }

/* The section's heading in the middle, as the whole page is. */
.design-silk main .section-head { flex-direction: column; align-items: center; text-align: center; }
.design-silk main .section-head .lead { margin-inline: auto; }

/* The buttons: round ends, spaced a little; the second a thin frame of the ink. */
.design-silk .btn { border-radius: 999px; font-weight: 600; letter-spacing: 0; box-shadow: none; }
.design-silk .btn:hover { transform: none; box-shadow: none; }
.design-silk main .btn { display: inline-flex; align-items: center; justify-content: center; height: 3.375rem; padding-block: 0; padding-inline: 1.9rem; font-size: .94rem; }
.design-silk main .btn-ghost { border: 0; background: none; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent); }
.design-silk .hero-actions { gap: .75rem; }

/* The first screen: the prices in the serif's figures. */
.design-silk .hero .eyebrow { margin-bottom: 18px; }
.design-silk .hero h1 { margin: 0 0 22px; }
.design-silk .hero .lead { font-size: 1.09375rem; max-width: 30rem; color: var(--muted); margin: 0 0 32px; }
.design-silk .price-list__price { font-family: var(--font-display); }
.design-silk .price-list__row { font-size: 1.06rem; }

/* The team: portraits in arches, the names in the serif, centred. */
.design-silk .team .team-grid { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: 1.75rem; }
@media (min-width: 760px) and (max-width: 999px) { .design-silk .team .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 759px) { .design-silk .team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.design-silk :is(.person, .person.is-text) { background: none; border: 0; box-shadow: none; padding: 0; text-align: center; }
.design-silk .team .person__photo { aspect-ratio: 13 / 19; border-radius: var(--arch); }
.design-silk .person__name { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.65; margin-top: 1rem; }
.design-silk .person__role { color: var(--muted); font-size: .94rem; }
.design-silk .person__book { margin-inline: auto; }

/* The portfolio: soft corners on every photo of the mosaic. */
.design-silk .gallery--mosaic .gallery-link { border-radius: var(--radius-small); }

/* The services as cards on the surface, the price in the serif. */
.design-silk :is(.card, .svc-card) { background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: none; }
.design-silk .price-line .price, .design-silk .svc-card__price .price { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
/* a card's name one line of the serif at the pair's H3 */
.design-silk .svc-card .svc-card__title { display: block; min-height: 0; max-height: none; font-size: var(--h3); line-height: 1.25; }

/* The figures: a ruled row on the page's own ground, centred, the figures large in the serif and the ink. */
.design-silk .stats .hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: 0; margin: 0; padding: 0; text-align: center;
                                     border: 0; border-block: 1px solid var(--line); }
.design-silk .stats .hero-stats > div { padding: 2.75rem 1.25rem; }
.design-silk .stats .hero-stats > div + div { border-left: 1px solid var(--line); }
.design-silk .hero-stats dd { font-family: var(--font-display); font-weight: 400; font-size: 3.375rem; line-height: 1; color: var(--ink); }
.design-silk .hero-stats dt { margin-top: .625rem; font-size: .94rem; color: var(--muted); }
@media (max-width: 759px) {
  .design-silk .stats .hero-stats { grid-template-columns: 1fr; }
  .design-silk .stats .hero-stats > div { padding: 1.625rem 0; }
  .design-silk .stats .hero-stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* The reviews: cards on the surface, the words in the serif. */
.design-silk .quotes-grid { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.75rem; }
.design-silk .quote-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-ground); box-shadow: none; padding: 2.125rem 1.875rem; text-align: center; }
.design-silk .quote-card blockquote { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.35; color: var(--ink); }
.design-silk .quote-card blockquote::before { content: '«'; margin: 0; color: inherit; }
.design-silk .quote-card blockquote::after { content: '»'; margin: 0; color: inherit; }
.design-silk .quote-card figcaption { justify-content: center; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.design-silk .quote-avatar { display: none; }

/* The call to action: the photo an arch on the left, the words beside it on the page's ground — no plate. */
.design-silk .cta--boxed.has-photo { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
                                        max-width: var(--container); margin-inline: auto; padding: var(--space) var(--gutter); min-height: 0; }
.design-silk .cta--boxed.has-photo .cta-photo { position: static; z-index: auto; width: 100%; height: auto; aspect-ratio: 1; border-radius: 999px 999px 24px 24px; }
.design-silk .cta--boxed.has-photo .cta-inner { margin: 0; padding: 0; max-width: none; background: none; box-shadow: none; }
@media (max-width: 759px) { .design-silk .cta--boxed.has-photo { grid-template-columns: 1fr; text-align: center; }
                            .design-silk .cta--boxed.has-photo .cta-photo { max-width: 13.75rem; margin-inline: auto; } }

/* The booking card: on the surface, round-cornered; the people in arches; the times as pills. */
.design-silk .book-card { background: var(--surface); border: 0; border-radius: var(--radius); }
.design-silk .book-person .avatar { border-radius: var(--arch); }
.design-silk .slot { border-radius: 999px; }

/* The header: the name in the serif. */
.design-silk .brand__word { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.design-silk .brand__word.is-long { font-size: 1.35rem; }
.design-silk .hdr nav a { letter-spacing: .04em; }

/* The footer: columns over a hairline. */
.design-silk .ftr { border-top: 1px solid var(--line); }
.design-silk .ftr-title { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; letter-spacing: 0; text-transform: none; color: var(--ink); }

/* The first screen's headline in its narrow column, a little smaller; the call to action on the page's own ground. */
.design-silk main .hero--arch h1 { font-size: calc(var(--h1) * .92); }
.design-silk .cta--boxed.has-photo { background: 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-silk { --header-row-h: 7.125rem; } }
.design-silk .hdr-cta { height: 3.375rem; padding-inline: 1.5rem; font-size: 1rem; }

/* Prices in the heading face. */
.design-silk :is(.price, .price-main, .svc-card__price, .booking-price, .rental-price) { font-family: var(--font-display); font-weight: 400; }

/* ---- the variants ---------------------------------------------------------------------------------------------- */
/* arch: three columns 1 / 1.05 / .8 standing on their middles; the photo 3 : 4 in an arch on a plate of the surface
   (22 px round it) with a hairline of the accent 10 px inside the plate's edge. On a phone the arch first, no prices. */
@media (min-width: 1000px) {
  .design-silk .hero--arch.has-photo .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .8fr); gap: 3.125rem; align-items: center; padding-block: 70px; }
  .design-silk .hero--arch.has-photo:not(:has(.price-list)) .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}
/* on a laptop (760–999) two columns, the prices under both in two columns of their own */
@media (min-width: 760px) and (max-width: 999px) {
  .design-silk .hero--arch.has-photo .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px 24px; align-items: center; padding-block: 46px 72px; }
  .design-silk .hero--arch .hero-copy { grid-column: 1; grid-row: 1; }
  .design-silk .hero--arch .hero-figure { grid-column: 2; grid-row: 1; }
  .design-silk .hero--arch .hero-prices { grid-column: 1 / -1; grid-row: 2; }
  .design-silk .hero--arch .hero-prices .price-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
.design-silk .hero--arch .hero-figure { position: relative; padding: 22px; border-radius: 999px 999px 30px 30px;
                                        background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 40%, var(--bg))); }
.design-silk .hero--arch .hero-figure::after { content: ''; position: absolute; inset: 10px; border-radius: 999px 999px 26px 26px; pointer-events: none;
                                               box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.design-silk .hero--arch .hero-photo { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; }
@media (max-width: 759px) {
  .design-silk .hero--arch .hero-figure { grid-row: 1; width: min(26rem, 100% - 60px); justify-self: center; margin-inline: 0; padding: 14px; } /* on a phone the arch first, not a screen of it */
  .design-silk .hero--arch .hero-copy { grid-row: 2; }
  .design-silk .hero--arch .hero-prices { display: none; }
}
/* cover: the photo in a frame rounded 32, 20 from the page's edges, 760 high, a scrim rising from the foot, the words
   centred. */
.design-silk .section:has(> .hero--cover.has-photo) { padding: 0 20px 3.75rem; }
.design-silk .hero--cover.has-photo { min-height: 47.5rem; border-radius: 32px; overflow: hidden; display: flex; align-items: flex-end; padding-block: 8rem 4.375rem;
                                      text-align: center; --ink: #fff; --body-text: rgba(255, 255, 255, .9); --muted: rgba(255, 255, 255, .8); --accent-text: #fff; color: #fff; }
.design-silk .hero--cover.has-photo .hero-inner { width: 100%; justify-items: center; }
.design-silk .hero--cover.has-photo .hero-copy { margin-inline: auto; }
.design-silk .hero--cover.has-photo .lead { margin-inline: auto; color: rgba(255, 255, 255, .9); }
.design-silk .hero--cover.has-photo h1 em { color: color-mix(in srgb, var(--accent) 30%, #fff); }
.design-silk .hero--cover.has-photo .hero-actions { justify-content: center; }
.design-silk .hero--cover.has-photo::after { background: linear-gradient(0deg, rgba(44, 31, 34, .86) 0%, rgba(44, 31, 34, .6) 45%, rgba(44, 31, 34, .08) 85%); }
.design-silk .hero--cover.has-photo .hero-actions .btn:not(.btn-ghost) { background: #fff; color: #2c1f22; }
.design-silk .hero--cover.has-photo .hero-actions .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
@media (min-width: 760px) and (max-width: 999px) { .design-silk .hero--cover.has-photo { min-height: 35.625rem; padding-bottom: 2.875rem; } }
@media (max-width: 759px) {
  .design-silk .section:has(> .hero--cover.has-photo) { padding: 10px 10px 2rem; }
  .design-silk .hero--cover.has-photo { min-height: 45rem; border-radius: 24px; padding-bottom: 2rem; }
}

/* centered header: the name 44 in the middle, the menu under it in spaced capitals. */
@media (min-width: 760px) {
  .design-silk.header--layout-centered .hdr-brand:not(.hdr-brand--mini) .brand__word { font-size: 2.75rem; }
  .design-silk.header--layout-centered .hdr-brand:not(.hdr-brand--mini) .brand__word.is-long { font-size: 2rem; }
  .design-silk.header--layout-centered .hdr-nav a:not(.hdr-brand) { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
}

/* centered footer: on the band, an arch drawn in the accent over the name, the name large, the menu in spaced capitals,
   the contacts and the hours as pills. */
.design-silk.footer--layout-centered .ftr { background: var(--band); border-top: 0; }
.design-silk.footer--layout-centered .ftr-main { padding-top: 5rem; }
.design-silk.footer--layout-centered .ftr-main::before { content: ''; order: 0; width: 64px; height: 84px; border-radius: 999px 999px 8px 8px; box-shadow: inset 0 0 0 1px var(--accent); }
.design-silk.footer--layout-centered .ftr .brand__word { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; }
.design-silk.footer--layout-centered .ftr .brand__word.is-long { font-size: clamp(1.75rem, 3.3vw, 2.625rem); white-space: normal; }
.design-silk.footer--layout-centered .ftr-about { max-width: 29rem; color: var(--muted); }
.design-silk.footer--layout-centered .ftr-menu a { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.design-silk.footer--layout-centered .ftr-menu__list { gap: .5rem 1.875rem; }
.design-silk.footer--layout-centered .ftr-contacts { gap: .625rem; }
.design-silk.footer--layout-centered .ftr-contacts :is(.ftr-tel, .ftr-mail, .ftr-address),
.design-silk.footer--layout-centered .ftr-hours > div { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.125rem; border-radius: 999px;
                                                         background: var(--card-ground); color: var(--ink); font: 400 .9rem/1 var(--font-body); }
.design-silk.footer--layout-centered .ftr-fact--hours { display: contents; }
.design-silk.footer--layout-centered .ftr-hours { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin: 0;
                                                  height: 2.5rem; padding: 0 1.125rem; border-radius: 999px; background: var(--card-ground); color: var(--ink); align-items: center; font-size: .9rem; }
.design-silk.footer--layout-centered .ftr-hours :is(dt, dd) { display: inline; margin: 0; }
.design-silk.footer--layout-centered .ftr-hours dd { margin-right: .75rem; }
.design-silk.footer--layout-centered .ftr-hours dd:last-child { margin-right: 0; }
.design-silk.footer--layout-centered .ftr-hours dt::after { content: ' '; }
.design-silk.footer--layout-centered .ftr-contacts .open-status { flex-basis: auto; }

/* ---- the inner pages: round ends, soft corners, the serif's prices ----------------------------------------------- */
.design-silk .chip { border-radius: 999px; font-weight: 600; }
.design-silk .filters { border-radius: var(--radius); }
.design-silk .card--product { border-radius: 30px; padding: 12px; }
.design-silk .card--product .card__media { border-radius: 22px; overflow: hidden; }
.design-silk :is(.related-card, .rent-card, .checkout-summary, .contact-form--card) { border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: none; }
.design-silk :is(.related-card__media, .related-card__media img, .product-gallery img, .cart-line img) { border-radius: var(--radius-small); }
.design-silk main :is(input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], input:not([type]), select) { border-radius: 16px; }
.design-silk main textarea { border-radius: 16px; }
.design-silk .cart-drawer__panel { border-radius: 32px 0 0 32px; }
.design-silk .checkout-step { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .75rem; border-radius: 999px;
                              background: var(--accent-plate); color: var(--accent-text); font-family: var(--font-display); }
.design-silk .choice { border-radius: 20px; }
.design-silk .choice:has(input:checked) { background: var(--card-ground); box-shadow: inset 0 0 0 2px var(--primary); }
.design-silk .cal-day { border-radius: 16px; }
.design-silk .cal-day.is-selected { background: var(--primary); color: var(--primary-ink); }
.design-silk .slot span { border-radius: 999px; }
.design-silk .slot input:checked + span { background: var(--primary); color: var(--primary-ink); }
/* the places left: a pill of the card's ground; a few on the accent in its own ink; full struck */
.design-silk .slot__left { display: inline-flex; align-items: center; height: 1.625rem; margin-top: .25rem; padding: 0 .6875rem; border-radius: 999px; background: var(--card-ground);
                           font-size: .78rem; font-weight: 600; color: var(--ink); }
.design-silk .slot:has(input:is([data-left="1"], [data-left="2"], [data-left="3"])) .slot__left { background: var(--accent); color: var(--accent-ink); }
.design-silk .slot:has(input[data-left="0"]) .slot__left { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); text-decoration: line-through; }
.design-silk .price-off { border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.design-silk .contact-quick .contact-fact:has(a[href^="tel:"]) { padding: 1.875rem; border: 0; border-radius: 32px; background: var(--primary); color: var(--primary-ink); }
.design-silk .contact-quick .contact-fact:has(a[href^="tel:"]) :is(a, span, small) { color: var(--primary-ink); }
.design-silk .contact-quick a[href^="tel:"] { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.02em; }

/* The trust band as the figures: a ruled row on the page's own ground, the figures in the serif and the ink. */
.design-silk .section:has(> .container > .trust) { background: none; }
.design-silk .trust { gap: 0; border-block: 1px solid var(--line); }
.design-silk .trust { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } /* as many equal cells as there are figures */
.design-silk .trust__item { padding: 2.75rem 1.25rem; gap: .625rem; }
.design-silk .trust__item + .trust__item { border-left: 1px solid var(--line); }
.design-silk .trust__figure { font-size: 3.375rem; line-height: 1; color: var(--ink); }
@media (min-width: 760px) and (max-width: 999px) { .design-silk .trust__figure, .design-silk .hero-stats dd { font-size: 2.5rem; } }
.design-silk .trust__label { font-size: 1.0625rem; }
@media (max-width: 759px) {
  .design-silk .hero-actions .btn { flex: 1; }
  .design-silk .trust { grid-template-columns: 1fr; grid-auto-flow: row; }
  .design-silk .trust__item { padding: 1.625rem 0; }
  .design-silk .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
}
