/* Dabbas Wellness
   Navy and the logo's violet-to-orchid are the brand. Baskervville Italic speaks
   (headlines, names, prices, the phone number); Playfair explains (everything else). */

@font-face {
  font-family: "Baskervville";
  src: url("../assets/fonts/baskervville-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair";
  src: url("../assets/fonts/playfair-text.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  /* colour */
  --navy: #0e273f;
  --navy-deep: #0a1d30;
  --navy-raised: #143251;
  --linen: #f4eef2;
  --mist: #aebbcb;
  --violet: #8b669c;
  --orchid: #d36996;
  --blush: #e7a1bf;
  --line: rgb(244 238 242 / 0.14);
  --line-strong: rgb(244 238 242 / 0.32);
  --brand-gradient: linear-gradient(90deg, #8b669c 0%, #b06a99 40%, #cc6f97 70%, #d36996 100%);

  /* type */
  --font-display: "Baskervville", "Baskerville", "Libre Baskerville", "Baskerville Old Face", Georgia, serif;
  --font-text: "Playfair", "Playfair Display", Georgia, "Times New Roman", serif;
  --step--1: 0.9375rem;
  --step-0: clamp(1.0625rem, 1.03rem + 0.16vw, 1.1875rem);
  --step-1: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --step-2: clamp(1.75rem, 1.45rem + 1.25vw, 2.625rem);
  --step-3: clamp(2.25rem, 1.75rem + 2.2vw, 3.75rem);
  --step-4: clamp(2.75rem, 2rem + 3.4vw, 4.75rem);
  --step-hero: clamp(2.25rem, min(11.6vw, max(2.75rem, 0.9rem + 6.4vw)), 7rem);
  --step-phone: clamp(2.125rem, min(10.5vw, 1.2rem + 4.6vw), 5.25rem);

  /* space & layout */
  --gutter: clamp(1.25rem, 0.6rem + 2.8vw, 3rem);
  --max: 76rem;
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --bar-h: 4rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

@media (min-width: 48em) {
  :root { --bar-h: 4.75rem; }
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--navy);
}

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

html:has(.menu:popover-open),
html:has(.menu.is-open) { overflow: hidden; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--linen);
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

:where(ul[role="list"], .bar__nav ul, .menu__links) { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgb(211 105 150 / 0.45); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.nowrap { white-space: nowrap; }

/* Phone numbers, prices and addresses use lining figures; prose keeps the old-style ones. */
.btn, .bar__call, .menu__phone, .contact__details, .quick { font-variant-numeric: lining-nums; }

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

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--linen);
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  translate: 0 -200%;
}
.skip-link:focus-visible { translate: 0 0; }

section[id] { scroll-margin-top: calc(var(--bar-h) + 1rem); }
section[tabindex="-1"]:focus { outline: none; }

/* Move navigation landings one wheel step into each padded section. */
:is(#services, #prices, #about) {
  scroll-margin-top: calc(var(--bar-h) + 1rem - min(100px, var(--section) - 1rem));
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.25rem;
  padding: 0.75em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn--solid { background: var(--linen); color: var(--navy); }
.btn--solid:hover { background: #fff; }

.btn--line { border-color: var(--line-strong); color: var(--linen); }
.btn--line:hover { border-color: var(--linen); background: rgb(244 238 242 / 0.06); }

/* Call / text pairs: side by side when they fit; on narrow phones each wrapped button fills the row. */
.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 29.99em) {
  .hero__actions,
  .contact__actions { width: min(100%, 21rem); }
  .hero__actions .btn,
  .contact__actions .btn { flex: 1 1 auto; }
}

/* ---------- top bar ---------- */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s;
}

.bar[data-scrolled] {
  background: rgb(10 29 48 / 0.78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.bar__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(100% - 2 * var(--gutter), var(--max));
  height: var(--bar-h);
  margin-inline: auto;
}

.bar__home {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: start;
  padding-block: 0.4rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

[data-past-hero] .bar__home { opacity: 1; visibility: visible; }

.bar__mark { width: 2.5rem; height: auto; aspect-ratio: 1186.1 / 928.2; }

.bar__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  white-space: nowrap;
}

.bar__nav { display: none; }

.bar__nav ul { display: flex; gap: clamp(1.5rem, 3vw, 2.75rem); }

.bar__nav a {
  position: relative;
  display: block;
  padding-block: 0.5rem;
  font-size: 1rem;
  text-decoration: none;
  color: var(--linen);
}

.bar__nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.2rem;
  height: 1px;
  background: currentColor;
  scale: 0 1;
  transition: scale 0.35s var(--ease);
}

.bar__nav a:hover::after,
.bar__nav a[aria-current="true"]::after { scale: 1 1; }

.bar__call {
  display: none;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  min-height: 2.75rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s, border-color 0.2s, background-color 0.2s;
}

.bar__call:hover { border-color: var(--linen); background: rgb(244 238 242 / 0.06); }
[data-past-hero] .bar__call { opacity: 1; visibility: visible; }

.bar__menu,
.menu__close {
  display: inline-grid;
  place-items: center;
  justify-self: end;
  width: 3rem;
  height: 3rem;
  margin-right: -0.6rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--linen);
  cursor: pointer;
}

.bar__menu .icon,
.menu__close .icon { width: 1.75rem; height: 1.75rem; }

@media (min-width: 48em) {
  .bar__inner { grid-template-columns: 1fr auto 1fr; }
  .bar__nav { display: block; }
  .bar__call { display: inline-flex; }
  .bar__menu { display: none; }
}

@media (min-width: 48em) and (max-width: 63.99em) {
  .bar__name { display: none; }
}

/* ---------- mobile menu (popover) ---------- */

.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0 var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  border: 0;
  background: var(--navy-deep);
  color: var(--linen);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu:popover-open,
.menu.is-open {
  display: flex;
  flex-direction: column;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar-h);
}

