/* ==========================================================================
   Miswak Al Salam — Brand Styles
   Brand-locked theme extracted from logo + packaging assets
   ========================================================================== */

:root {
  /* Brand colors — locked from logo and packaging */
  --gold:        #D4AF37;
  --gold-dark:   #A8862C;
  --gold-light:  #E8C766;
  --gold-soft:   #F5E6BD;
  --green:       #0F3D24;
  --green-mid:   #1B5E3F;
  --green-light: #2E7D5A;
  --bg:          #FAFAF7;
  --bg-soft:     #F4F1EA;
  --text:        #1A1A1A;
  --text-muted:  #6B6B6B;
  --border:      rgba(212, 175, 55, 0.18);
  --shadow-sm:   0 1px 2px rgba(15, 61, 36, 0.06), 0 1px 3px rgba(15, 61, 36, 0.04);
  --shadow-md:   0 4px 12px rgba(15, 61, 36, 0.08), 0 2px 4px rgba(15, 61, 36, 0.04);
  --shadow-lg:   0 16px 40px rgba(15, 61, 36, 0.12), 0 6px 12px rgba(15, 61, 36, 0.06);
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.28);

  /* Fonts — locked from packaging */
  --font-body-ar:    "Tajawal", "Segoe UI", system-ui, sans-serif;
  --font-display-ar: "Reem Kufi", "Amiri", serif;
  --font-body-en:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display-en: "Playfair Display", Georgia, serif;

  /* Active by default — Arabic + RTL */
  --font-body:    var(--font-body-ar);
  --font-display: var(--font-display-ar);
}

html[lang="en"] {
  --font-body:    var(--font-body-en);
  --font-display: var(--font-display-en);
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); }

/* RTL/LTR body direction handled by html[dir] in JS */

::selection { background: var(--gold); color: var(--green); }

/* ==========================================================================
   NAV
   ========================================================================== */
#nav.scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  position: relative;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.25s;
}
.nav-link:hover { color: var(--gold-dark); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-link-mobile {
  display: block;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  transition: color 0.25s, padding 0.25s;
}
.nav-link-mobile:hover { color: var(--gold-dark); padding-inline-start: 1rem; }

/* Lang toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.lang-opt {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: all 0.25s;
  cursor: pointer;
}
.lang-opt.active {
  background: var(--gold);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* WhatsApp buttons */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.wa-btn:hover {
  background: #1FB857;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42);
}
.wa-btn:active { transform: translateY(0); }
.wa-btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
.wa-btn-md { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.wa-btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }

.wa-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fab-pulse 2.4s infinite;
}
.wa-fab:hover { transform: scale(1.1); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50%      { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-weight: 600;
  background: transparent;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  position: relative;
  padding-inline-start: 36px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 1px;
  background: var(--gold);
}

html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}
.section-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-pattern {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23D4AF37' stroke-width='1.2' opacity='0.85'><path d='M40 0 L80 40 L40 80 L0 40 Z'/><path d='M40 14 L66 40 L40 66 L14 40 Z'/><path d='M40 28 L52 40 L40 52 L28 40 Z'/></g></svg>");
  background-size: 80px 80px;
}
.hero-glow {
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(212, 175, 55, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(15, 61, 36, 0.10), transparent 60%);
}

