/* Pink Pearl Nails & Beauty
   Baby-pink ground, blush fields, plum type, with plum kept for a few small touches
   (the call buttons, the visit card, the call bar). Gloock for display, Figtree for text.
   Photos are cut to the shapes on a salon's nail chart and painted in from cuticle to tip. */

@font-face {
  font-family: "Gloock";
  src: url("/assets/fonts/gloock-latin-400.b862aac1a1.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-var.8330490a01.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --plum-950: #22081a;
  --plum-900: #2d0c1e;
  --plum-800: #3b1126;
  --plum-700: #4f1c34;
  --plum-600: #6a2a47;
  --pink-200: #fbdde5;
  --pink-300: #f6c4d1;
  --pink-400: #ff8fb4;
  --pink-500: #ff5c93;
  --berry-600: #ad1650;
  --pearl-50: #fdf4ef;
  --pearl-100: #fcecec;
  --pearl-300: #e9c6d1;

  /* The light ground. Baby pink, from near-white to a deeper blush. */
  --blush-50: #fff7f9;
  --blush-100: #fdeaf0;
  --blush-200: #f9d7e2;
  --blush-300: #f5bfd0;
  --rose-500: #d8487e;
  --nail-bare: #f6c3d3;
  --ink: var(--plum-900);
  --ink-soft: var(--plum-700);
  --rule: rgb(45 12 30 / 0.16);

  --font-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 80rem;
  --gutter: clamp(1.25rem, 0.5rem + 3.2vw, 3.5rem);
  --section: clamp(4.5rem, 2.5rem + 7.5vw, 9.5rem);
  --radius: 1.5rem;
  --header-h: 4.75rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --grain: url("/assets/img/grain.7fea07a5d4.png");
  --focus: var(--berry-600);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
  background: var(--blush-100);
  scrollbar-color: var(--blush-300) var(--blush-100);
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--grain) var(--blush-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote,
address,
table {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--plum-800);
  color: var(--blush-50);
}

:focus-visible {
  outline: 0.1875rem solid var(--focus);
  outline-offset: 0.1875rem;
  border-radius: 0.25rem;
}

[hidden] {
  display: none !important;
}

.defs {
  position: absolute;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--plum-800);
  color: var(--blush-50);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 1.3rem + 4.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

/* ---------- Colour fields ---------- */

.field-pink {
  background: var(--blush-200);
  color: var(--plum-900);
  --focus: var(--berry-600);
}

.field-pearl {
  background: var(--blush-50);
  color: var(--plum-900);
  --focus: var(--berry-600);
}

.field-hot {
  background: var(--blush-300);
  color: var(--plum-950);
  --focus: var(--plum-950);
}

.field-pink ::selection,
.field-pearl ::selection,
.field-hot ::selection {
  background: var(--plum-800);
  color: var(--pearl-50);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 0.0625rem solid transparent;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease-soft),
    color 0.25s var(--ease-soft),
    border-color 0.25s var(--ease-soft),
    transform 0.25s var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--plum-800);
  color: var(--blush-50);
  box-shadow: 0 0.6rem 1.4rem rgb(59 17 38 / 0.18);
}

.btn--primary:hover {
  background: var(--plum-600);
}

.btn--large {
  min-height: 3.75rem;
  padding: 1rem 1.9rem;
  font-size: 1.1875rem;
}

.btn--compact {
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.975rem;
}

.btn--call,
.btn--ghost {
  border-color: rgb(45 12 30 / 0.34);
  color: var(--ink);
}

.btn--call {
  font-variant-numeric: tabular-nums;
}

.btn--call:hover {
  background: var(--plum-800);
  border-color: var(--plum-800);
  color: var(--blush-50);
}

.btn--ghost:hover {
  background: rgb(45 12 30 / 0.06);
  border-color: var(--plum-800);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.6rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 0.0625rem no-repeat;
  padding-bottom: 0.15rem;
  transition: background-size 0.35s var(--ease-out);
}

.text-link:hover span {
  background-size: 0 0.0625rem;
  background-position: 100% 100%;
}

.text-link .icon {
  transition: transform 0.35s var(--ease-out);
}

.text-link:hover span + .icon {
  transform: translate(0.2rem, 0);
}

.text-link[href^="#"]:hover span + .icon {
  transform: translate(0, 0.2rem);
}

.link-button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
  cursor: pointer;
}

/* ---------- Stars ---------- */

.stars {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--rose-500);
}

.star {
  width: 1.05rem;
  height: 1.05rem;
}

/* ---------- Logo (the salon's own file) ---------- */

.logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  height: clamp(2.3rem, 11vw, 2.75rem);
}

.logo--footer img {
  height: 3.5rem;
}

@media (min-width: 48em) {
  .site-header .logo img {
    height: 3.6rem;
  }
}