.menu__home {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.menu > nav { margin-block: clamp(2rem, 8vh, 4.5rem) auto; }

.menu__links {
  display: grid;
  gap: 0.25rem;
}

.menu__links a {
  display: block;
  padding-block: 0.35rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  line-height: 1.15;
  text-decoration: none;
}

.menu__address {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--linen);
  font-variant-numeric: lining-nums;
  text-decoration-color: var(--line-strong);
}

.menu__foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
}

.menu__phone {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--linen);
  text-decoration: none;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .menu {
    transition: opacity 0.35s var(--ease), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
    opacity: 0;
  }
  .menu:popover-open { opacity: 1; }
  .menu__links li {
    transition: opacity 0.5s var(--ease), translate 0.5s var(--ease);
    transition-delay: calc(0.06s * var(--i) + 0.05s);
  }
  @starting-style {
    .menu:popover-open { opacity: 0; }
    .menu:popover-open .menu__links li { opacity: 0; translate: 0 0.75rem; }
  }
}

/* ---------- hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: calc(var(--bar-h) + 1.5rem) var(--gutter) clamp(3rem, 8vh, 5rem);
  text-align: center;
}

.hero__logo {
  width: clamp(11rem, min(49vw, 27svh), 18.75rem);
  height: auto;
  aspect-ratio: 1186.1 / 928.2;
  overflow: visible;
}

.hero__title {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  font-size: min(var(--step-hero), 12.5svh);
  line-height: 1.04;
}

.hero__tagline {
  max-width: 30em;
  margin-top: clamp(0.85rem, 2vh, 1.25rem);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.45;
}

.hero__actions { margin-top: clamp(2rem, 5vh, 3rem); }

.hero__address {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: 0.25rem 0.5rem;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.35;
  font-variant-numeric: lining-nums;
  text-decoration: none;
  text-wrap: balance;
}

.hero__address .icon { width: 1.15em; height: 1.15em; color: var(--blush); }
.hero__address > :last-child { text-align: left; }

@media (hover: hover) {
  .hero__address:hover > :last-child { text-decoration: underline; text-decoration-color: var(--line-strong); }
}

/* The one orchestrated moment: the hands and leaf draw themselves in.
   The text around it is there from the first frame. */