.hero-product {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1 / 1;
}
.hero-arch {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center top, var(--gold-soft), var(--gold-light) 60%, var(--gold) 100%);
  clip-path: polygon(0 40%, 0 100%, 100% 100%, 100% 40%, 50% 0);
  box-shadow: var(--shadow-gold);
  animation: float-arch 6s ease-in-out infinite;
}
@keyframes float-arch {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-arch-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g fill='none' stroke='%23ffffff' stroke-width='0.8' opacity='0.5'><circle cx='20' cy='20' r='12'/><circle cx='20' cy='20' r='8'/><path d='M20 8 L32 20 L20 32 L8 20 Z'/></g></svg>");
  background-size: 40px 40px;
  opacity: 0.35;
}
.hero-product-img {
  position: absolute;
  inset: 12% 12% 0 12%;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(15, 61, 36, 0.25));
  animation: float-product 5s ease-in-out infinite;
}
@keyframes float-product {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

.hero-product-float {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 60%, rgba(212, 175, 55, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.stat-label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue-dot {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(10px); opacity: 0.3; }
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.trust-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-dark);
}
.trust-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   HADITH CARDS
   ========================================================================== */
.hadith-card {
  position: relative;
  background: linear-gradient(135deg, var(--bg-soft), white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.hadith-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hadith-card-alt {
  background: linear-gradient(135deg, white, var(--gold-soft));
}
.hadith-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23D4AF37' stroke-width='0.8' opacity='0.25'><circle cx='30' cy='30' r='20'/><circle cx='30' cy='30' r='12'/><path d='M30 6 L54 30 L30 54 L6 30 Z'/></g></svg>");
  background-size: 60px 60px;
  opacity: 0.6;
}
.hadith-quote {
  width: 36px;
  height: 36px;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.75rem;
}
.hadith-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}
.hadith-source {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   SCIENCE CARDS
   ========================================================================== */
.science-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.science-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.4s;
}
.science-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.science-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  transition: all 0.4s;
}
.science-icon-wrap svg { width: 28px; height: 28px; }
.science-card:hover .science-icon-wrap {
  background: white;
  transform: rotate(8deg) scale(1.1);
}
.science-stat {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.science-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.science-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   BENEFIT CARDS
   ========================================================================== */
.benefit-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.benefit-card:hover::after { opacity: 1; }
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card:hover .benefit-icon { transform: rotate(-10deg) scale(1.08); }
.benefit-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   STEPS
   ========================================================================== */
.step-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--border);
  transition: all 0.4s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.step-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin: 0.5rem auto 1.25rem;
}
.step-icon svg { width: 30px; height: 30px; }
.step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.product-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all 0.4s;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.product-card-featured {
  background: linear-gradient(180deg, var(--gold-soft), white);
  border-color: var(--gold);
  transform: scale(1.02);
}
.product-card-featured:hover { transform: scale(1.02) translateY(-6px); }
.product-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--green);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 2;
}
.product-badge-gold { background: var(--gold); }
.product-image-wrap {
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card:hover .product-image { transform: scale(1.06); }
.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  min-height: 3em;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ==========================================================================
   STORY
   ========================================================================== */
.story-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--gold-soft), white);
  aspect-ratio: 4 / 3;
}
.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.story-image-wrap:hover .story-image { transform: scale(1.04); }
.story-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.5rem 0;
}
.story-feature svg {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all 0.4s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.testimonial blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-loc { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after  { width: 2px; height: 14px; transition: transform 0.3s; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CTA CARD
   ========================================================================== */
.cta-card {
  position: relative;
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: white;
  border-radius: 24px;
  padding: 3rem 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 61, 36, 0.3);
}
.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23D4AF37' stroke-width='1.2' opacity='0.5'><path d='M40 0 L80 40 L40 80 L0 40 Z'/><path d='M40 14 L66 40 L40 66 L14 40 Z'/></g></svg>");
  background-size: 80px 80px;
  opacity: 0.18;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.cta-lead {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-pattern {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23D4AF37' stroke-width='1.2' opacity='0.9'><path d='M40 0 L80 40 L40 80 L0 40 Z'/><path d='M40 14 L66 40 L40 66 L14 40 Z'/><path d='M40 28 L52 40 L40 52 L28 40 Z'/></g></svg>");
  background-size: 80px 80px;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.footer-link {
  display: inline-block;
  padding: 0.25rem 0;
  transition: color 0.25s, padding-inline-start 0.25s;
}
.footer-link:hover {
  color: var(--gold);
  padding-inline-start: 6px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social:hover {
  background: var(--gold);
  color: var(--green);
  transform: translateY(-2px);
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-reveal="up"]    { transform: translateY(36px); }
.reveal[data-reveal="down"]  { transform: translateY(-36px); }
.reveal[data-reveal="left"]  { transform: translateX(36px); }
.reveal[data-reveal="right"] { transform: translateX(-36px); }
.reveal[data-reveal="fade"]  { transform: scale(0.96); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   RTL ADJUSTMENTS
   ========================================================================== */
html[dir="rtl"] .hero-product-img { transform: scaleX(-1) rotate(0); }
html[dir="rtl"] .product-image { transform: scaleX(-1); }
html[dir="rtl"] .product-card:hover .product-image,
html[dir="rtl"] .product-card-featured:hover .product-image {
  transform: scaleX(-1) scale(1.06);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 640px) {
  .wa-fab { bottom: 16px; inset-inline-end: 16px; width: 50px; height: 50px; }
}

/* ==========================================================================
   SUNNAH SECTION — Manuscript Folio (Plan F)
   ========================================================================== */
.sunnah-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #F4ECD8 50%, var(--bg) 100%);
}
.sunnah-dome {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--green);
  opacity: 0.08;
  z-index: 0;
  will-change: transform;
}
.sunnah-dome svg {
  width: 130%;
  max-width: 1100px;
  height: auto;
  filter: drop-shadow(0 0 80px rgba(15, 61, 36, 0.2));
}
.manuscript {
  position: relative;
  background: linear-gradient(180deg, #FAF6EC 0%, #F4ECD8 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 4px;
  padding: 3rem 2rem;
  box-shadow:
    0 30px 80px rgba(15, 61, 36, 0.18),
    inset 0 0 100px rgba(15, 61, 36, 0.04);
  z-index: 2;
}
.manuscript::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.3  0 0 0 0 0.2  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.05;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.manuscript::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  pointer-events: none;
  border-radius: 2px;
  z-index: 0;
}
.manuscript-corner {
  position: absolute;
  width: 42px;
  height: 42px;
  color: var(--gold);
  pointer-events: none;
  z-index: 3;
}
.manuscript-corner svg {
  width: 100%;
  height: 100%;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: corner-draw 1.5s ease-out forwards;
}
.manuscript-corner-tl { top: 14px; left: 14px; }
.manuscript-corner-tr { top: 14px; right: 14px; transform: scaleX(-1); }
.manuscript-corner-bl { bottom: 14px; left: 14px; transform: scaleY(-1); }
.manuscript-corner-br { bottom: 14px; right: 14px; transform: scale(-1, -1); }
@keyframes corner-draw { to { stroke-dashoffset: 0; } }

.manuscript-medallion {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  z-index: 5;
  color: var(--gold);
}
.manuscript-medallion svg {
  width: 100%;
  height: 100%;
  animation: medallion-rotate 60s linear infinite;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}
@keyframes medallion-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.manuscript-pages {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  z-index: 2;
}
.manuscript-pages::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.65) 15%,
    rgba(212, 175, 55, 0.65) 85%,
    transparent 100%);
  transform: translateX(-50%);
  z-index: 2;
}
.manuscript-pages::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  margin-left: -2px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(15, 61, 36, 0.08) 15%,
    rgba(15, 61, 36, 0.08) 85%,
    transparent 100%);
  transform: translateX(-50%);
  z-index: 1;
}
.manuscript-page {
  position: relative;
  padding: 1.5rem 1rem;
  text-align: center;
}
.manuscript-page:first-child { padding-inline-end: 1.75rem; }
.manuscript-page:last-child { padding-inline-start: 1.75rem; }