/* The 404 page's pearl. */
.lost__pearl {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fffaf7 0 8%, #ffd9e4 38%, #f19ab7 72%, #c7658a 100%);
  box-shadow: 0 0.35rem 0.9rem rgb(122 40 72 / 0.25);
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 5;
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.site-nav {
  display: none;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 2.25rem;
}

.site-nav a {
  padding-block: 0.5rem;
  font-weight: 550;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 0.0625rem no-repeat;
  transition: background-size 0.35s var(--ease-out);
}

.site-nav a:hover {
  background-size: 100% 0.0625rem;
}

.site-header .btn--call {
  margin-left: auto;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
}

/* On small phones the header button says "Call". The number stays in its accessible name. */
.site-header .btn__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 26em) {
  .site-header .btn__short {
    display: none;
  }

  .site-header .btn__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

/* Four links only fit beside the logo and the call button on wider screens. */
.site-nav__request {
  display: none;
}

@media (min-width: 64em) {
  .site-nav__request {
    display: list-item;
  }
}

@media (min-width: 48em) {
  .site-nav {
    display: block;
  }

  .site-header .btn--call {
    margin-left: 0;
  }
}

/* ---------- Nail-shaped photos ---------- */

.nail {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--nail-bare);
}

.nail--square { clip-path: url("#nail-square"); }
.nail--squoval { clip-path: url("#nail-squoval"); }
.nail--round { clip-path: url("#nail-round"); }
.nail--oval { clip-path: url("#nail-oval"); }
.nail--almond { clip-path: url("#nail-almond"); }
.nail--coffin { clip-path: url("#nail-coffin"); }

.nail__paint {
  position: absolute;
  inset: 0;
  display: block;
}

/* The bare nail. It lifts away from cuticle to tip to show the photo underneath.
   The photo itself is never clipped, so the browser can still lazy-load it on time. */
.nail__paint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nail-bare);
  transform: translateY(-101%);
}

.nail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Top coat: a band of light that crosses the nail once it has been painted in. */
.nail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgb(255 255 255 / 0) 38%, rgb(255 255 255 / 0.5) 50%, rgb(255 255 255 / 0) 62%);
  transform: translateX(-101%);
  pointer-events: none;
}

@keyframes sheen {
  from { transform: translateX(-101%); }
  to { transform: translateX(101%); }
}

@keyframes sheen-again {
  from { transform: translateX(-101%); }
  to { transform: translateX(101%); }
}

@keyframes paint {
  from { transform: none; }
  to { transform: translateY(-101%); }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  background: radial-gradient(42rem 34rem at 78% 46%, rgb(245 191 208 / 0.55), rgb(245 191 208 / 0) 70%);
}

.hero__copy {
  padding: clamp(1.5rem, 5vw, 3rem) var(--gutter) clamp(2rem, 6vw, 3rem);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 1.35rem + 6.1vw, 5rem);
  line-height: 1.01;
  letter-spacing: -0.018em;
}

.hero__title .line {
  display: block;
}

.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-block: 0.08em 0.16em;
  margin-block: -0.08em -0.16em;
}

.hero__title .w > span {
  display: inline-block;
}

.hero__lede {
  max-width: 34rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.5rem);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.75rem);
  font-size: 0.975rem;
  color: var(--ink-soft);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__facts .icon {
  color: var(--rose-500);
}

.hero__art {
  display: grid;
  justify-items: end;
  padding: 0.5rem calc(var(--gutter) + 2vw) clamp(3.5rem, 10vw, 5rem);
}

.hero__figure {
  position: relative;
  width: min(66vw, 21rem);
}

.lift {
  filter: drop-shadow(0 1.5rem 2rem rgb(122 40 72 / 0.26));
}

.lift--lead {
  rotate: 4deg;
}

.lift--lead .nail img {
  object-position: 80% 50%;
}

.lift--second {
  position: absolute;
  bottom: -5%;
  left: -34%;
  z-index: 1;
  width: 46%;
  rotate: -9deg;
}

.lift--second .nail img {
  object-position: 42% 60%;
}

