/* ==========================================================================
   J.Show Studio — home page (index.html)

   Page-only additions. The design system is base.css; the look the two public
   pages share — the bar at the top, the section heads, tabs, chips, tags, the
   review card, the footer — is public.css. This file adds what only the home
   page has, in the same language: blush paper, rounded cards, one rose accent.

     01 · Showcase        the banner pictures: one in view, the next a swipe away
     02 · Tabs            顾客评价 / 纹绣师 / 关于我们 and their panels
     03 · Reviews         the star rating in its pill, the three filter rows, the search result line
     04 · Loading         the "JavaScript never started" note
     05 · More            the "查看更多评价" row
     06 · States          the list without a filter bar
     07 · Artists         one card per artist
     08 · About           the studio's own words, 到店与联系
     09 · Scrolling       scroll anchoring is left to the page script
     10 · No script / print
   ========================================================================== */


/* ==========================================================================
   01 · Showcase
   ========================================================================== */

/* The frame is a scroll container with one picture per "page": swiping it is
   the browser's own scrolling, sideways only, so a vertical swipe over the
   pictures still scrolls the page. The script (assets/js/pages/index.js) adds
   the arrows, the dots, the arrow keys and dragging with a mouse.
   On a phone the pictures run from edge to edge, right under the bar; from
   768px up they stand in a rounded frame in the middle of the page. */
.showcase {
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
}
.showcase__frame { position: relative; }
.showcase__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;            /* the end of the pictures is not the start of "back" */
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: var(--photo-ground);
  -webkit-user-select: none;
  user-select: none;
}
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__track:focus-visible { outline-offset: -3px; }
.showcase__slide {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 2 / 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}
/* while a mouse drags the pictures (and until they have settled) they follow
   the hand instead of jumping to the nearest one */
.showcase.is-dragging .showcase__track { scroll-snap-type: none; }

/* Previous / next: a mouse affordance. They appear while the pointer is over
   the pictures or the keyboard is on them; a finger swipes. */
.showcase__nav {
  --shown: 1;
  position: absolute;
  top: 50%;
  z-index: 1;
  display: none;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  margin-top: calc(var(--tap) / -2);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background-color: rgba(255, 249, 251, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--color-ink);
  opacity: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.showcase__nav svg { width: 1.125rem; height: 1.125rem; }
.showcase__nav--prev { left: var(--space-3); }
.showcase__nav--next { right: var(--space-3); }
.showcase__nav[aria-disabled="true"] { --shown: 0.35; cursor: default; }
@media (hover: hover) {
  .showcase__nav { display: grid; }
  .showcase__track { cursor: grab; }
  .showcase.is-dragging .showcase__track { cursor: grabbing; }
  .showcase__frame:hover .showcase__nav,
  .showcase__track:focus-visible ~ .showcase__nav,
  .showcase__nav:focus-visible { opacity: var(--shown); }
  .showcase__nav:not([aria-disabled="true"]):hover {
    border-color: var(--color-accent);
    background-color: var(--color-surface);
    color: var(--color-accent-strong);
  }
}

/* The dots lie on the bottom edge of the pictures: a 44px button each (they
   overlap a little, so the marks stay close together), the mark at its foot.
   White with a fine dark ring, so they show on any picture; the picture in
   view is the rose one. */
.showcase__dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  pointer-events: none;                      /* only the dots take the pointer, not the strip between them */
}
.showcase__dot {
  position: relative;
  flex: none;
  width: var(--tap);
  height: var(--tap);
  margin-inline: -0.5rem;
  pointer-events: auto;
}
.showcase__dot::before {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-left: -0.21875rem;
  border-radius: 50%;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(51, 35, 42, 0.5);
  transition: background-color 0.2s ease, transform 0.3s var(--ease);
}
.showcase__dot[aria-current="true"]::before {
  background-color: var(--color-accent);
  box-shadow: 0 0 0 1.5px #FFFFFF, 0 0 0 2.5px rgba(51, 35, 42, 0.35);
  transform: scale(1.15);
}
.showcase__dot:focus-visible { outline: none; }
.showcase__dot:focus-visible::before { outline: 2px solid var(--color-accent-strong); outline-offset: 4px; }
@media (forced-colors: active) {
  .showcase__dot::before { background-color: ButtonText; }
  .showcase__dot[aria-current="true"]::before { background-color: Highlight; }
}

