/* ===========================================================
   Muslim Mom Collective — Design System
   Concept: a "quilt" of individual patches stitched into one
   collective piece — moms, each distinct, joined together.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600&family=Yellowtail&family=Karla:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  /* --- palette: blush, dusty rose, and olive — pulled from the event flyers --- */
  --cream:        #FBF1E8;
  --cream-deep:   #F6E3D6;
  --paper:        #FFFCF8;
  --ink:          #3A2E27;
  --ink-soft:     #6B5C51;
  --plum:         #445032;   /* deep olive green — flyer's "dark" accent */
  --plum-deep:    #2E3A21;
  --rose:         #C2607A;   /* dusty rose/mauve pink — flyer's script + CTA color */
  --rose-deep:    #A34762;
  --rose-pale:    #F3D3D9;
  --sage:         #8C9A72;
  --sage-pale:    #E7EBDA;
  --gold:         #C9A227;
  --gold-pale:    #F3E4B8;

  --radius-s: 6px;
  --radius-m: 16px;
  --radius-l: 30px;

  --shadow-1: 0 2px 14px rgba(58, 46, 39, 0.08);
  --shadow-2: 0 14px 40px rgba(58, 46, 39, 0.14);

  --max: 1160px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Yellowtail', cursive;
  --font-body: 'Karla', 'Segoe UI', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--plum);
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.1; }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.35rem); line-height: 1.2; font-weight: 700; }
h3{ font-size: 1.3rem; font-weight: 700; }

/* script accent — used inline on key words, like the flyer headlines */
.script{
  font-family: var(--font-script);
  color: var(--rose);
  font-weight: 400;
  letter-spacing: 0.01em;
}
p{ margin: 0 0 1em; }
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--rose-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 14px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14'%3E%3Cpath d='M8 13.2C3 9.6 0.6 6.9 0.6 4.3 0.6 2.2 2.3 0.7 4.3 0.7 5.8 0.7 7.1 1.6 8 2.9 8.9 1.6 10.2 0.7 11.7 0.7 13.7 0.7 15.4 2.2 15.4 4.3 15.4 6.9 13 9.6 8 13.2Z' fill='%23C2607A'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
.eyebrow::after{
  content: "";
  width: 22px; height: 1.5px;
  background: var(--rose-pale);
}