@media (min-width: 60em) {
  .hero {
    grid-template-columns:
      [full-start] minmax(var(--gutter), 1fr)
      [copy-start] minmax(0, calc(var(--max) * 0.53 - var(--gutter)))
      [art-start] minmax(0, calc(var(--max) * 0.47 - var(--gutter)))
      [art-end] minmax(var(--gutter), 1fr) [full-end];
    align-items: center;
    min-height: min(54rem, calc(100svh - var(--header-h)));
    padding-bottom: 3rem;
  }

  .hero__copy {
    grid-column: copy-start / art-start;
    padding: 1.5rem clamp(1.5rem, 3vw, 3rem) 2.5rem 0;
  }

  .hero__title {
    font-size: clamp(3.5rem, 6.2vw, 5.25rem);
  }

  .hero__art {
    grid-column: art-start / art-end;
    justify-items: center;
    padding: 0 0 0 12%;
  }

  .hero__figure {
    width: min(100%, 27rem, calc((100svh - var(--header-h) - 7.5rem) * 0.666));
  }

  .lift--second {
    bottom: 0;
    left: -36%;
    width: 45%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line:nth-child(2) { --line: 1; }
  .hero__title .line:nth-child(3) { --line: 2; }
  .hero__title .w:nth-child(2) { --word: 1; }
  .hero__title .w:nth-child(3) { --word: 2; }
  .hero__title .w:nth-child(n + 4) { --word: 3; }

  .hero__title .w > span {
    animation: rise 0.95s var(--ease-out) both;
    animation-delay: calc(0.05s + var(--line, 0) * 0.11s + var(--word, 0) * 0.05s);
  }

  .hero__lede,
  .hero__actions,
  .hero__facts {
    animation: settle 0.9s var(--ease-out) both;
  }

  .hero__lede { animation-delay: 0.45s; }
  .hero__actions { animation-delay: 0.55s; }
  .hero__facts { animation-delay: 0.65s; }

  /* Each hero nail is painted from cuticle to tip, then catches the light once. */
  .hero .nail__paint::after,
  .svc-hero .nail__paint::after {
    animation: paint 1.25s var(--ease-out) 0.15s both;
  }

  .hero .nail img,
  .svc-hero .nail img {
    animation: unzoom 1.9s var(--ease-out) 0.15s both;
  }

  .hero .nail::after,
  .svc-hero .nail::after {
    animation: sheen 1.5s var(--ease-soft) 1.05s both;
  }

  .svc-hero__title,
  .crumbs {
    animation: settle 0.9s var(--ease-out) both;
  }

  .svc-hero__title { animation-delay: 0.08s; }

  .hero .lift--second .nail__paint::after,
  .hero .lift--second .nail img { animation-delay: 0.45s; }
  .hero .lift--second .nail::after { animation-delay: 1.35s; }
}

@keyframes rise {
  from { transform: translateY(112%); }
  to { transform: none; }
}

@keyframes settle {
  from { opacity: 0; transform: translateY(0.9rem); }
  to { opacity: 1; transform: none; }
}

@keyframes unzoom {
  from { transform: scale(1.1); }
  to { transform: none; }
}

/* The small nail drifts a little slower than the page, where the browser can do that for free. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .lift--second {
      animation: drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
  }
}

@keyframes drift {
  to { translate: 0 -2.75rem; }
}

/* ---------- Scroll reveals (armed by script, so nothing hides without it) ---------- */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal].is-armed:not(.service):not(.is-in) {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  [data-reveal].is-armed.is-in {
    transition:
      opacity 0.8s var(--ease-soft),
      transform 0.95s var(--ease-out);
  }

  .quote[data-reveal].is-armed.is-in:nth-child(2n) { transition-delay: 0.09s; }

  /* Services: the nail is painted in, the words follow. */
  .service.is-armed:not(.is-in) .nail__paint::after {
    transform: none;
  }

  .service.is-armed:not(.is-in) .nail img {
    transform: scale(1.1);
  }

  .service.is-armed:not(.is-in) > :not(.nail) {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  .service.is-armed .nail__paint::after {
    transition: transform 1.15s var(--ease-out) var(--stagger, 0s);
  }

  .service.is-armed .nail img {
    transition: transform 1.7s var(--ease-out) var(--stagger, 0s);
  }

  .service.is-armed > :not(.nail) {
    transition:
      opacity 0.7s var(--ease-soft) calc(var(--stagger, 0s) + 0.3s),
      transform 0.8s var(--ease-out) calc(var(--stagger, 0s) + 0.3s);
  }

  .service.is-armed.is-in .nail::after {
    animation: sheen 1.35s var(--ease-soft) calc(var(--stagger, 0s) + 0.75s) both;
  }

  .service:nth-child(2n) { --stagger: 0.1s; }

  @media (min-width: 60em) {
    .service:nth-child(3n + 1) { --stagger: 0s; }
    .service:nth-child(3n + 2) { --stagger: 0.1s; }
    .service:nth-child(3n) { --stagger: 0.2s; }
  }

  @media (hover: hover) {
    .service:hover .nail::after {
      animation: sheen-again 1.2s var(--ease-soft) both;
    }
  }
}

/* ---------- Services ---------- */

.services {
  padding-block: var(--section);
}

.section-head {
  display: grid;
  gap: 1rem 4rem;
  margin-bottom: clamp(2.25rem, 5vw, 4.5rem);
}

.section-head__note {
  max-width: 30rem;
  font-size: 1.125rem;
  color: var(--plum-700);
}

@media (min-width: 60em) {
  .section-head {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .section-head__note {
    justify-self: end;
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 1.1rem;
}

.service__name {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.008em;
}

.service {
  position: relative;
}

.service__name a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding-block: 0.15rem;
  text-decoration: none;
}

.service__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service__name .icon {
  width: 0.7em;
  height: 0.7em;
  transition: transform 0.35s var(--ease-out);
}

.service:hover .service__name .icon {
  transform: translateX(0.25rem);
}

.service:hover .service__name a {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.14em;
}

.service__text {
  margin-top: 0.5rem;
  color: var(--plum-700);
  font-size: 0.975rem;
  line-height: 1.5;
}

.service__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  margin-top: 0.8rem;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.4;
}

.service__items li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* A seed pearl in front of each treatment. */
.service__items li::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0 22%, #fff1f4 48%, #e7a3b9 100%);
  box-shadow: 0 0.08rem 0.18rem rgb(45 12 30 / 0.35);
}

