/* Ojandmarc Designs And Tailoring — custom styles
   (anything Tailwind utilities can't express cleanly lives here) */

:root {
  --a11y-bottom: 80px; /* lift a11y FAB above the sticky mobile CTA */
}

/* ---------- Hero oversized outlined wordmark ---------- */
.hero-wordmark {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Iowan Old Style","Palatino Linotype","Palatino","Georgia",serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(31, 42, 68, 0.14);
  text-stroke: 1.5px rgba(31, 42, 68, 0.14);
  z-index: 0;
}

/* ---------- Faded section word (behind "How it works") ---------- */
.section-word {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: "Iowan Old Style","Palatino Linotype","Palatino","Georgia",serif;
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(31, 42, 68, 0.08);
  text-stroke: 1px rgba(31, 42, 68, 0.08);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Hero review sticker (rotated tag) ---------- */
.sticker {
  position: absolute;
  top: 0.5rem;
  right: -1rem;
  transform: rotate(-8deg);
  z-index: 5;
}
@media (min-width: 768px) {
  .sticker {
    top: -2.5rem;
    right: -2rem;
  }
}
@media (min-width: 1024px) {
  .sticker {
    right: -4rem;
  }
}
.sticker-inner {
  display: inline-block;
  background: #8A2B2B;
  color: #F4ECDD;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 10px 24px -12px rgba(31,42,68,0.4);
  border: 2px dashed rgba(244, 236, 221, 0.35);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
}
.marquee-track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  padding-left: 100%;
  align-items: center;
}
.marquee-track > .dot {
  color: #C9A24B;
  font-size: 0.6em;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 48s linear infinite;
    padding-left: 0;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
}

/* ---------- Hero SVG thread — subtle motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .thread {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: thread-draw 2.4s ease-out forwards;
  }
  @keyframes thread-draw {
    to { stroke-dashoffset: 0; }
  }
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: #1F2A44;
  border-top: 1px solid rgba(201, 162, 75, 0.3);
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.35);
}
.mobile-cta-btn {
  flex: 1;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.mobile-cta-primary {
  background: #C9A24B;
  color: #1F2A44;
}
.mobile-cta-primary:active { background: #B48A36; }
.mobile-cta-secondary {
  background: transparent;
  color: #F4ECDD;
  border-left: 1px solid rgba(244, 236, 221, 0.15);
}
.mobile-cta-secondary:active { background: rgba(244,236,221,0.08); }

/* hide sticky CTA at md+ since the header has a call button visible */
@media (min-width: 768px) {
  :root { --a11y-bottom: 24px; }
}

/* sr-only helper (Tailwind has this but ensure standalone) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