@media (min-width: 48em) {
  .showcase {
    max-width: 60rem;
    margin: var(--space-5) auto 0;
  }
  .showcase__track {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  .showcase__dot::before { bottom: 0.75rem; }
}


/* ==========================================================================
   02 · Tabs
   ========================================================================== */

.home-tabs { margin-top: var(--space-2); }
.home-tabs .tab { min-height: 3.5rem; }
.tab-panel { padding-top: var(--space-5); }
/* An address that ends in #reviews is the reviews tab, and the list carries that very id: a browser
   jumps to it. The margin makes it stop earlier — with the tab bar, the heading and the filter
   rows on screen below the bar at the top, not cut off or covered by it. */
.review-list { scroll-margin-top: 30.75rem; }
/* three tabs on a narrow phone: a little closer together, so that the one with the number of
   reviews is no wider than the others (where they still do not fit — very large text — the bar
   scrolls sideways, as base.css has it) */
@media (max-width: 24.99em) {
  .home-tabs .tab { gap: 0.25rem; padding-inline: 0.25rem; letter-spacing: 0.05em; }
}
@media (min-width: 48em) {
  .home-tabs { max-width: 42rem; margin: var(--space-4) auto 0; }
  .home-tabs .tab { min-height: 3.75rem; }
  .tab-panel { padding-top: var(--space-6); }
  .review-list { scroll-margin-top: 33.75rem; }
}


/* ==========================================================================
   03 · Reviews
   ========================================================================== */

/* The star rating of the reviews on display, under the heading: one row in a
   soft rose pill — the stars, their real average and how many reviews it
   comes from (★★★★★ 4.8 / 5 · 来自 6 条评价). While the reviews are on their
   way: the five stars, empty, and a quiet bar where the words will stand.
   While no review carries a rating: five stars alone, as decoration.
   The pill is equally tall in every state and stands in the middle, so
   nothing under it moves when the number arrives. (Only where the row cannot
   fit — a very narrow screen with very large text — it wraps inside the pill,
   which then grows.) */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.125rem 0.75rem;
  box-sizing: border-box;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  min-height: 2.375rem;
  margin: var(--space-3) auto 0;
  padding: 0.3125rem 1.25rem;
  border-radius: 1.1875rem;                  /* half its height: a pill; a box with round corners should the row ever wrap */
  background-color: #F9E1EA;                 /* a soft rose, between the paper and the tint */
}
.rating-summary .stars { font-size: 1.0625rem; letter-spacing: 0.14em; margin-right: -0.14em; vertical-align: 0; }
.rating-summary[data-state="plain"] > .stars { --stars-fill: 100%; }   /* decoration: all five */
/* the words are on their way */
.rating-summary[data-state="loading"]::after {
  content: "";
  flex: none;
  width: 9.6875rem;                          /* as wide as the words that will stand here (4.8 / 5 · 来自 6 条评价) */
  max-width: 100%;
  height: 0.5rem;
  border-radius: var(--radius-pill);
  background-color: rgba(207, 61, 119, 0.14);
}
.rating-summary > .rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.125rem 0.375rem;
  max-width: 100%;
  color: var(--color-ink-soft);
  font-size: 0.875rem;
  line-height: 1.375rem;
  letter-spacing: 0.04em;
}
.rating-summary > .rating > .stars { margin-right: 0.25rem; }
.rating-summary > .rating > .rating__value {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.375rem;
  letter-spacing: 0.02em;
}
.rating-summary > .rating > .rating__max,
.rating-summary > .rating > .rating__count { color: var(--color-ink-soft); }
.rating-summary > .rating > .rating__max { margin-left: -0.0625rem; }
@media (forced-colors: active) {
  .rating-summary { border: 1px solid CanvasText; }
  .rating-summary[data-state="loading"]::after { background-color: GrayText; }
}

/* The filters: three rows separated by hairlines — the name of the row on the
   left, its chips beside it. The chips of a row wrap inside their box, under
   one another, never under the name. Only where name and chips cannot share a
   line at all (very large text on a narrow screen) the chips follow under the
   name. */