.hero__draw path { stroke-dasharray: 1 1; }
.hero__settle { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero__draw path {
    stroke-dashoffset: 1;
    animation: draw var(--du) cubic-bezier(0.5, 0.05, 0.25, 1) var(--dl) both;
  }
  .hero__draw circle {
    transform-box: fill-box;
    transform-origin: center;
    animation: dot 0.7s cubic-bezier(0.25, 1, 0.35, 1.25) var(--dl) both;
  }
  .hero__settle { animation: settle 0.9s ease 2.3s both; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__draw { display: none; }
  .hero__settle { opacity: 1; }
}

@keyframes draw {
  from { stroke-dashoffset: 1; opacity: 0; }
  1% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes dot {
  from { scale: 0; }
  to { scale: 1; }
}

@keyframes settle {
  to { opacity: 1; }
}


/* ---------- section heads ---------- */

.section-head {
  width: min(100% - 2 * var(--gutter), 44rem);
  margin-inline: auto;
  text-align: center;
}

.section-head h2 { font-size: var(--step-3); }

.section-head p {
  margin-top: 1rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--mist);
  text-wrap: balance;
}

/* ---------- services ---------- */

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

.services__list {
  display: grid;
  gap: clamp(3.5rem, 2rem + 6vw, 8rem);
  width: min(100%, var(--max));
  margin: clamp(3rem, 2rem + 4vw, 6rem) auto 0;
}

.service__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--navy-raised);
}

/* The 3:2 crop on smaller screens would clip the Swedish client's hair bun; trim more from the bottom instead. */
#swedish-massage .service__media img { object-position: 50% 25%; }

.service__body { padding: 1.75rem var(--gutter) 0; }

.service__body h3 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 3rem); }

.service__body p {
  max-width: 34em;
  margin-top: 0.9rem;
}

/* Skimmers read the name and the hook; the detail sits a step quieter below. */
.service__body .service__hook {
  margin-top: 0.5rem;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  color: var(--linen);
}

.service__body .service__hook + p {
  margin-top: 0.75rem;
  color: #c9d3de;
}

@media (min-width: 40em) and (max-width: 59.99em) {
  .service { width: min(100% - 2 * var(--gutter), 40rem); margin-inline: auto; }
  .service__media img { border-radius: 4px; }
  .service__body { padding-inline: 0; }
}

@media (min-width: 60em) {
  .services__list { width: min(100% - 2 * var(--gutter), var(--max)); }

  .service {
    display: grid;
    grid-template-columns: 7fr 5fr;
    align-items: center;
    column-gap: clamp(3rem, 6vw, 6rem);
  }

  .service:nth-child(odd) { grid-template-columns: 5fr 7fr; }
  .service:nth-child(odd) .service__media { order: 2; }

  .service__media img { aspect-ratio: 4 / 3; border-radius: 4px; }

  .service__body { padding: 0; }
  .service__body p { margin-top: 1.25rem; }
}

/* ---------- prices ---------- */

.prices {
  margin-top: var(--section);
  padding-block: var(--section);
  background: var(--navy-deep);
}

.rates {
  display: grid;
  gap: 3rem;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: clamp(3rem, 2rem + 3vw, 5rem) auto 0;
}

.rate {
  display: flex;
  flex-direction: column;
}

.rate__price {
  display: flex;
  align-items: center;
  align-content: start;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: var(--step-4);
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.rate__tag {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgb(231 161 191 / 0.55);
  border-radius: 999px;
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--blush);
}

.rate__length {
  order: -1;
  margin-bottom: 0.75rem;
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: 0;
}

/* Bar length is the session length: the full track is two hours. */
.rate__time {
  height: 0.375rem;
  margin-block: 1.4rem 1.1rem;
  border-radius: 999px;
  background: var(--line);
}

.rate__time span {
  display: block;
  width: calc(var(--minutes) / 120 * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--brand-gradient);
  background-size: calc(120 / var(--minutes) * 100%) 100%;
}

.rate__note {
  max-width: 24em;
  color: var(--mist);
  text-wrap: balance;
}

.prices__gift-note {
  margin-top: 0.6rem;
  color: var(--mist);
}