.manuscript-seal {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  position: relative;
  color: var(--gold-dark);
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.25));
  animation: seal-glow 3.5s ease-in-out infinite alternate;
}
.manuscript-page:last-child .manuscript-seal { animation-delay: 1.75s; }
.manuscript-seal svg { width: 100%; height: 100%; }
@keyframes seal-glow {
  from { filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.2)); }
  to   { filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.5)); }
}

.manuscript .hadith-text {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.manuscript .hadith-source {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

@media (max-width: 768px) {
  .manuscript { padding: 2.25rem 1rem; }
  .manuscript-pages {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .manuscript-pages::before,
  .manuscript-pages::after {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    margin: 0;
    transform: translateY(-50%);
  }
  .manuscript-pages::after { height: 5px; margin-top: -2px; }
  .manuscript-page:first-child,
  .manuscript-page:last-child { padding: 1rem 0.5rem; }
  .manuscript-seal { width: 44px; height: 44px; margin-bottom: 0.85rem; }
  .manuscript-medallion { width: 54px; height: 54px; top: -28px; }
  .sunnah-dome svg { width: 200%; }
}

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
.hero-carousel {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--green);
}
.hc-slides { position: relative; width: 100%; height: 100%; }
.hc-slide {
  position: absolute;
  inset: 0;
  min-height: 100svh;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hc-slide.is-active { opacity: 1; pointer-events: auto; }
.hc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s ease-out;
  background: transparent;
  z-index: 0;
}
.hc-slide.is-active .hc-bg { transform: scale(1.10); }
/* Fallback solid color shows if image fails */
.hc-slide-premium .hc-bg-fallback,
.hc-slide-sunnah .hc-bg-fallback,
.hc-slide-origin .hc-bg-fallback { display: none; }
.hc-bg-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,61,36,0.55) 0%, rgba(15,61,36,0.65) 50%, rgba(15,61,36,0.85) 100%);
}
.hc-slide[data-slide="0"] .hc-overlay {
  background: linear-gradient(90deg, rgba(15,61,36,0.75) 0%, rgba(15,61,36,0.35) 50%, rgba(15,61,36,0.6) 100%);
}
.hc-slide[data-slide="1"] .hc-overlay {
  background: linear-gradient(270deg, rgba(15,61,36,0.7) 0%, rgba(15,61,36,0.3) 50%, rgba(15,61,36,0.6) 100%);
}
.hc-slide[data-slide="2"] .hc-overlay {
  background: linear-gradient(180deg, rgba(15,61,36,0.35) 0%, rgba(15,61,36,0.75) 100%);
}
.hc-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hc-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 11rem;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
}
.hc-content-left { align-items: flex-start; text-align: start; }
.hc-content-right { align-items: flex-end; text-align: end; }
.hc-content-center { align-items: center; text-align: center; }
.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.5);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
html[lang="ar"] .hc-eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.hc-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: white;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.hc-content-center .hc-headline { max-width: 24ch; }
.hc-content-right .hc-headline { margin-inline-start: auto; }
.hc-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 52ch;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hc-content-center .hc-sub,
.hc-content-right .hc-sub { margin-inline-start: auto; margin-inline-end: auto; }
.hc-content-right .hc-sub { margin-inline-start: auto; margin-inline-end: 0; }
.hc-content-left .hc-sub { margin-inline-end: auto; }
.hc-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hc-content-center .hc-ctas,
.hc-content-right .hc-ctas { justify-content: inherit; }
.hc-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.hc-ghost:hover {
  background: white;
  color: var(--green);
  transform: translateY(-2px);
  border-color: white;
}
.hc-line {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
/* Slide 1: tight stagger (word-by-word feel) */
.hc-slide[data-anim="words"].hc-animate .hc-eyebrow { transition-delay: 0ms; }
.hc-slide[data-anim="words"].hc-animate .hc-headline { transition-delay: 80ms; }
.hc-slide[data-anim="words"].hc-animate .hc-sub { transition-delay: 260ms; }
.hc-slide[data-anim="words"].hc-animate .hc-ctas { transition-delay: 420ms; }
/* Slide 2: longer line-by-line stagger */
.hc-slide[data-anim="lines"].hc-animate .hc-eyebrow { transition-delay: 0ms; }
.hc-slide[data-anim="lines"].hc-animate .hc-headline { transition-delay: 180ms; }
.hc-slide[data-anim="lines"].hc-animate .hc-sub { transition-delay: 360ms; }
.hc-slide[data-anim="lines"].hc-animate .hc-ctas { transition-delay: 540ms; }
/* Slide 3: single fade with slow scale */
.hc-slide[data-anim="scale"].hc-animate .hc-content {
  animation: hc-scale-in 1.2s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hc-slide[data-anim="scale"].hc-animate .hc-line { transform: translateY(0) scale(1); }
@keyframes hc-scale-in {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}
/* Reveal line when active + animation class */
.hc-slide.is-active.hc-animate .hc-line { opacity: 1; transform: translateY(0); }

/* Controls */
.hc-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hc-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}
.hc-nav:hover {
  background: var(--gold);
  color: var(--green);
  border-color: var(--gold);
  transform: scale(1.06);
}
.hc-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.hc-nav svg { width: 20px; height: 20px; }
.hc-thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.hc-thumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.8rem 0.4rem 0.4rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
}
html[dir="rtl"] .hc-thumb { padding: 0.4rem 0.4rem 0.4rem 0.8rem; }
.hc-thumb:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.hc-thumb.is-active {
  background: rgba(212,175,55,0.18);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(212,175,55,0.25);
}
.hc-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hc-thumb-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25);
}
.hc-thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-thumb-label { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.1; }
html[dir="rtl"] .hc-thumb-label { align-items: flex-end; }
.hc-thumb-num {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.hc-thumb-text { font-size: 0.82rem; color: white; font-weight: 700; }
.hc-counter {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: white;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0 0.4rem;
  user-select: none;
}
.hc-counter-current { font-size: 1.2rem; font-weight: 700; color: var(--gold-light); }
.hc-counter-sep { color: rgba(255,255,255,0.5); margin: 0 0.1rem; }
.hc-counter-total { color: rgba(255,255,255,0.7); }
.hc-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 30;
}
.hc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 10px rgba(212,175,55,0.5);
  transition: width 6s linear;
}