@media (min-width: 40em) {
  .service-grid {
    gap: 3.5rem 2rem;
  }

  .service__text {
    font-size: 1.0625rem;
  }

  .service__items {
    font-size: 0.9375rem;
  }
}

@media (min-width: 60em) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4.5rem clamp(2.5rem, 5vw, 5rem);
  }

  /* The middle column hangs lower, so the six nails read as a set, not a table. */
  .service:nth-child(3n + 2) {
    margin-top: 5.5rem;
  }
}

.services__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.75rem;
  border-top: 0.0625rem solid var(--rule);
  font-size: 1.125rem;
}

.services__price a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  line-height: 1.1;
  text-decoration-thickness: 0.05em;
}

.services__price a:hover {
  color: var(--berry-600);
}

/* ---------- Service pages ---------- */

.svc-hero {
  padding-block: clamp(0.5rem, 2vw, 1.5rem) clamp(3.5rem, 8vw, 6rem);
}

.svc-hero__grid {
  display: grid;
  gap: 2.5rem;
}

.crumbs {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.crumbs li + li::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--rose-500);
}

.crumbs a {
  display: inline-block;
  padding-block: 0.35rem;
  color: var(--ink);
}

.crumbs a:hover {
  color: var(--berry-600);
}

.svc-hero__title {
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.svc-hero__art {
  display: grid;
  justify-items: center;
}

.lift--solo {
  width: min(62vw, 19rem);
  rotate: 3deg;
}

@media (min-width: 60em) {
  .svc-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 3rem;
  }

  .lift--solo {
    width: min(100%, 24rem, calc((100svh - var(--header-h) - 6rem) * 0.666));
  }
}

.offer,
.faq,
.others {
  padding-block: var(--section);
}

.offer__grid {
  display: grid;
  gap: 2rem 4rem;
}

.offer__list {
  margin: 0;
  border-top: 0.0625rem solid var(--rule);
}

.offer__item {
  display: grid;
  gap: 0.35rem 2rem;
  padding-block: 1.5rem;
  border-bottom: 0.0625rem solid var(--rule);
}

.offer__item dt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.12;
}

.offer__item dd {
  max-width: 34rem;
  margin: 0;
  font-size: 1.125rem;
  color: var(--plum-700);
}

.offer .services__price {
  margin-top: 2rem;
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 60em) {
  .offer__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .offer__item {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: baseline;
  }
}

.faq__grid {
  display: grid;
  gap: 2.25rem 4rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.faq__item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
  line-height: 1.18;
}

.faq__item p {
  max-width: 34rem;
  margin-top: 0.6rem;
  font-size: 1.0625rem;
  color: var(--plum-700);
}

@media (min-width: 48em) {
  .faq__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.others__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.other {
  position: relative;
}

.other a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: 0.6rem;
  padding-block: 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.5rem);
  line-height: 1.15;
  text-decoration: none;
}

.other a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.other .icon {
  width: 0.7em;
  height: 0.7em;
  color: var(--rose-500);
  transition: transform 0.35s var(--ease-out);
}

.other:hover a {
  color: var(--berry-600);
}

.other:hover .icon {
  transform: translateX(0.25rem);
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .other:hover .nail::after {
    animation: sheen-again 1.2s var(--ease-soft) both;
  }
}

@media (min-width: 48em) {
  .others__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem clamp(1.25rem, 3vw, 3rem);
  }
}

/* ---------- Reviews ---------- */

.reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--blush-100);
}

/* Grain sits over the photo and the ground alike, so they read as one surface. */
.reviews::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grain);
  pointer-events: none;
}

.reviews__art {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: var(--section) var(--gutter) 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--plum-800);
  box-shadow: 0 1.5rem 3rem rgb(122 40 72 / 0.2);
}

.reviews__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.reviews__body {
  position: relative;
  padding-block: clamp(2rem, 6vw, 3.5rem) var(--section);
}

.reviews .display {
  max-width: 13ch;
}

