/* ==========================================================================
   SHIVANSH TRENDZ — Creative Brand Marketing
   Custom layer over the Tailwind CDN build. Memphis / New Wave system:
   cream ground, coral + teal + grape, black outlines, scattered confetti
   shapes, slight rotations. Familjen Grotesk display, Sora body.
   ========================================================================== */

:root {
  --ease: cubic-bezier(0.34, 1.4, 0.5, 1);
  --coral: #FF6A4D;
  --ink: #16130F;
}

* { border-color: #16130F; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: "Familjen Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: #FF6A4D; color: #FBF5E8; }

/* Skip link ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #FF6A4D;
  color: #FBF5E8;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border: 2px solid #16130F;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Eyebrow ----------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}
.eyebrow--cream { color: #FBF5E8; }
.eyebrow--ink { color: #16130F; }

/* Highlight box behind a hero word */
.mark {
  display: inline-block;
  background: var(--coral);
  color: #FBF5E8;
  padding: 0 0.14em;
  border: 2px solid #16130F;
  transform: rotate(-1.6deg);
}

/* ==========================================================================
   Buttons — outlined, playful
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border: 2px solid #16130F;
  transition: transform 0.22s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.btn__arrow { transition: transform 0.2s var(--ease); }
.btn:hover { transform: rotate(-2deg) scale(1.03); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--ink { background: #16130F; color: #FBF5E8; }
.btn--ink:hover { background: var(--coral); }
.btn--coral { background: var(--coral); color: #FBF5E8; }
.btn--coral:hover { background: #E5502F; }
.btn--teal { background: #26BEB2; color: #16130F; }
.btn--cream { background: #FBF5E8; color: #16130F; }
.btn--line { background: transparent; color: #16130F; }
.btn--line:hover { background: #16130F; color: #FBF5E8; }

/* ==========================================================================
   Memphis confetti shapes
   ========================================================================== */

.mshape { display: block; background: currentColor; }
.mshape--circle   { border-radius: 999px; }
.mshape--half     { border-radius: 999px 999px 0 0; }
.mshape--triangle { clip-path: polygon(50% 0%, 100% 100%, 0% 100%); }
.mshape--plus {
  clip-path: polygon(36% 0, 64% 0, 64% 36%, 100% 36%, 100% 64%, 64% 64%,
    64% 100%, 36% 100%, 36% 64%, 0 64%, 0 36%, 36% 36%);
}
.mshape--star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%,
    21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.ring {
  border-radius: 999px;
  border: 3px solid currentColor;
  background: transparent;
}

.tilt-l { transform: rotate(-1.6deg); }
.tilt-r { transform: rotate(2deg); }

.rule { height: 2px; background: #16130F; }

/* Decorative confetti dot-trio */
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 999px; display: block; border: 2px solid #16130F; }

/* ==========================================================================
   Marquee
   ========================================================================== */

.marq { overflow: hidden; }
.marq-track {
  display: flex;
  width: max-content;
  animation: marq 26s linear infinite;
}
.marq:hover .marq-track { animation-play-state: paused; }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-pop {
  opacity: 0;
  transform: rotate(-10deg) scale(0.8);
  transition: opacity 0.55s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-pop.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   FAQ accordion — coral orb toggle
   ========================================================================== */

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq-item[data-state="open"] .faq-body { max-height: 24rem; }

.faq-orb {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 999px;
  background: #FF6A4D;
  border: 2px solid #16130F;
  transition: transform 0.4s var(--ease);
}
.faq-orb::before,
.faq-orb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #FBF5E8;
}
.faq-orb::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-orb::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[data-state="open"] .faq-orb { transform: rotate(135deg); }
.faq-item[data-state="open"] .faq-q { color: var(--coral); }

/* ==========================================================================
   Forms (grape section)
   ========================================================================== */

.field {
  width: 100%;
  background: rgba(251, 245, 232, 0.08);
  border: 2px solid rgba(251, 245, 232, 0.5);
  color: #FBF5E8;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field::placeholder { color: rgba(251, 245, 232, 0.45); }
.field:focus { border-color: #FF6A4D; background: rgba(251, 245, 232, 0.14); }
.field option { color: #16130F; }
select.field { appearance: none; }
.field-wrap { position: relative; }
.field-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #FF6A4D;
  border-bottom: 2px solid #FF6A4D;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #16130F;
  color: #FBF5E8;
  border: 2px solid #FF6A4D;
  font-size: 13px;
  font-weight: 500;
  padding: 15px 20px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.toast.is-shown { transform: none; opacity: 1; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-pop { opacity: 1; transform: none; transition: none; }
  .marq-track { animation: none; }
  .btn, .btn__arrow, .faq-orb { transition: none; }
  .btn:hover { transform: none; }
}