.filters {
  display: block;
  max-width: 46rem;
  margin: var(--space-4) auto var(--space-5);
  padding: 0;
  border: 0;
}
.filters > .chip-group {
  --row-h: 2.25rem;                          /* the height of a chip */
  --row-pad: 0.625rem;
  --label-w: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 0.75rem;
  min-width: 0;
  margin: 0;
  padding: var(--row-pad) 0;
}
.filters > .chip-group + .chip-group { border-top: 1px solid var(--color-line); }
.filters > .chip-group > .filters__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: var(--row-h);                      /* level with the first line of chips */
  min-width: var(--label-w);
  margin: 0;
  color: var(--color-ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.filters__chips {
  flex: 1 1 10rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.4375rem;
  min-width: 0;
}
.filters .chip { padding-inline: 0.75rem; }
@media (pointer: coarse) {
  /* a chip is 44px tall for the finger (its pill stays 36px): the rows need less air of their own */
  .filters > .chip-group { --row-h: var(--tap); --row-pad: 0.25rem; }
  .filters__chips { row-gap: 0; }
}
@media (min-width: 48em) {
  .filters { margin-block: var(--space-5) var(--space-6); }
  .filters > .chip-group { --label-w: 6.25rem; --row-pad: 0.75rem; }
  .filters__chips { column-gap: 0.625rem; }
  .filters > .chip-group > .filters__label { font-size: 0.9375rem; }
  .filters .chip { padding-inline: 1.125rem; }
}
@media (min-width: 48em) and (pointer: coarse) {
  .filters > .chip-group { --row-pad: 0.375rem; }
}

/* 「找到 3 条评价」 — above the list while a keyword is searched for */
.search-status {
  margin: calc(-1 * var(--space-2)) 0 var(--space-4);
  color: var(--color-ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
}


/* ==========================================================================
   04 · Loading
   ========================================================================== */

/* three placeholders on a phone and on a three-column desktop, four in the
   two-column layout in between (the breakpoints of .review-list) */
.skeleton-card:nth-child(n + 4) { display: none; }
@media (min-width: 44em) {
  .skeleton-card:nth-child(4) { display: block; }
}
@media (min-width: 68em) {
  .skeleton-card:nth-child(4) { display: none; }
}

/* Shown by CSS alone when the page script has not taken over after 12 seconds
   (a script file did not arrive, or the browser is too old to run it).
   The script removes this element the moment it starts. */
.boot-note {
  max-height: 0;
  margin: 0 auto;
  max-width: 30em;
  overflow: hidden;
  visibility: hidden;
  color: var(--color-ink-soft);
  font-size: 0.875rem;
  line-height: 1.8;
  text-align: center;
  text-wrap: balance;
  animation: boot-note-in 0.01s linear 12s forwards;
}
.boot-note a {
  /* a comfortable tap target without moving the line */
  display: inline-block;
  margin-block: -0.625rem;
  padding-block: 0.625rem;
}
@keyframes boot-note-in {
  to { max-height: 12rem; margin-bottom: var(--space-5); visibility: visible; }
}


/* ==========================================================================
   05 · More
   ========================================================================== */

.more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.more .btn { min-width: 13.5rem; }
.more__count {
  color: var(--color-ink-faint);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 48em) {
  .more { margin-top: var(--space-7); }
}


/* ==========================================================================
   06 · States
   ========================================================================== */

/* without the filter rows (no reviews at all, or the list could not be
   loaded) one hairline still closes the heading above the list */
.review-list.is-bare { margin-top: var(--space-4); border-top: 1px solid var(--color-line); }


/* ==========================================================================
   07 · Artists
   ========================================================================== */

/* One card per artist, and the whole card is the link to her page. On a
   phone: the portrait on the left, her lines beside it, all three artists on
   one screen. From 768px up: portraits side by side, the lines below. */
.artist-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  max-width: 30rem;
  margin: var(--space-5) auto 0;
}
.artist-list__item { min-width: 0; }
.artist-card {
  display: flex;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.3s var(--ease);
}
.artist-card:hover { color: inherit; }
.artist-card__photo {
  position: relative;
  flex: 0 0 36%;
  aspect-ratio: 4 / 5;                     /* at least 4:5; as tall as her lines when they need more */
  /* (her photograph is square, or upright: a frame that is taller than the picture cuts its
     sides only — the grey ground and the shoulders, never the face in the middle) */
  overflow: hidden;
  background: var(--photo-ground);
}
.artist-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;                /* a frame that is wider than the picture cuts it at the shoulders, not at the forehead */
  transition: transform 0.7s var(--ease);
}
.artist-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem 1rem 0.875rem;
}
.artist-card__role {
  color: var(--color-accent-strong);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.artist-card__name {
  margin-top: 0.3125rem;
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.artist-card__title {
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.artist-card__exp {
  margin-top: 0.125rem;
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.01em;
  font-variant-numeric: lining-nums;
}
.artist-card__quote {
  margin-top: 0.75rem;
  padding-left: 0.625rem;
  border-left: 2px solid var(--color-accent-soft);
  color: var(--color-ink-soft);
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.artist-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--color-ink-faint);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
/* Her average from the rated reviews on display (★★★★★ 4.9 · 8 条评分). The
   line keeps its height while it is empty — before the reviews are known,
   and for an artist nobody has rated yet — so the cards do not change shape. */
.artist-card__rating {
  min-height: 1.25rem;
  margin-top: 0.625rem;
  line-height: 1.25rem;
}
.artist-card__rating .rating {
  justify-content: flex-start;
  gap: 0.125rem 0.375rem;
  font-size: 0.75rem;
  vertical-align: top;
}
.artist-card__rating .stars { font-size: 0.8125rem; letter-spacing: 0.06em; }
.artist-card__rating .rating__value { font-size: 1.125rem; }
.artist-card__count { font-variant-numeric: tabular-nums; }
.artist-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
  color: var(--color-accent-strong);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.artist-card__more svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) {
  .artist-card:hover { border-color: #EDB3C8; box-shadow: var(--shadow-lg); }
  .artist-card:hover .artist-card__photo img { transform: scale(1.035); }
  .artist-card:hover .artist-card__more svg { transform: translateX(0.1875rem); }
}

@media (min-width: 48em) {
  .artist-list {
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
    gap: var(--space-5);
    max-width: 62rem;
    margin-top: var(--space-6);
  }
  .artist-list__item { width: 100%; max-width: 22rem; justify-self: center; }
  .artist-card { flex-direction: column; }
  .artist-card__photo { flex: none; }
  .artist-card__body { padding: 1.25rem 1.25rem 1.125rem; }
  .artist-card__name { font-size: 1.3125rem; }
  .artist-card__quote { font-size: 0.875rem; }
  .artist-card__rating { min-height: 1.375rem; margin-top: 0.875rem; line-height: 1.375rem; }
  .artist-card__rating .rating { gap: 0.25rem 0.5rem; font-size: 0.8125rem; }
  .artist-card__rating .stars { font-size: 0.9375rem; letter-spacing: 0.1em; }
  .artist-card__rating .rating__value { font-size: 1.25rem; }
  .artist-card__foot { padding-top: 1rem; font-size: 0.8125rem; }
}
@media (min-width: 68em) {
  .artist-list { gap: 1.75rem; }
  .artist-card__body { padding: 1.5rem 1.5rem 1.375rem; }
}


/* ==========================================================================
   08 · About
   ========================================================================== */

/* Three blocks, each under its own section head: what the studio is (a few
   centred lines and its motto, then its story on a card), how it designs
   (three numbered steps on a card), where it is (the contact details on a
   card). One reading column in the middle of the page at any width. */
.about { max-width: 44rem; margin-inline: auto; }
.about:focus-visible { outline-offset: 6px; }
.about__block + .about__block { margin-top: var(--space-7); }
.about__block--contact { scroll-margin-top: calc(var(--bar-height) + 1rem); }

/* what the studio does, and its motto */
.about__intro { margin-top: var(--space-4); text-align: center; }
.about__lead {
  max-width: 32em;
  margin-inline: auto;
  color: var(--color-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.about__lead > span { display: inline-block; }   /* a clause never breaks in the middle */
.about__motto {
  margin-top: var(--space-4);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.14em;
}
.about__motto::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 1px;
  margin: 0 auto var(--space-4);
  background-color: var(--color-accent);
  opacity: 0.6;
}

/* the cards */
.about__body,
.about__steps,
.contact {
  margin-top: var(--space-5);
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(243, 211, 221, 0.7);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-md);
}
.about__body p {
  color: var(--color-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}
.about__body p + p { margin-top: 0.875rem; }
/* the sentence everything else leads up to */
.about__body .about__statement {
  margin-block: var(--space-5);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-soft);
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

/* 01 / 02 / 03 — numbered by a counter, like the sections of a review */
/* (base.css takes the padding off every list that carries a class: said once more, with the block's name) */
.about .about__steps { padding: 0.5rem 1.25rem; counter-reset: about-step; }
.about__step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: var(--space-2);
  padding-block: var(--space-4);
  counter-increment: about-step;
}
.about__step + .about__step { border-top: 1px solid var(--color-line); }
.about__step::before {
  content: counter(about-step, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--color-rose-text);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums;
}
.about__step-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.about__step-text {
  margin-top: 0.25rem;
  color: var(--color-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}

/* 到店与联系: one row per detail, the name of the detail in front. While
   nothing at all is filled in (assets/js/config.js, "contact") every row
   reads 待补充, quietly; after that, a row without a value is not there. */
.contact { padding-block: 0.375rem; }
/* (name and value share a line; where there is no room for both — a very narrow screen, very
   large text — the value follows under its name) */
.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-3);
  padding-block: 0.875rem;
}
.contact__row + .contact__row { border-top: 1px solid var(--color-line); }
.contact__label {
  flex: 0 0 5.25rem;
  color: var(--color-ink-faint);
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
}
.contact__value {
  flex: 1 1 10rem;
  min-width: 0;
  color: var(--color-ink);
  font-size: 0.9375rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.contact__value.is-empty { color: var(--color-ink-faint); letter-spacing: 0.12em; }
.contact__line { display: block; }
.contact__value a:not(.btn) {
  /* a comfortable tap target without moving the line */
  display: inline-block;
  margin-block: -0.5rem;
  padding-block: 0.5rem;
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-decoration-color: var(--color-line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
.contact__value a:not(.btn):hover { color: var(--color-ink); text-decoration-color: currentColor; }
/* WhatsApp: the quickest way to reach the studio — a rose button, the number beside it */
.contact__row[data-contact="whatsapp"] { align-items: center; }
.contact__row[data-contact="whatsapp"] .contact__value:not(.is-empty) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.75rem;
}
.contact__whatsapp {
  min-height: var(--tap);
  padding: 0.375rem 1.125rem;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-indent: 0;
  white-space: normal;                       /* rather two lines than a button wider than its card */
}
.contact__whatsapp svg { width: 1.125rem; height: 1.125rem; }
.contact__number {
  color: var(--color-ink-soft);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 48em) {
  .about__block + .about__block { margin-top: var(--space-8); }
  .about__intro { margin-top: var(--space-5); }
  .about__lead { font-size: 1rem; }
  .about__motto { font-size: 1.1875rem; letter-spacing: 0.18em; }
  .about__body,
  .about__steps,
  .contact,
  .about .about__steps { margin-top: var(--space-6); padding-inline: 2rem; }
  .about__body { padding-block: 1.75rem; }
  .about__body p { font-size: 1rem; }
  .about__body .about__statement { padding: 1rem 1.25rem; font-size: 1.0625rem; letter-spacing: 0.08em; }
  .about__step { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .about__step::before { font-size: 2rem; }
  .about__step-title { font-size: 1.0625rem; }
  .about__step-text { font-size: 1rem; }
  .contact__label { flex-basis: 7rem; }
  .contact__value { font-size: 1rem; }
}


/* ==========================================================================
   09 · Scrolling
   ========================================================================== */

/* Closing a card moves what follows it, and the script keeps the pressed
   button where it was (public.css takes the list and the footer out of the
   browser's own scroll anchoring for that); here the row under the list. */
.more { overflow-anchor: none; }


/* ==========================================================================
   10 · No script / print
   ========================================================================== */

/* JavaScript switched off: the <noscript> notice explains; placeholders that
   would never be filled and controls that would do nothing are not shown, and
   the three parts of the page simply follow one another (the pictures can
   still be swiped: that is the browser's own scrolling). */
@media (scripting: none) {
  .rating-summary,
  .artist-card__rating,
  .about__block--contact,
  .filters,
  .review-list,
  .boot-note,
  .home-tabs,
  .showcase__nav,
  .showcase__dots { display: none; }
  .tab-panel[hidden] { display: block !important; }
}

@media print {
  .filters,
  .more,
  .search-status,
  .showcase__nav,
  .showcase__dots { display: none !important; }
}