.lead-quote {
  max-width: 38rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.lead-quote blockquote {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.05rem + 1.7vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.006em;
}

.lead-quote figcaption {
  margin-top: 1.1rem;
  font-weight: 650;
}

.lead-quote figcaption span {
  margin-left: 0.6rem;
  font-weight: 400;
  color: var(--plum-600);
}

.quotes {
  display: grid;
  max-width: 38rem;
  margin-block: clamp(2rem, 4vw, 3.25rem) 1.75rem;
  border-top: 0.0625rem solid var(--rule);
}

.quote {
  padding-block: 1.35rem;
  border-bottom: 0.0625rem solid var(--rule);
}

.quote blockquote {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.quote__by {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--plum-600);
}

@media (min-width: 40em) {
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

@media (min-width: 60em) {
  /* On desktop the photo is framed on the right, lined up with the page's content edge. */
  .reviews__art {
    position: absolute;
    top: 50%;
    right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
    width: min(38%, calc(var(--max) * 0.38));
    margin: 0;
    aspect-ratio: 4 / 5;
    translate: 0 -50%;
  }

  .reviews__art img {
    object-position: 70% 50%;
  }

  .reviews__body {
    padding-block: var(--section);
    padding-right: calc(min(38%, var(--max) * 0.38) + clamp(2rem, 4vw, 4rem));
  }
}

/* ---------- Visit ---------- */

.visit {
  padding-block: var(--section);
}

.visit__title {
  max-width: 11ch;
}

/* Photo and card sit side by side or stacked. The card never overlaps the photo. */
.visit__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: clamp(1.75rem, 4vw, 3.5rem);
}

.visit__photo {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  background: var(--blush-200);
}

.visit__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}

.visit__copy {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.visit__copy p {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--plum-700);
}

.visit__copy p + p {
  margin-top: 0.9rem;
}

/* The one card on the site: the salon's details, set like the back of an appointment card. */
.card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem 2.5rem;
  padding: clamp(1.25rem, 0.8rem + 2.4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--grain) var(--plum-800);
  color: var(--pearl-50);
  box-shadow: 0 1.75rem 3rem rgb(45 12 30 / 0.3);
  --focus: var(--pink-400);
}

.card ::selection {
  background: var(--pink-500);
  color: var(--plum-950);
}

.card__title {
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
}

.card__contact {
  display: grid;
  align-content: start;
  gap: 2rem;
}

.card address {
  font-size: 1.0625rem;
}

.card .text-link {
  margin-top: 0.4rem;
  color: var(--pink-400);
}

.card__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2rem);
  line-height: 1.15;
  white-space: nowrap;
  color: var(--pink-400);
  text-decoration-thickness: 0.05em;
}

.card__phone:hover {
  color: var(--pearl-50);
}

.card__note {
  max-width: 20rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--pearl-300);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  padding: 0.5rem 0;
  border-bottom: 0.0625rem solid rgb(253 244 239 / 0.16);
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

.hours td {
  text-align: right;
  color: var(--pearl-300);
}

.hours tr.is-today th,
.hours tr.is-today td {
  font-weight: 700;
  color: var(--pearl-50);
}

.hours tr.is-today th::after {
  content: "Today";
  margin-left: 0.6rem;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  background: var(--pink-500);
  color: var(--plum-950);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 0.1em;
}

/* On the narrowest phones the "Today" label becomes a pink dot, so it never crowds the times. */
@media (max-width: 25.99em) {
  .hours tr.is-today th::after {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    vertical-align: 0.08em;
  }
}

