/* SGI Bespoke Tailoring — custom styles for things Tailwind can't cleanly express */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Keep the a11y FAB above the sticky mobile CTA bar (sticky bar is ~64px tall). */
:root { --a11y-bottom: 88px; }
@media (min-width: 768px) { :root { --a11y-bottom: 24px; } }

/* Marquee strip — slow continuous scroll, pauses under reduced motion */
.marquee { position: relative; }
.marquee-track {
  display: inline-block;
  padding-left: 100%;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 38s linear infinite;
  }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Hero SVG — very slow, optional breathing motion */
.hero-svg { transform-origin: 60% 60%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-svg {
    animation: hero-breathe 18s ease-in-out infinite alternate;
  }
}
@keyframes hero-breathe {
  from { transform: translateY(0) scale(1);     opacity: 0.85; }
  to   { transform: translateY(-6px) scale(1.01); opacity: 1; }
}

/* Sticky mobile CTA bar */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #111111;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 22px rgba(0,0,0,.18);
}
.sticky-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  min-height: 56px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease;
}
.sticky-cta .cta-primary {
  background: #B08A5B;
  color: #111111;
}
.sticky-cta .cta-primary:hover,
.sticky-cta .cta-primary:focus-visible {
  background: #C9A876;
}
.sticky-cta .cta-secondary {
  background: #111111;
  color: #F5F2EC;
}
.sticky-cta .cta-secondary:hover,
.sticky-cta .cta-secondary:focus-visible {
  background: #1c1c1c;
  color: #C9A876;
}

/* Ensure body content is never hidden behind sticky mobile CTA */
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
}