/* ==========================================================================
   PER-SLIDE VISUAL LOGIC
   Slide 1: gradient overlay + gold-accented text on the RIGHT
   Slide 2: BLURRED background + frosted glass card, text on the LEFT
   Slide 3: DEEP immersive zoom + radial vignette + CENTERED large text
   ========================================================================== */

/* Slide 1 — Premium Product: dark-to-transparent gradient from LEFT, text aligned RIGHT */
.hc-slide-premium {
  background:
    radial-gradient(ellipse at 70% 50%, #2d1f0a 0%, transparent 60%),
    linear-gradient(135deg, #1a1f1a 0%, #0F3D24 70%, #0a1a10 100%);
}
.hc-overlay-fade-left {
  background: linear-gradient(90deg,
    rgba(15, 61, 36, 0.92) 0%,
    rgba(15, 61, 36, 0.75) 28%,
    rgba(15, 61, 36, 0.30) 60%,
    rgba(15, 61, 36, 0.05) 100%
  );
}
.hc-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hc-vignette-soft {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.45) 100%);
}
.hc-headline-gold {
  color: var(--gold-light);
  text-shadow:
    0 2px 16px rgba(0,0,0,0.6),
    0 0 32px rgba(212,175,55,0.25);
}

/* Slide 2 — Sunnah in Practice: BLURRED bg + warm soft overlay + bokeh + frosted glass card LEFT */
.hc-slide-sunnah {
  background:
    radial-gradient(ellipse at 30% 50%, #4a3a25 0%, transparent 65%),
    linear-gradient(135deg, #4a3a25 0%, #2d2418 60%, #1f1a12 100%);
}
.hc-bg-blur {
  filter: blur(10px) brightness(0.85) saturate(110%);
  transform: scale(1.18); /* counteract blur edge softness */
}
.hc-slide-sunnah.is-active .hc-bg-blur {
  transform: scale(1.28);
}
.hc-overlay-warm-soft {
  background:
    linear-gradient(180deg,
      rgba(45, 36, 24, 0.45) 0%,
      rgba(45, 36, 24, 0.55) 60%,
      rgba(15, 10, 6, 0.65) 100%
    );
}
.hc-bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(212,175,55,0.22) 0%, transparent 14%),
    radial-gradient(circle at 78% 62%, rgba(212,175,55,0.16) 0%, transparent 18%),
    radial-gradient(circle at 52% 82%, rgba(255,255,255,0.10) 0%, transparent 20%),
    radial-gradient(circle at 35% 75%, rgba(212,175,55,0.12) 0%, transparent 12%);
  animation: hc-bokeh-drift 22s ease-in-out infinite;
}
@keyframes hc-bokeh-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-2.5%, -2%); }
}
.hc-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 2.25rem 1.85rem;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.hc-headline-light {
  color: white;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hc-ghost-light {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}
.hc-ghost-light:hover {
  background: rgba(255,255,255,0.95);
  color: var(--green);
  border-color: white;
}

/* Slide 3 — Natural Origin: DEEP continuous zoom + strong radial vignette + CENTERED large text */
.hc-slide-origin {
  background:
    radial-gradient(ellipse at center 35%, #2a3a1a 0%, transparent 50%),
    linear-gradient(180deg, #2a3a1a 0%, #1a2810 50%, #050805 100%);
}
.hc-bg-deep {
  transform: scale(1.0);
  transition: transform 14s ease-out;
}
.hc-slide-origin.is-active .hc-bg-deep {
  transform: scale(1.22);
}
.hc-overlay-deep-vignette {
  background: radial-gradient(ellipse 75% 65% at center 38%,
    rgba(15, 61, 36, 0.10) 0%,
    rgba(15, 61, 36, 0.40) 55%,
    rgba(0, 0, 0, 0.78) 100%
  );
}
.hc-origin-mark {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 12px rgba(212,175,55,0.45);
}
.hc-headline-large {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  max-width: 22ch;
  letter-spacing: -0.015em;
}

/* Mobile */
@media (max-width: 768px) {
  .hc-content { padding: 6.5rem 1.25rem 14rem; }
  .hc-headline { font-size: clamp(2rem, 8.5vw, 2.8rem); max-width: 100%; }
  .hc-content-right .hc-headline,
  .hc-content-left .hc-headline { margin-inline: 0; }
  .hc-sub { font-size: 0.95rem; max-width: 100%; }
  .hc-content-right .hc-sub,
  .hc-content-left .hc-sub { margin-inline: 0; }
  .hc-content-right,
  .hc-content-left {
    align-items: center;
    text-align: center;
  }
  .hc-ctas { flex-direction: column; align-items: stretch; }
  .hc-ctas a { justify-content: center; }
  .hc-thumb-label { display: none; }
  .hc-thumb { padding: 0.3rem; }
  .hc-counter { font-size: 0.78rem; }
  .hc-nav { width: 40px; height: 40px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hc-slide .hc-line { opacity: 1 !important; transform: none !important; }
  .hc-bg { transform: none !important; animation: none !important; }
  .hc-progress-bar { display: none; }
  .manuscript-medallion svg,
  .manuscript-seal { animation: none !important; }
  .manuscript-corner svg { stroke-dashoffset: 0 !important; }
}