@media (min-width: 40em) {
  .card {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (min-width: 60em) {
  .visit__stage {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }

  .visit__photo {
    aspect-ratio: 5 / 4;
  }

  .card {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Close ---------- */

.close {
  padding-block: clamp(4rem, 2.5rem + 7vw, 8rem);
  text-align: center;
}

.close__title {
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.close__phone {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 0.6rem + 10vw, 8.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 96% / 0 0.045em no-repeat;
  transition: background-size 0.7s var(--ease-out);
}

.close__phone:hover,
.close__phone:focus-visible {
  background-size: 100% 0.045em;
}

.close__request {
  margin-top: 0.75rem;
}

.close__note {
  margin-top: 1.25rem;
  font-weight: 500;
  text-wrap: balance;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(3rem, 6vw, 5rem) 7.5rem;
  background: var(--grain) var(--blush-100);
  color: var(--ink-soft);
  font-size: 0.975rem;
}

.site-footer a,
.site-footer .link-button {
  color: var(--ink);
}

.site-footer p a,
.site-footer li a,
.site-footer .link-button {
  display: inline-block;
  padding-block: 0.35rem;
}

.site-footer .link-button {
  padding-inline: 0;
}

.site-footer a:hover,
.site-footer .link-button:hover {
  color: var(--berry-600);
}

.site-footer__grid {
  display: grid;
  gap: 2.25rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__brand {
  grid-column: 1 / -1;
  max-width: 22rem;
}

.site-footer__brand p {
  margin-top: 1rem;
}

.site-footer .logo {
  color: var(--ink);
}

.site-footer__heading {
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
}

.site-footer address + p {
  margin-top: 0.5rem;
}

.site-footer__base {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--rule);
  font-size: 0.875rem;
}

/* Copyright on the left, the BlueBench credit on the right; stacked on phones. */
@media (min-width: 40em) {
  .site-footer__base {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 2rem;
  }

  .site-footer__base p {
    margin-top: 0;
  }
}

.site-footer__credit {
  color: var(--ink-soft);
}

.site-footer__credit a {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 60em) {
  .site-footer {
    padding-bottom: 3rem;
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

/* ---------- Sticky call bar ---------- */

.callbar {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 0.75rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgb(59 17 38 / 0.97);
  box-shadow: 0 -0.5rem 1.5rem rgb(59 17 38 / 0.2);
  --focus: var(--pink-400);
  transform: translateY(110%);
  visibility: hidden;
  transition:
    transform 0.5s var(--ease-out),
    visibility 0s linear 0.5s;
}

.callbar.is-shown {
  transform: none;
  visibility: visible;
  transition:
    transform 0.5s var(--ease-out),
    visibility 0s;
}

.callbar .btn--primary,
.consent .btn--primary {
  background: var(--blush-200);
  color: var(--plum-950);
  box-shadow: none;
}

.callbar .btn--primary:hover,
.consent .btn--primary:hover {
  background: var(--blush-50);
}

.callbar .btn--ghost,
.consent .btn--ghost {
  border-color: rgb(253 244 239 / 0.46);
  color: var(--pearl-50);
}

.callbar .btn--ghost:hover,
.consent .btn--ghost:hover {
  background: rgb(253 244 239 / 0.1);
  border-color: var(--pearl-50);
}

.callbar .btn--primary {
  flex: 1;
  min-width: 0;
  padding-inline: 1rem;
}

.callbar .btn--ghost {
  padding-inline: 0.85rem;
}

.callbar__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 22.49em) {
  .callbar {
    gap: 0.4rem;
  }

  .callbar .btn {
    gap: 0.4rem;
    font-size: 0.9375rem;
  }

  .callbar .btn--primary {
    padding-inline: 0.6rem;
  }
}

.consent-open .callbar {
  display: none;
}

@media (min-width: 30em) {
  .callbar__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .callbar .btn--ghost {
    padding-inline: 1.35rem;
  }
}

@media (min-width: 60em) {
  .callbar {
    right: 1.5rem;
    bottom: 1.5rem;
    left: auto;
    padding: 0.5rem;
    border-radius: 999px;
    box-shadow: 0 0.75rem 2rem rgb(59 17 38 / 0.3);
    transform: translateY(160%);
  }

  .callbar .btn--ghost {
    display: none;
  }
}

/* ---------- Cookie banner ---------- */

.consent {
  position: fixed;
  z-index: 50;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  left: 0.75rem;
  max-width: 26rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 0.0625rem solid rgb(253 244 239 / 0.16);
  border-radius: 1.25rem;
  background: var(--plum-800);
  color: var(--pearl-50);
  box-shadow: 0 1rem 2.5rem rgb(59 17 38 / 0.3);
  font-size: 0.95rem;
  line-height: 1.5;
  --focus: var(--pink-400);
}

.consent__title {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Bottom right on larger screens, so it never sits on the hero's call button. */
@media (min-width: 40em) {
  .consent {
    right: 1.5rem;
    bottom: 1.5rem;
    left: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) {
    animation: settle 0.6s var(--ease-out) both;
  }
}

/* ---------- Request a time ---------- */

.req {
  padding-block: clamp(0.5rem, 2vw, 1.5rem) var(--section);
  background: radial-gradient(40rem 30rem at 85% 20%, rgb(245 191 208 / 0.5), rgb(245 191 208 / 0) 70%);
}

.req__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

.req__title {
  font-size: clamp(2.6rem, 1.4rem + 5vw, 4.75rem);
}

.req__promises {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
  font-weight: 600;
}

.req__promises li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.req__promises .icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--plum-800);
  color: var(--blush-50);
  stroke-width: 2.4;
}

.req__review {
  display: none;
  margin-top: 2.25rem;
  padding: 1.25rem 1.4rem;
  border-left: 0.1875rem solid var(--rose-500);
  border-radius: 0 1rem 1rem 0;
  background: rgb(255 247 249 / 0.7);
}

.req__review .stars {
  color: var(--rose-500);
}

.req__review blockquote {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
}

.req__review figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.req__call {
  display: none;
  margin-top: 1.75rem;
  color: var(--ink-soft);
}

.req__call a {
  font-weight: 650;
  color: var(--ink);
}

.req__call span {
  font-size: 0.925rem;
}

.req__panel {
  position: relative;
  padding: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  border: 0.0625rem solid rgb(173 22 80 / 0.12);
  border-radius: 1.75rem;
  background: var(--blush-50);
  box-shadow: 0 1.5rem 3.5rem rgb(122 40 72 / 0.12);
  scroll-margin-top: 1rem;
}

.req__noscript {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--blush-200);
  font-weight: 600;
}

/* Progress */

.req-progress {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.req-progress li {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 0.1875rem solid var(--blush-200);
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink-soft);
  transition: border-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}

.req-progress__n {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--blush-200);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}

.req-progress li.is-current {
  border-color: var(--plum-800);
  color: var(--ink);
}

.req-progress li.is-current .req-progress__n {
  background: var(--plum-800);
  color: var(--blush-50);
}

.req-progress li.is-done {
  border-color: var(--rose-500);
}

.req-progress li.is-done .req-progress__n {
  background: var(--rose-500);
  color: #fff;
}

/* Steps and questions */

.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  line-height: 1.1;
}

.step__title:focus {
  outline: none;
}

.q,
.sub {
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.q__label,
.sub legend,
.field label {
  display: block;
  margin-bottom: 0.7rem;
  padding: 0;
  font-weight: 700;
}

.opt {
  display: block;
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--ink-soft);
}

.field label .opt {
  display: inline;
  margin-left: 0.35rem;
}

.sub {
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 1.1rem;
  background: var(--blush-100);
}

/* Floated so the question sits inside its box instead of on the box's edge. */
.sub legend {
  float: left;
  width: 100%;
}

.sub legend + * {
  clear: both;
}

.sub--addons {
  background: linear-gradient(135deg, var(--blush-100), var(--blush-200));
}

/* Service tiles: the nail photos double as the picker. */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.tile {
  position: relative;
  display: block;
  cursor: pointer;
}

.tile input,
.chip input,
.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.tile__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 100%;
  min-height: 7.5rem;
  padding: 0.85rem 0.6rem 0.9rem;
  text-align: center;
  border: 0.0625rem solid var(--rule);
  border-radius: 1.1rem;
  background: #fff;
  transition: border-color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), transform 0.2s var(--ease-out);
}