.prices__pay {
  width: min(100% - 2 * var(--gutter), 44rem);
  margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0;
  text-align: center;
  color: var(--mist);
  text-wrap: balance;
}

.prices__more {
  width: min(100% - 2 * var(--gutter), 56rem);
  margin: clamp(3rem, 2.5rem + 3vw, 5rem) auto 0;
  padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.prices__gift {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.2;
  text-wrap: balance;
}


/* Side by side, the three rates share row tracks (subgrid), so labels, prices, bars and
   notes line up across columns even when the "Best value" tag wraps. */
@media (min-width: 48em) {
  .rates {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 0 clamp(2rem, 4vw, 4.5rem);
  }

  .rate {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-content: start;
  }
}

/* ---------- about ---------- */

.about {
  display: grid;
  justify-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding-block: var(--section);
}

.about__portrait {
  width: min(17rem, 72vw);
  padding: 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.about__portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: var(--navy-raised);
}

.about__text { max-width: 36em; }

.about__text h2 {
  font-size: var(--step-3);
  text-align: center;
}

.about__role {
  margin: 0.5rem 0 2rem;
  text-align: center;
  color: var(--mist);
}

.about__text p + p { margin-top: 1.25em; }


@media (min-width: 56em) {
  .about {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    column-gap: clamp(3rem, 7vw, 7rem);
  }

  .about__portrait { width: min(100%, 26rem); justify-self: end; }
  .about__text h2,
  .about__role { text-align: left; }
}

/* ---------- contact ---------- */

/* The last screen: Contact fills the space between the top bar and the footer, with its content centred,
   so the Contact link lands at the very bottom of the page with even blue above and below. */
#contact { scroll-margin-top: var(--bar-h); }

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--bar-h) - var(--foot-h, 4.75rem));
  padding: clamp(3rem, 8svh, 6rem) var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: var(--step-phone);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
  text-decoration: none;
}

.contact__phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }

.contact__lead {
  margin-top: 1rem;
  font-size: var(--step-1);
  line-height: 1.45;
  text-wrap: balance;
}

.contact__actions { margin: 2rem auto 0; }

/* Directions, email and Facebook: plain text links in a row under the buttons, each with its icon. */
.contact__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.5rem;
  width: min(100%, 60rem);
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 2.75rem;
  padding: 0.25rem 0.25rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

.contact__link .icon { width: 1.2em; height: 1.2em; color: var(--blush); }

.contact__link > span { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

@media (hover: hover) {
  .contact__link:hover > span { text-decoration: underline; }
}

/* On phones they stack, centred under the Call / Send a text buttons. */
@media (max-width: 29.99em) {
  .contact__details { flex-direction: column; align-items: center; gap: 0.4rem; }
  .contact__link { text-align: center; }
}

/* ---------- footer ---------- */

.foot {
  background: var(--navy-deep);
  font-size: var(--step--1);
  color: var(--mist);
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding-block: 1.6rem;
}

.foot__license { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; }

/* ---------- quick actions (phones) ---------- */

.quick {
  position: fixed;
  left: 50%;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid rgb(244 238 242 / 0.16);
  border-radius: 999px;
  background: rgb(10 29 48 / 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 12px 32px rgb(3 10 18 / 0.45);
  translate: -50% calc(100% + 1.5rem);
  opacity: 0;
  visibility: hidden;
  transition: translate 0.45s var(--ease), opacity 0.3s, visibility 0.45s;
}

[data-quick-visible] .quick { translate: -50% 0; opacity: 1; visibility: visible; }

.quick a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: clamp(3.3rem, 16vw, 4rem);
  min-height: 3.25rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: var(--linen);
}

.quick .icon { width: 1.35rem; height: 1.35rem; }

.quick .quick__call { background: var(--linen); color: var(--navy); }

/* Five actions on the narrowest phones: tighter cells so the bar keeps a margin. */
@media (max-width: 22.49em) {
  .quick { gap: 0.1rem; padding: 0.25rem; }
  .quick a { min-width: 3rem; padding-inline: 0.3rem; font-size: 0.6875rem; }
}

@media (min-width: 48em) {
  .quick { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
