/* ===========================================================
   Muslimah Web Design — rebuild
   Palette drawn from the actual brand logo:
     --rose      #C64372  (brand magenta, from the wordmark)
     --plum      #5C1230  (deep accent / headline ink on dark)
     --ivory     #FBF5EF  (warm background)
     --ink       #23201F  (body text)
     --blush     #F4DCE4  (tint panels)
     --amber     #D9A441  (single warm highlight — quote marks, rules)
   =========================================================== */

:root{
  --rose: #c64372;
  --rose-deep: #9c3059;
  --plum: #4a0f28;
  --ivory: #fbf5ef;
  --ivory-soft: #f6ede4;
  --ink: #23201f;
  --ink-soft: #5a534f;
  --blush: #f4dce4;
  --amber: #d9a441;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --radius: 14px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1, h2, h3{
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--plum);
}
p{ line-height: 1.65; color: var(--ink-soft); margin: 0 0 1em; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}

/* subtle paper grain, keeps the warm palette from feeling flat */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------------- buttons ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn-primary{
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(198,67,114,.65);
}
.btn-primary:hover{ background: var(--rose-deep); transform: translateY(-1px); }
.btn-ghost{
  border-color: var(--plum);
  color: var(--plum);
  background: transparent;
}
.btn-ghost:hover{ background: var(--plum); color: #fff; }
.btn-text{
  padding: 13px 4px;
  color: var(--plum);
  font-weight: 600;
}
.btn-large{ padding: 16px 34px; font-size: 1.02rem; }

/* ---------------- header ---------------- */
.site-header{
  position: sticky; top: 0; z-index: 30;
  background: rgba(251,245,239,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74,15,40,.08);
}
.header-row{
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand{ display: flex; align-items: center; text-decoration: none; }
.brand-logo{ height: 40px; width: auto; }
.site-nav{
  display: flex; gap: 28px; margin-left: 12px;
  font-size: .95rem; font-weight: 500;
}
.site-nav a{ text-decoration: none; color: var(--ink); position: relative; }
.site-nav a::after{
  content: ""; position: absolute; left:0; right:0; bottom: -6px; height: 2px;
  background: var(--rose); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after{ transform: scaleX(1); }
.nav-cta{ margin-left: auto; }
.nav-toggle{
  display: none; margin-left: auto; background: none; border: none; cursor: pointer;
  width: 36px; height: 30px; flex-direction: column; justify-content: space-between; padding: 4px 0;
}
.nav-toggle span{ display:block; height: 2px; background: var(--plum); border-radius: 2px; }
.mobile-nav{
  display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px;
  background: var(--ivory);
}
.mobile-nav a{
  padding: 12px 0; text-decoration: none; color: var(--ink); font-weight: 500;
  border-bottom: 1px solid rgba(74,15,40,.08);
}
.mobile-nav .btn{ margin-top: 12px; justify-content: center; }
.mobile-nav.open{ display: flex; }

/* ---------------- hero ---------------- */
.hero{ position: relative; padding: 88px 0 110px; overflow: hidden; }
.hero::before{
  content:""; position:absolute; inset: -20% -10% auto -10%; height: 620px;
  background: radial-gradient(60% 60% at 70% 30%, var(--blush) 0%, transparent 70%);
  z-index: -1;
}
.hero-grid{
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.eyebrow{
  font-family: var(--sans); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; color: var(--rose); margin: 0 0 14px;
}
.eyebrow-center{ text-align: center; }
.eyebrow-on-dark{ color: var(--amber); }
.hero h1{
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  max-width: 15ch;
}
.hero-sub{ font-size: 1.08rem; max-width: 46ch; }
.hero-actions{ display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }

.hero-card-stage{
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-card{
  width: 100%; max-width: 380px;
  border-radius: 10px;
  box-shadow: 0 30px 60px -20px rgba(74,15,40,.45), 0 4px 16px rgba(74,15,40,.15);
  transform: rotate(-6deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.hero-card-stage:hover .hero-card{ transform: rotate(-1deg) translateY(-4px); }
.hero-card-caption{
  margin: 22px 0 0; font-family: var(--serif); font-style: italic; color: var(--plum);
  font-size: 1.05rem;
}

/* ---------------- about / founder ---------------- */
.about{ padding: 90px 0; background: var(--plum); color: var(--ivory); }
.about-grid{ display: grid; grid-template-columns: .55fr 1.45fr; gap: 48px; align-items: center; }
.about-mark{ display: flex; justify-content: center; }
.salaam{
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--amber); writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg);
  border-left: 2px solid rgba(217,164,65,.4); padding-left: 18px;
}
.about-copy .eyebrow{ color: var(--amber); }
.about-copy h2{ color: var(--ivory); font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 20ch; }
.about-copy p{ color: rgba(251,245,239,.82); max-width: 60ch; }
.about-copy em{ color: var(--amber); font-style: normal; font-weight: 600; }

/* ---------------- services ---------------- */
.services{ padding: 100px 0 90px; }
.section-title{ font-size: clamp(1.6rem, 2.8vw, 2.2rem); max-width: 22ch; }
.section-title-center{ margin-left: auto; margin-right: auto; text-align: center; }
.service-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px;
}
.service-card{
  background: #fff; border: 1px solid rgba(74,15,40,.08);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 30px -18px rgba(74,15,40,.25); }
.service-mark{
  font-family: var(--serif); font-size: 1rem; color: var(--rose); font-weight: 600;
  display: inline-block; margin-bottom: 12px;
}
.service-card h3{ font-size: 1.15rem; margin-bottom: 8px; }
.service-card p{ font-size: .95rem; margin: 0; }

.feature-tags{
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin: 48px 0 0; padding: 0;
}
.feature-tags li{
  font-size: .85rem; font-weight: 600; color: var(--rose-deep);
  background: var(--blush); border-radius: 999px; padding: 8px 18px;
}

/* ---------------- work ---------------- */
.work{ padding: 90px 0; background: var(--ivory-soft); }
.work-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 46px;
}
.work-card{
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(74,15,40,.08);
}
.work-image{ aspect-ratio: 800 / 520; overflow: hidden; }
.work-image img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .work-image img{ transform: scale(1.05); }
.work-card h3{ font-size: 1.1rem; margin: 20px 26px 6px; }
.work-card p{ font-size: .92rem; margin: 0 26px 24px; }

/* ---------------- reviews ---------------- */
.reviews{ padding: 90px 0 100px; }
.review-track{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px;
}
.review-card{
  margin: 0; background: #fff; border-radius: var(--radius);
  border-top: 3px solid var(--amber);
  padding: 30px 26px; box-shadow: 0 20px 40px -30px rgba(74,15,40,.4);
}
.review-card p{ color: var(--ink); font-family: var(--serif); font-size: 1.05rem; font-style: italic; margin-bottom: 18px; }
.review-card cite{ font-style: normal; font-weight: 700; font-size: .85rem; color: var(--rose-deep); }

/* ---------------- cta ---------------- */
.cta{
  padding: 100px 0; text-align: center; background: var(--plum); color: var(--ivory);
}
.cta h2{ color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 20ch; margin: 0 auto .4em; }
.cta-sub{ color: rgba(251,245,239,.8); max-width: 48ch; margin: 0 auto 34px; }
.cta-inner{ display: flex; flex-direction: column; align-items: center; }

/* ---------------- footer ---------------- */
.site-footer{ padding: 34px 0; background: var(--ink); }
.footer-row{ display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-logo{ height: 30px; width: auto; opacity: .9; }
.footer-row p{ margin: 0; color: rgba(251,245,239,.55); font-size: .85rem; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-card-stage{ order: -1; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-mark{ display: none; }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .work-grid{ grid-template-columns: 1fr; }
  .review-track{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .site-nav{ display: none; }
  .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
  .service-grid{ grid-template-columns: 1fr; }
}