.tile:hover .tile__body {
  border-color: rgb(45 12 30 / 0.4);
}

.tile__art {
  flex: none;
  width: 2.75rem;
}

.tile__art .nail {
  width: 100%;
}

.tile__name {
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.tile--unsure .tile__body {
  gap: 0.2rem;
  border-style: dashed;
}

.tile__hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.tile__tick {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 1.3rem;
  height: 1.3rem;
  border: 0.0938rem solid rgb(45 12 30 / 0.3);
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft);
}

.tile input:checked + .tile__body {
  border-color: var(--plum-800);
  background: var(--blush-100);
  box-shadow: 0 0 0 0.0625rem var(--plum-800);
}

.tile input:checked + .tile__body .tile__tick {
  border-color: var(--plum-800);
  background: var(--plum-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff7f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

.tile input:active + .tile__body {
  transform: scale(0.98);
}

.tile input:focus-visible + .tile__body,
.chip input:focus-visible + span,
.check input:focus-visible + span::before {
  outline: 0.1875rem solid var(--focus);
  outline-offset: 0.1875rem;
}

/* Chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip > span {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.05rem;
  border: 0.0625rem solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), transform 0.2s var(--ease-out);
}

.chip:hover > span {
  border-color: rgb(45 12 30 / 0.4);
}

.chip small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.chip input:checked + span {
  border-color: var(--plum-800);
  background: var(--plum-800);
  color: var(--blush-50);
}

.chip input:checked + span small {
  color: var(--blush-200);
}

.chip input:active + span {
  transform: scale(0.97);
}

.chips--days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr));
}

.chips--days .chip > span,
.chips--times .chip > span {
  width: 100%;
  border-radius: 1rem;
  text-align: center;
  align-items: center;
  min-height: 3.6rem;
}

.chips--days .chip:first-child {
  grid-column: span 2;
}

.chips--times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Text fields */

.fields {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.field + .field,
.check + .field {
  margin-top: 0;
}

.req-form input[type="text"],
.req-form input[type="tel"],
.req-form input[type="email"],
.req-form textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 0.0625rem solid rgb(45 12 30 / 0.28);
  border-radius: 0.9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}

.req-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.req-form input:focus,
.req-form textarea:focus {
  border-color: var(--plum-800);
  box-shadow: 0 0 0 0.1875rem rgb(173 22 80 / 0.16);
  outline: none;
}

.req-form [aria-invalid="true"] {
  border-color: var(--berry-600);
}

.step > .field {
  margin-top: 1.25rem;
}

.field-hint {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.field-error {
  margin-top: 0.5rem;
  font-size: 0.925rem;
  font-weight: 650;
  color: var(--berry-600);
}

.check {
  position: relative;
  display: flex;
  margin-top: 1.25rem;
  cursor: pointer;
  font-weight: 600;
}

.check span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.check span::before {
  content: "";
  flex: none;
  width: 1.45rem;
  height: 1.45rem;
  border: 0.0938rem solid rgb(45 12 30 / 0.4);
  border-radius: 0.45rem;
  background: #fff;
  transition: background-color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft);
}

.check input:checked + span::before {
  border-color: var(--plum-800);
  background: var(--plum-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff7f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
}

/* Summary, spam check, send */

.req-summary {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1.1rem;
  background: var(--blush-100);
}

.req-summary__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-500);
}

.req-summary dl {
  display: grid;
  gap: 0.35rem;
  margin: 0.6rem 0 0;
}

.req-summary dl div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
}