/* ---------- stitch divider (signature motif) ---------- */
.stitch{
  border: none;
  height: 20px;
  margin: 0;
  position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14'%3E%3Cpath d='M8 13.2C3 9.6 0.6 6.9 0.6 4.3 0.6 2.2 2.3 0.7 4.3 0.7 5.8 0.7 7.1 1.6 8 2.9 8.9 1.6 10.2 0.7 11.7 0.7 13.7 0.7 15.4 2.2 15.4 4.3 15.4 6.9 13 9.6 8 13.2Z' fill='%23C2607A'/%3E%3C/svg%3E"),
    repeating-linear-gradient(to right, var(--rose-pale) 0 6px, transparent 6px 12px);
  background-repeat: no-repeat, repeat-x;
  background-position: center, center;
  background-size: 13px 11px, 12px 1.5px;
  opacity: 0.85;
}
.section-divider{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- quilt swatch (signature graphic unit) ---------- */
.quilt-dot{
  width: 34px; height: 34px;
  border-radius: 8px;
  flex: none;
}

/* ---------- icon badges (feminine circle icons, matching flyer style) ---------- */
.icon-badge{
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-bottom: 16px;
}
.icon-badge svg{ width: 22px; height: 22px; }
.badge-rose{ background: var(--rose); }
.badge-olive{ background: var(--plum); }
.badge-gold{ background: var(--gold); }

/* ---------- floral corner accent ---------- */
.floral-corner{
  position: absolute;
  width: 130px; height: 130px;
  pointer-events: none;
  opacity: 0.9;
}
.floral-corner.top-right{ top: 0; right: 28px; }
.floral-corner.bottom-left{ bottom: 0; left: 28px; transform: scaleX(-1); }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(68, 80, 50, 0.1);
}
.nav-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--plum);
  white-space: nowrap;
}
.brand-mark{
  width: 30px; height: 30px;
  flex: none;
}
.badge-heart{
  background: var(--rose);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.badge-heart svg{ width: 55%; height: 55%; }
.nav-links{
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
}
.nav-links a{
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active{ color: var(--rose-deep); }
.nav-links a.active::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
}
.has-drop{ position: relative; }
.drop-toggle{
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--ink-soft);
  padding: 4px 0;
}
.drop-toggle:hover, .drop-toggle[aria-expanded="true"]{ color: var(--rose-deep); }
.drop-toggle svg{ width: 10px; transition: transform .2s ease; }
.drop-toggle[aria-expanded="true"] svg{ transform: rotate(180deg); }
.dropdown{
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  padding: 10px;
  min-width: 190px;
  display: none;
  flex-direction: column;
}
.dropdown.open{ display: flex; }
.dropdown a{
  padding: 10px 14px;
  border-radius: var(--radius-s);
  font-weight: 600;
  color: var(--ink);
}
.dropdown a:hover{ background: var(--cream-deep); color: var(--rose-deep); }
.nav-login{
  color: var(--rose-deep) !important;
  font-weight: 700;
  border: 1.5px solid var(--rose-pale);
  padding: 9px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.nav-login:hover{ background: var(--rose-pale); }
.nav-login.active{ background: var(--rose-pale); }
.nav-cta{
  background: var(--rose);
  color: var(--paper) !important;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 700 !important;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(194, 96, 122, 0.28);
}
.nav-cta:hover{ background: var(--rose-deep); }
.menu-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span{
  display: block;
  width: 24px; height: 2px;
  background: var(--plum);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 900px){
  .menu-toggle{ display: block; }
  .nav-links{
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 28px;
    gap: 6px;
    display: none;
    overflow-y: auto;
    font-size: 1.1rem;
  }
  .nav-links.open{ display: flex; }
  .nav-links a, .drop-toggle{ width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(68,80,50,0.08); }
  .has-drop{ width: 100%; }
  .dropdown{
    position: static;
    transform: none;
    box-shadow: none;
    background: var(--cream-deep);
    width: 100%;
    margin-top: 4px;
  }
  .nav-login{ text-align: center; margin-top: 6px; }
  .nav-cta{ margin-top: 10px; text-align: center; }
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--rose);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(194, 96, 122, 0.3);
}
.btn-primary:hover{ background: var(--rose-deep); }
.btn-outline{
  background: transparent;
  border-color: var(--plum);
  color: var(--plum);
}
.btn-outline:hover{ background: var(--plum); color: var(--paper); }
.btn-light{
  background: var(--paper);
  color: var(--plum);
}
.btn-light:hover{ background: var(--gold-pale); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow{ margin-bottom: 22px; }
.hero-copy h1{ margin-bottom: 20px; }
.hero-copy .lede{
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

/* quilt block graphic used in hero */
.quilt-block{ width: 100%; max-width: 420px; margin-left: auto; }

.page-hero{
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(68,80,50,0.12);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow{ margin-bottom: 18px; }
.page-hero .lede{
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- sections ---------- */
section{ padding: 76px 0; }
.section-tight{ padding: 56px 0; }
.bg-paper{ background: var(--paper); }
.bg-plum{ background: var(--plum); color: var(--rose-pale); }
.bg-plum h2, .bg-plum h3{ color: var(--paper); }
.bg-plum .eyebrow{ color: var(--gold-pale); }
.bg-plum .eyebrow::before{ filter: brightness(1.6); }
.bg-cream-deep{ background: var(--cream-deep); }

.section-head{ max-width: 720px; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- offer / feature grid ---------- */
.patch-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.patch{
  background: var(--paper);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  border: 1.5px dashed rgba(68, 80, 50, 0.25);
  position: relative;
}
.patch .quilt-dot{ margin-bottom: 16px; }
.patch h3{ font-size: 1.08rem; margin-bottom: 8px; }
.patch p{ color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

.list-check{ display: flex; flex-direction: column; gap: 14px; }
.list-check li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
}
.list-check .mark{
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sage-pale);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.list-check .mark svg{ width: 13px; }

/* pill tags for "events like" / topics */
.tag-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag{
  background: var(--paper);
  border: 1.5px solid rgba(68,80,50,0.14);
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tag .dot{ width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* ---------- two-col ---------- */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.two-col.reverse{ direction: rtl; }
.two-col.reverse > *{ direction: ltr; }

/* ---------- cards (connect / contact / membership) ---------- */
.card-row{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.connect-card{
  background: var(--paper);
  border-radius: var(--radius-l);
  padding: 38px;
  box-shadow: var(--shadow-1);
  border-top: 6px solid var(--rose);
}
.connect-card:nth-child(2){ border-top-color: var(--sage); }
.connect-card h3{ display: flex; align-items: center; gap: 12px; }
.connect-card .icon{ width: 26px; height: 26px; flex: none; }
.connect-card p{ color: var(--ink-soft); }

.info-block{
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(68,80,50,0.1);
}
.info-block:last-child{ border-bottom: none; }
.info-block .icon-wrap{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.info-block .icon-wrap svg{ width: 20px; height: 20px; }
.info-block h3{ margin-bottom: 4px; font-size: 1.05rem; }
.info-block a.value{ font-weight: 700; color: var(--rose-deep); }

/* ---------- event flyer cards (click flyer to register on Partiful) ---------- */
.event-flyer-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.event-flyer-card{
  background: var(--paper);
  border-radius: var(--radius-l);
  padding: 16px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.event-flyer-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.event-flyer-card .flyer-link{
  display: block;
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
}
.event-flyer-card .flyer-link img{
  width: 100%;
  display: block;
  border-radius: var(--radius-m);
}
.event-flyer-card .flyer-link::after{
  content: "Tap to Register →";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(58,46,39,0.78), transparent);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.9rem;
}
.event-flyer-card:hover .flyer-link::after{ background: linear-gradient(to top, rgba(162,71,98,0.85), transparent); }
.event-flyer-card .flyer-meta{
  padding: 18px 10px 6px;
}
.event-flyer-card .flyer-meta h3{ font-size: 1.15rem; margin-bottom: 6px; }
.event-flyer-card .flyer-meta p{
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------- pricing cards (membership tiers) ---------- */
.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.pricing-card{
  background: var(--paper);
  border-radius: var(--radius-l);
  padding: 40px 36px;
  box-shadow: var(--shadow-1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured{
  border-color: var(--rose);
  box-shadow: var(--shadow-2);
  position: relative;
}
.pricing-card.featured::before{
  content: "Most Popular";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
}
.pricing-card h3{ font-size: 1.4rem; margin-bottom: 6px; }
.pricing-card .price{
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 4px;
}
.pricing-card .price span{
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.pricing-card .tagline{ color: var(--ink-soft); margin-bottom: 22px; }
.pricing-card ul{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex: 1;
}
.pricing-card ul li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
}
.pricing-card ul li svg{ width: 15px; flex: none; margin-top: 4px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--plum);
  border-radius: var(--radius-l);
  padding: 56px;
  text-align: center;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-banner h2{ color: var(--paper); margin-bottom: 14px; }
.cta-banner p{ color: var(--rose-pale); max-width: 52ch; margin: 0 auto 28px; }
.cta-banner .hero-actions{ justify-content: center; }
.cta-banner .quilt-strip{
  position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
}

.past-photo{
  border-radius: var(--radius-m);
  overflow: hidden;
}
.past-photo img{
  width: 100%;
  display: block;
  border-radius: var(--radius-m);
}

/* ---------- gallery (past events) ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}
.gallery-grid .g-item{
  border-radius: var(--radius-m);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-align: center;
  padding: 14px;
}
.gallery-grid .g-item.tall{ grid-row: span 2; }

/* ---------- blog cards ---------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.blog-card{
  background: var(--paper);
  border-radius: var(--radius-m);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.blog-card .cat{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
  display: block;
}
.blog-card h3{ font-size: 1.12rem; }

/* ---------- form ---------- */
.form-card{
  background: var(--paper);
  border-radius: var(--radius-l);
  padding: 44px;
  box-shadow: var(--shadow-1);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label{ font-weight: 700; font-size: 0.92rem; color: var(--plum); }
.field input, .field select, .field textarea{
  font: inherit;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid rgba(68, 80, 50, 0.2);
  background: var(--cream);
  color: var(--ink);
}
.field textarea{ min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--rose);
  background: var(--paper);
}
.checkbox-group{ display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill{
  border: 1.5px solid rgba(68,80,50,0.2);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.check-pill input{ accent-color: var(--rose); }

/* ---------- footer ---------- */
.site-footer{
  background: var(--plum-deep);
  color: var(--rose-pale);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand{
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.footer-grid p{ color: rgba(243, 211, 217, 0.75); font-size: 0.95rem; }
.footer-col h4{
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a{
  display: block;
  padding: 7px 0;
  color: rgba(243, 211, 217, 0.85);
  font-size: 0.96rem;
}
.footer-col a:hover{ color: var(--gold-pale); }
.footer-bottom{
  border-top: 1px solid rgba(243,211,217,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(243,211,217,0.55);
}

/* ---------- misc utility ---------- */
.center-text{ text-align: center; }
.mt-lg{ margin-top: 48px; }
.mb-0{ margin-bottom: 0; }
.badge-soon{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  color: var(--rose-deep);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- quilt block hero graphic ---------- */
.quilt-block-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  background: var(--cream-deep);
  padding: 14px;
  border-radius: 26px;
  box-shadow: var(--shadow-2);
  transform: rotate(2deg);
}
.quilt-block-grid .cell{
  aspect-ratio: 1;
  border-radius: 6px;
}
.quilt-block-grid .cell.spin{ transform: rotate(180deg); }

/* ---------- quilt patch patterns (signature icon system) ----------
   Each classic quilt-block pattern rendered in CSS, standing in for
   an icon. Colors rotate through the thread palette. ---------- */
.qp-pinwheel{ background: conic-gradient(var(--rose) 0deg 90deg, var(--gold) 90deg 180deg, var(--sage) 180deg 270deg, var(--plum) 270deg 360deg); }
.qp-hst{ background: linear-gradient(135deg, var(--sage) 0 50%, var(--gold-pale) 50% 100%); }
.qp-ninepatch{
  background-image:
    linear-gradient(var(--rose) 0 0), linear-gradient(var(--rose) 0 0),
    linear-gradient(var(--rose) 0 0);
  background-color: var(--gold-pale);
  background-size: 33.4% 100%, 33.4% 100%, 33.4% 100%;
  background-position: 0 0, 50% 0, 100% 0;
  background-repeat: no-repeat;
}
.qp-diamond{ background: var(--gold-pale); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.qp-square{ background: var(--rose-pale); }
.qp-plus{
  background-color: var(--sage-pale);
  background-image: linear-gradient(var(--plum) 0 0), linear-gradient(var(--plum) 0 0);
  background-size: 34% 100%, 100% 34%;
  background-position: center, center;
  background-repeat: no-repeat;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .quilt-block{ max-width: 320px; margin: 0 auto; }
  .patch-grid{ grid-template-columns: repeat(2, 1fr); }
  .two-col{ grid-template-columns: 1fr; gap: 36px; }
  .card-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .form-row{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .patch-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .cta-banner{ padding: 40px 24px; }
  .form-card{ padding: 28px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
}
