/* =========================================================
   THE MINKY COUTURE BLANKET — Custom Styles
   Signature motif: fabric "swatch tag" + running-stitch dividers
   ========================================================= */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-feature-settings: "ss01" 1;
}

/* -------------------- Skip link -------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #4B1E33;
  color: #F7EEE6;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 0.5rem 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* -------------------- Focus visibility -------------------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid #E8622C;
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------- Nav links -------------------- */
.navlink {
  color: #4B1E33;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.navlink:hover {
  background-color: rgba(75, 30, 51, 0.07);
}
.navlink.is-active {
  background-color: #4B1E33;
  color: #F7EEE6;
}

.mobile-navlink {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(75,30,51,0.08);
  color: #4B1E33;
}

/* -------------------- Shop button -------------------- */
.btn-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #E8622C;
  color: #FFFDF9;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(232, 98, 44, 0.55);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-shop:hover {
  background-color: #C94E1E;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(232, 98, 44, 0.6);
}
.btn-shop:active {
  transform: translateY(0);
}
.btn-shop-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* -------------------- Eyebrow labels -------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E8622C;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #D9A441;
  margin-right: 10px;
}
.eyebrow-light {
  color: #E8B67F;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.18;
  color: #4B1E33;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.35rem; }
}

/* -------------------- Swatch tag (signature element) -------------------- */
.swatch-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFDF9;
  border: 1.5px dashed #C97E8B;
  color: #4B1E33;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.9rem 0.4rem 1.6rem;
  border-radius: 999px;
}
.swatch-tag::before {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid #D9A441;
}
.swatch-tag-sm {
  font-size: 0.65rem;
  padding: 0.3rem 0.75rem 0.3rem 1.4rem;
}

.tag-rotate {
  transform: rotate(-4deg);
}
.tag-rotate-rev {
  transform: rotate(4deg);
}

/* -------------------- Hero texture -------------------- */
.hero-texture {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(201,126,139,0.16), transparent 40%),
    radial-gradient(circle at 88% 8%, rgba(217,164,65,0.18), transparent 38%),
    radial-gradient(circle at 75% 85%, rgba(75,30,51,0.08), transparent 45%);
}

/* -------------------- Stitch background pattern -------------------- */
.stitch-bg {
  background-image: repeating-linear-gradient(
    115deg,
    rgba(247,238,230,0.5) 0px,
    rgba(247,238,230,0.5) 2px,
    transparent 2px,
    transparent 14px
  );
}

/* -------------------- Cards -------------------- */
.stat-pill {
  background: #FFFDF9;
  border: 1px solid rgba(75,30,51,0.1);
  border-radius: 1.1rem;
  padding: 1.1rem 1.25rem;
}

.fabric-card {
  background: rgba(255,253,249,0.06);
  border: 1px solid rgba(255,253,249,0.14);
  border-radius: 1.25rem;
  padding: 1.4rem;
  color: #F7EEE6;
}

.reason-card {
  background: #FFFDF9;
  border: 1px solid rgba(75,30,51,0.08);
  border-radius: 1.4rem;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -16px rgba(75,30,51,0.28);
}

.collection-card {
  background: #FFFDF9;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(75,30,51,0.07);
  transition: transform 0.22s ease;
}
.collection-card:hover {
  transform: translateY(-3px);
}

.verdict-card {
  background: #FFFDF9;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px -18px rgba(43,27,34,0.22);
}
.verdict-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.verdict-icon-pro { background: rgba(217,164,65,0.18); color: #B9840F; }
.verdict-icon-con { background: rgba(201,126,139,0.22); color: #A24B5C; }

.care-block { }
.care-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(43,27,34,0.75);
  line-height: 1.5;
}
.care-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(217,164,65,0.2);
  color: #B9840F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* -------------------- Process steps (numbered, real sequence) -------------------- */
.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: 1.1rem;
  background: rgba(255,253,249,0.05);
  border: 1px solid rgba(255,253,249,0.1);
}
.process-num {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: #341326;
  background: #D9A441;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* -------------------- Size guide tabs -------------------- */
.size-tab {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(75,30,51,0.15);
  color: #4B1E33;
  background: transparent;
  transition: all 0.2s ease;
}
.size-tab:hover {
  border-color: #C97E8B;
}
.size-tab.is-active {
  background: #4B1E33;
  border-color: #4B1E33;
  color: #F7EEE6;
}

.size-figure {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  color: #4B1E33;
}

/* -------------------- Review carousel -------------------- */
.review-card {
  flex: 0 0 100%;
  background: rgba(255,253,249,0.06);
  border: 1px solid rgba(255,253,249,0.14);
  border-radius: 1.5rem;
  padding: 2rem;
}
@media (min-width: 640px) {
  .review-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (min-width: 1024px) {
  .review-card { flex: 0 0 calc(33.333% - 1rem); }
}

.stars {
  color: #D9A441;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #D9A441;
  color: #341326;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 0.75rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1.5px solid rgba(247,238,230,0.3);
  color: #F7EEE6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.carousel-btn:hover {
  background-color: rgba(247,238,230,0.12);
}

/* -------------------- FAQ accordion -------------------- */
.faq-item {
  background: #FFFDF9;
  border: 1px solid rgba(75,30,51,0.08);
  border-radius: 1.1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.1rem 1.4rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: #4B1E33;
}
.faq-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(232,98,44,0.12);
  color: #E8622C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease;
  margin-left: 1rem;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(232,98,44,0.9);
  color: #FFFDF9;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.4rem;
  color: rgba(43,27,34,0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}
.faq-item.is-open .faq-answer {
  padding: 0 1.4rem 1.3rem 1.4rem;
}

/* -------------------- Footer -------------------- */
.footer-link {
  color: rgba(247,238,230,0.55);
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #D9A441;
}

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #4B1E33;
  color: #F7EEE6;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(43,27,34,0.4);
  z-index: 40;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
}
.back-to-top.is-visible {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
}

/* -------------------- Mobile sticky shop bar -------------------- */
.mobile-shop-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(247,238,230,0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(75,30,51,0.1);
  z-index: 40;
}
@media (min-width: 640px) {
  .mobile-shop-bar { display: none; }
}

/* -------------------- Scroll reveal -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Utility: font-mono shortcut already via tailwind config -------------------- */