.req-summary dt {
  font-weight: 650;
  color: var(--ink-soft);
}

.req-summary dd {
  margin: 0;
}

.hp {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile:not(:empty) {
  margin-top: 1.25rem;
}

.form-status:not(:empty) {
  margin-top: 1rem;
  font-weight: 650;
}

.form-status.is-error {
  color: var(--berry-600);
}

.step__nav {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.step__nav .btn {
  margin-left: auto;
}

.step__back {
  padding: 0.75rem 0.25rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.req-form [data-submit][aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}

.req-form__small {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.req-form__small a {
  color: var(--ink);
}

/* Sent */

.req-done {
  padding-block: clamp(1rem, 4vw, 2.5rem);
  text-align: center;
}

.req-done:focus {
  outline: none;
}

.req-done__pearl {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fffaf7 0 8%, #ffd9e4 38%, #f19ab7 72%, #c7658a 100%);
  box-shadow: 0 0.6rem 1.5rem rgb(122 40 72 / 0.28);
}

.req-done__title {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
}

.req-done__text {
  max-width: 30rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
}

.req-next {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 2rem auto 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: next;
  text-align: left;
}

.req-next li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  counter-increment: next;
}

.req-next li::before {
  content: counter(next);
  flex: none;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--blush-200);
  font-size: 0.85rem;
  font-weight: 700;
  translate: 0 0.3rem;
}

.req-done__sooner {
  margin-top: 0.5rem;
  color: var(--ink-soft);
}

.req-done__sooner .text-link {
  color: var(--ink);
}

.req-done__demo {
  margin-bottom: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  background: var(--blush-200);
  font-size: 0.9rem;
}

@media (min-width: 30em) {
  .tile__art {
    width: 3rem;
  }

  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .chips--times {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 48em) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 60em) {
  .req__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(3rem, 5vw, 5rem);
  }

  .req__intro {
    position: sticky;
    top: 2rem;
    padding-top: 1rem;
  }

  .req__review,
  .req__call {
    display: block;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .step:not([hidden]) {
    animation: step-in 0.45s var(--ease-out) both;
  }

  .sub:not([hidden]) {
    animation: step-in 0.35s var(--ease-out) both;
  }

  .req-done:not([hidden]) .req-done__pearl {
    animation: pearl-drop 0.8s var(--ease-out) both;
  }
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(0.6rem); }
  to { opacity: 1; transform: none; }
}

@keyframes pearl-drop {
  from { opacity: 0; transform: translateY(-1.25rem) scale(0.7); }
  60% { opacity: 1; transform: translateY(0.15rem) scale(1.04); }
  to { transform: none; }
}

/* ---------- Legal pages ---------- */

.legal {
  padding-block: clamp(3rem, 7vw, 6rem) var(--section);
}

.legal__wrap {
  max-width: 46rem;
}

.legal__updated {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--plum-600);
}

.legal__intro {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
}

.legal h2 {
  margin-top: 2.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.2;
}

.legal p {
  max-width: 68ch;
}

.legal h2 + p,
.legal p + p {
  margin-top: 0.75rem;
}

.legal a {
  color: var(--berry-600);
}

.legal a:hover {
  color: var(--plum-900);
}

/* ---------- 404 ---------- */

.lost {
  display: grid;
  min-height: calc(100svh - var(--header-h));
  align-items: center;
  padding-block: 3rem 5rem;
}

.lost__pearl {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 2rem;
}

.lost p {
  max-width: 32rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.lost__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: 2.25rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .lost__pearl {
    animation: bob 5s ease-in-out infinite alternate;
  }
}

@keyframes bob {
  from { transform: translateY(-0.35rem); }
  to { transform: translateY(0.35rem); }
}

@media print {
  .callbar,
  .consent,
  .skip-link {
    display: none !important;
  }
}
