/* Monochrome service invitation: black at the centre, white at the edge. */
.floating-service {
  --service-size: 60px;
  position: fixed;
  z-index: 45;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: var(--service-size);
  height: var(--service-size);
  border-radius: 50%;
  color: #121416;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .65s var(--ease), transform .65s var(--ease), visibility .65s;
}
.floating-service.is-ready { opacity: 1; visibility: visible; transform: none; }
/* Keep the small visual gap clickable when moving from the orb to the label. */
.floating-service::before { content: ""; position: absolute; right: 100%; top: 0; bottom: 0; width: 10px; }
.service-orb {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, #070809 0%, #111214 21%, #4b4d50 43%, #a5a7aa 65%, #eceeef 85%, #fff 100%);
  box-shadow: 0 7px 25px rgba(0,0,0,.18), 0 0 0 1px rgba(16,19,20,.1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service-label {
  position: absolute;
  right: calc(var(--service-size) + 10px);
  top: 50%;
  width: max-content;
  max-width: calc(100vw - var(--service-size) - 64px);
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(250,250,249,.94);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .015em;
  opacity: 0;
  visibility: hidden;
  transform: translate(8px,-50%);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.floating-service.is-ready .service-label { animation: ps-service-invitation 7.2s ease-in-out infinite; }
.floating-service.is-ready .service-orb { animation: ps-service-breathe 3.6s ease-in-out infinite; }
.floating-service:focus-visible .service-label,
.floating-service:active .service-label { animation: none; opacity: 1; visibility: visible; transform: translate(0,-50%); }
@keyframes ps-service-invitation {
  0%, 8%, 88%, 100% { opacity: 0; visibility: hidden; transform: translate(8px,-50%); }
  16%, 76% { opacity: 1; visibility: visible; transform: translate(0,-50%); }
}
@keyframes ps-service-breathe {
  0%, 100% { transform: scale(.965); }
  50% { transform: scale(1.035); }
}
.floating-service.is-ready[data-motion-paused="true"] > span,
body.modal-open .floating-service.is-ready > span,
body.intro-active .floating-service.is-ready > span { animation-play-state: paused; }
body.intro-active .floating-service,
body.modal-open .floating-service { opacity: 0; visibility: hidden; pointer-events: none; }
body.intro-active .floating-service .service-label,
body.modal-open .floating-service .service-label { visibility: hidden !important; }
@media (hover: hover) and (pointer: fine) {
  .floating-service:hover .service-label { animation: none; opacity: 1; visibility: visible; transform: translate(0,-50%); }
  .floating-service:hover .service-orb { box-shadow: 0 9px 30px rgba(0,0,0,.24), 0 0 0 1px rgba(16,19,20,.1); }
}

/* Product names stay attached to the photographs and to their enquiry links. */
button.category-image-wrap { display: block; padding: 0; text-align: left; }
.catalog-item { display: flex; flex-direction: column; align-items: flex-start; }
.catalog-preview { display: block; width: 100%; padding: 0; text-align: left; }
.catalog-item-caption { color: var(--ink); font-size: 14px; line-height: 1.55; }
.catalog-product-contact { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; margin-top: 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.catalog-product-contact svg { width: 15px; height: 15px; }
.catalog-product-contact:hover { color: var(--ink); border-color: currentColor; }
.lightbox figure { width: 100%; }
#lightbox-image { min-height: 0; flex: 0 1 auto; }
#lightbox-caption { flex: 0 0 auto; max-width: 640px; }
.lightbox-product-contact { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; flex: 0 0 auto; min-height: 45px; max-width: 100%; margin-top: 14px; padding: 8px 0; border-bottom: 1px solid #c3c7cb; color: #f5f5f3; font-size: 13px; line-height: 1.5; }
.lightbox-product-contact svg { width: 17px; height: 17px; }
.lightbox.is-product #lightbox-image { max-height: calc(100dvh - 225px); }

@media (max-width: 760px) {
  .floating-service { --service-size: 54px; right: max(18px,env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); }
  .service-label { padding: 9px 12px 9px 10px; font-size: 11px; }
  .catalog-item-caption { font-size: 13px; }
  .catalog-product-contact { gap: 9px; font-size: 11px; margin-top: 5px; }
  .lightbox.is-product #lightbox-image { max-height: calc(100dvh - 285px); }
  .lightbox-product-contact { font-size: 12px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-service, .service-label, .service-orb { transition: none; }
  .floating-service.is-ready .service-orb { animation: none; transform: none; }
  .floating-service.is-ready .service-label { animation: none; opacity: 1; visibility: visible; transform: translate(0,-50%); }
}

/* An obvious, always-visible way back from the full-screen catalog. */
.selection-dialog .catalog-top {
  background: rgba(250,250,250,.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.catalog-top > div { min-width: 0; }
.catalog-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(16,19,20,.30);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.38);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.catalog-back svg { width: 19px; height: 19px; }
.catalog-back:hover, .catalog-back:active { background: rgba(16,19,20,.06); }

/* Quiet, editorial glass invitation. A single soft reflection, without a spinning contour. */
.category-explore {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 23px;
}
.selection-explore-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(22px,4vw,48px);
  min-height: 58px;
  padding: 7px 13px 7px 22px;
  border: 1px solid rgba(16,19,20,.23);
  border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(115deg,rgba(255,255,255,.24),rgba(164,172,180,.055) 58%,rgba(255,255,255,.15));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68),0 3px 12px rgba(16,19,20,.035);
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.35;
  transition: border-color .45s ease, box-shadow .45s ease, transform .35s ease;
}
.selection-explore-button > span { position: relative; z-index: 2; }
.selection-explore-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg,transparent 20%,rgba(137,148,158,.045) 39%,rgba(255,255,255,.62) 49%,rgba(255,255,255,.22) 60%,transparent 80%);
  opacity: 0;
  transform: translateX(-110%);
}
.selection-explore-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg,#90969b,#5b6268);
  transition: border-color .45s ease, background .45s ease;
}
.selection-explore-icon svg { width: 17px; height: 17px; stroke-width: 1.15; }
.selection-explore-button:hover,
.selection-explore-button:focus-visible { border-color: rgba(16,19,20,.43); box-shadow: inset 0 1px 0 rgba(255,255,255,.8),0 4px 16px rgba(16,19,20,.065); }
.selection-explore-button:hover .selection-explore-icon { border-color: rgba(255,255,255,.8); background: linear-gradient(145deg,#858c91,#535b61); }
.selection-explore-button:active { transform: scale(.993); }
.category-caption > p { max-width: 100%; }
@media (min-width: 761px) {
  .selection { padding-block: clamp(24px, 4svh, 48px); }
  .selection .section-heading { margin-bottom: clamp(16px, 2.5svh, 28px); }
  .selection .section-heading h2 { font-size: clamp(54px, min(6.7vw, 10svh), 98px); }
  .selection-stage { align-items: start; }
  .category-explore { margin-bottom: clamp(12px, 2svh, 20px); }
  .category-tab { min-height: clamp(46px, 7.5svh, 76px); padding-block: clamp(8px, 1.5svh, 16px); }
  .selection-note { margin-top: clamp(12px, 2svh, 24px); }
  .category-feature { width: min(100%, 65svh, 50rem); justify-self: center; }
  .category-visuals { padding-bottom: 5%; }
  .category-image-wrap { width: 68%; }
  .category-detail { width: 41%; }
  .category-caption { margin-top: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .selection-explore-button::before { animation: ps-explore-reflection 7s ease-in-out infinite; }
  .selection-explore-icon svg { animation: ps-explore-invitation 5s ease-in-out infinite; }
  @keyframes ps-explore-reflection {
    0%,12% { opacity: 0; transform: translateX(-110%); }
    25% { opacity: .7; }
    52% { opacity: .7; }
    66%,100% { opacity: 0; transform: translateX(110%); }
  }
  @keyframes ps-explore-invitation {
    0%,6%,42%,100% { transform: translateX(0); }
    24% { transform: translateX(4px); }
  }
}
@media (max-width:760px) {
  .catalog-top { gap:12px; }
  .catalog-back { padding-inline: 12px; font-size: 11px; gap: 6px; }
  .catalog-back svg { width: 17px; height: 17px; }
  .category-explore { margin-bottom: 18px; }
  .selection-explore-button { min-height: 56px; font-size: 14px; }
  .category-caption > p { max-width: 100%; }
}
@media (max-width:350px) {
  .catalog-top { flex-wrap:wrap; gap:10px; }
  .catalog-back { order:-1; }
  .catalog-top > div { flex-basis:100%; }
}

/* The soundtrack starts automatically when the browser permits it. */
.music-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--ink);
  border-radius: 50%;
  transition: background-color .25s ease;
}
.music-toggle[hidden] { display: none; }
.music-toggle svg { width: 21px; height: 21px; stroke-width: 1.35; }
.music-toggle .music-waves { display: none; }
.music-toggle[data-playing="true"] .music-waves { display: inline; }
.music-toggle[data-playing="true"] .music-paused { display: none; }
.music-toggle:hover, .music-toggle:active { background-color: rgba(16,19,20,.055); }
@media (max-width:760px) {
  .music-toggle { flex-basis: 40px; width: 40px; height: 44px; padding: 9px; }
  .music-toggle svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion:reduce) { .music-toggle { transition: none; } }
