/* Shared action surface for links and form submission. */
html:root body .site-cta:is(a, button) {
  --surface: rgb(48 43 41 / 78%);
  position: relative; overflow: hidden;
  --surface-hover: rgb(70 62 57 / 88%);
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 1.15rem; width: fit-content; max-width: 100%; min-height: 3rem;
  padding: .8rem 1.4rem; box-sizing: border-box;
  color: #fffaf6; background: var(--surface); border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 999px; box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font: 650 1rem/1.3 DM, sans-serif; text-decoration: none; text-transform: none;
  letter-spacing: normal; text-align: start;
}
html:root body :is(.scene, .company-scene, .service-panel, .company-story, .hero, .chapter) .site-cta {
  --surface: rgb(255 255 255 / 10%);
  --surface-hover: rgb(255 255 255 / 20%);
}
html:root body .site-cta.site-cta-red {
  --surface: rgb(155 23 38 / 84%);
  --surface-hover: rgb(166 31 45 / 92%);
}
html:root body .site-cta::after {
  content: ""; position: static; flex: none; width: 1.25rem; height: 1.25rem;
  background: currentColor; transform: none; animation: none;
  clip-path: polygon(0 46%,79% 46%,48% 15%,55% 8%,98% 50%,55% 92%,48% 85%,79% 55%,0 55%);
}
html:root body .site-cta:focus-visible { outline: 3px solid #ffbc9b; outline-offset: 3px; }
@media (hover: hover) {
  html:root body .site-cta:not(:disabled):hover {
    background-color: var(--surface-hover); border-color: rgb(255 255 255 / 40%);
    box-shadow: 0 12px 32px rgb(255 255 255 / 14%);
  }
}
@media (max-width: 700px), (pointer: coarse) and (hover: none) and (max-height: 540px) and (max-width: 1024px) {
  html:root body .site-header > .header-quote { display: none; }
  html:root body :is(.menu-quote,.hero-description .button-primary,.quote-action,.quote-page form button).site-cta { width: 100%; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html:root body .site-cta {
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
  }
  html:root body .site-cta:not(:disabled):hover { transform: scale(1.05); }
  /* The arrow uses ::after, so the travelling reflection uses its own layer. */
  html:root body .site-cta::before {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 20%), transparent);
    transform: translateX(-100%);
  }
  html:root body .site-cta:not(:disabled):hover::before { animation: cta-glint .7s ease both; }
  @keyframes cta-glint { to { transform: translateX(100%); } }
}