/* ============================================================
   RESILIENT FOUNDATIONS — Quiet Sanctuary theme
   Warm editorial, literary, grounded.
   ============================================================ */

:root {
  /* Core palette */
  --ivory:        #F4F6F2;
  --ivory-soft:   #FAFBF8;
  --ivory-warm:   #EAEEE7;
  --paper:        #FFFFFF;
  --paper-2:      #EEF2EB;

  --ink:          #1F2620;
  --ink-soft:     #333B33;
  --ink-mute:     #5C645C;
  --ink-faint:    #8A8F87;

  --forest:       #2F4A3A;
  --forest-deep:  #24382D;
  --forest-soft:  #4A6A52;
  --forest-tint:  #E4EBE2;

  --terra:        #B86A48;
  --terra-deep:   #9E5637;
  --terra-soft:   #D18C6F;
  --terra-tint:   #F4E4D9;

  --slate:        #5C7886;
  --slate-deep:   #455F6D;
  --slate-tint:   #DFE7EC;

  --brass:        #B38B3C;
  --brass-soft:   #D4B06A;
  --brass-tint:   #F3E9D1;

  --rule:         rgba(31,38,32,0.10);
  --rule-soft:    rgba(31,38,32,0.06);

  /* Type */
  --serif:        "Cormorant Garamond", "Adobe Garamond", Garamond, "Times New Roman", serif;
  --serif-read:   "Lora", "Cormorant Garamond", Georgia, serif;
  --sans:         "Instrument Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-xs:   0 1px 2px rgba(31,38,32,0.04), 0 2px 6px rgba(31,38,32,0.03);
  --shadow-sm:   0 2px 8px rgba(31,38,32,0.05), 0 8px 22px rgba(31,38,32,0.05);
  --shadow-md:   0 4px 16px rgba(31,38,32,0.07), 0 16px 48px rgba(31,38,32,0.08);
  --shadow-lg:   0 16px 60px rgba(31,38,32,0.12), 0 2px 8px rgba(31,38,32,0.05);

  --ease:        cubic-bezier(.2,.7,.2,1);
  --ease-out:    cubic-bezier(.22,.9,.28,1);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif-read);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* subtle paper grain */
  background-image:
    radial-gradient(ellipse at 10% 8%, rgba(47,74,58,0.07), transparent 55%),
    radial-gradient(ellipse at 90% 92%, rgba(92,120,134,0.06), transparent 55%);
  background-attachment: fixed, fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--terra-deep); }

::selection { background: var(--terra-tint); color: var(--forest-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(3.2rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: 0; }

em { font-style: italic; color: var(--terra-deep); font-family: var(--serif); font-weight: 400; }

/* Section label */
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--forest-soft);
  display: inline-block;
}
.section-label.center { justify-content: center; width: 100%; }
.section-label.center::before { display: none; }
.section-label.center::after {
  content: "";
  margin-left: 10px;
  width: 28px; height: 1px;
  background: var(--forest-soft);
}
.section-label.center::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 28px; height: 1px;
  background: var(--forest-soft);
}

/* ---------- Buttons ---------- */
.btn-main, .btn-soft, .btn-outline-f {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 16px 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-main {
  background: var(--forest);
  color: var(--ivory-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 24px rgba(47,74,58,0.22);
}
.btn-main:hover {
  background: var(--forest-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(47,74,58,0.30);
}
.btn-soft {
  background: transparent;
  color: var(--forest);
  border-color: rgba(47,74,58,0.35);
}
.btn-soft:hover {
  background: var(--forest);
  color: var(--ivory-soft);
  border-color: var(--forest);
}
.btn-outline-f {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.btn-outline-f:hover { background: var(--forest); color: var(--ivory-soft); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 44px;
  background: rgba(246,241,231,0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  padding: 12px 44px;
  background: rgba(254,252,247,0.88);
  border-bottom-color: var(--rule);
  box-shadow: 0 2px 20px rgba(31,38,32,0.04);
}
.nav-left { display: flex; align-items: center; gap: 14px; }
.nav-logo-img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.nav-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-top: 4px;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: 999px;
  position: relative;
  transition: all .25s var(--ease);
}
.nav-links a:hover { color: var(--forest); background: rgba(47,74,58,0.06); }
.nav-book {
  background: var(--forest) !important;
  color: var(--ivory-soft) !important;
  padding: 10px 20px !important;
  margin-left: 8px;
  box-shadow: 0 6px 18px rgba(47,74,58,0.22);
}
.nav-book:hover { background: var(--forest-deep) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px; height: 28px;
  justify-content: center;
  border: none; background: transparent; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 44px 88px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 18%, rgba(184,106,72,0.12), transparent 48%),
    radial-gradient(ellipse at 12% 82%, rgba(58,107,69,0.14), transparent 55%),
    linear-gradient(180deg, rgba(244,246,242,0.96) 0%, rgba(244,246,242,0.93) 55%, rgba(244,246,242,0.97) 100%);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(184,106,72,0.08), transparent 60%),
    radial-gradient(ellipse 55% 45% at 10% 85%, rgba(47,74,58,0.10), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -200px; top: 8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(184,106,72,0.14), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  /* Static decorative layer to prevent CLS from animated transforms. */
  animation: none;
  transform: none;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.08); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 560px;
}
.hero-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--terra-deep);
  margin-bottom: 30px;
  display: inline-block;
  position: relative;
  padding-left: 56px;
}
.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 44px; height: 1px;
  background: var(--terra-deep);
}
.hero h1 {
  font-size: clamp(3.4rem, 7.6vw, 6.6rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra-deep);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.22em;
  background: linear-gradient(90deg, rgba(184,106,72,0.22), rgba(184,106,72,0));
  border-radius: 2px;
  z-index: -1;
}
.hero-sub {
  font-family: var(--serif-read);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink-mute);
  max-width: 58ch;
  margin-bottom: 48px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }
.hero-quote {
  max-width: 640px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}
.hero-quote q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--ink-soft);
  quotes: """ """;
  display: block;
  margin-bottom: 10px;
  line-height: 1.4;
}
.hero-quote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-soft);
}

/* ---------- Ticker ---------- */
.ticker-wrap {
  overflow: hidden;
  padding: 26px 0;
  background: var(--forest-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--forest-deep), transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--forest-deep), transparent);
}
.ticker-track {
  display: flex;
  gap: 50px;
  animation: ticker 50s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: rgba(246,241,231,0.9);
  display: inline-flex;
  align-items: center;
  gap: 50px;
}
.ticker-item::after {
  content: "✦";
  color: var(--brass-soft);
  font-size: 0.8rem;
  font-style: normal;
}
.ticker-item:last-child::after { display: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Quote band ---------- */
.quote-band {
  text-align: center;
  padding: 80px 44px;
  background: var(--paper);
  position: relative;
}
.quote-band::before, .quote-band::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 40px; height: 1px;
  background: var(--rule);
}
.quote-band::before { top: 40px; }
.quote-band::after  { bottom: 40px; }
.quote-band q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: var(--ink);
  quotes: """ """;
  line-height: 1.4;
  display: block;
  max-width: 900px;
  margin: 0 auto 16px;
}
.quote-band cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-soft);
}

/* ---------- About ---------- */
.about {
  padding: 96px 44px;
  background: var(--paper);
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(74,122,138,0.08), transparent 45%),
    radial-gradient(ellipse at 80% 80%, rgba(184,106,72,0.07), transparent 50%);
  opacity: 1;
  pointer-events: none;
}
.about-inner { position: relative; z-index: 1; }
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 90px;
  align-items: start;
}
.about-left { position: sticky; top: 120px; }
.about-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
  transition: transform .6s var(--ease);
}
.about-img:hover { transform: rotate(0deg) scale(1.015); }
.about-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,38,32,0.12));
  z-index: 1;
  pointer-events: none;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}
.about-img::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: calc(var(--r-lg) - 10px);
  z-index: 2;
  pointer-events: none;
}
.creds {
  margin-top: 36px;
  padding: 28px 30px;
  background: var(--ivory-warm);
  border-radius: var(--r-md);
  border-left: 3px solid var(--brass);
}
.creds-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-bottom: 14px;
}
.cred {
  font-family: var(--serif-read);
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}
.cred:last-child { border-bottom: none; }

.about-name {
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 300;
  margin-bottom: 10px;
}
.about-role {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
}
.about-body { font-size: 1.08rem; color: var(--ink-soft); }
.about-body p { margin: 0 0 22px; max-width: 62ch; }
.about-body p:first-letter {
  /* subtle drop cap on first paragraph only — disabled by default */
}
.pull {
  margin: 36px 0;
  padding: 26px 32px;
  background: var(--forest-tint);
  border-radius: var(--r-md);
  position: relative;
}
.pull p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--forest-deep);
  margin: 0;
  max-width: none;
}
.pull::before {
  content: """;
  position: absolute;
  top: -18px; left: 24px;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--forest);
  opacity: 0.35;
}
.pull-slate { background: var(--slate-tint); }
.pull-slate p { color: var(--slate-deep); }
.pull-slate::before { color: var(--slate-deep); }
.pull-forest { background: var(--terra-tint); }
.pull-forest p { color: var(--terra-deep); }
.pull-forest::before { color: var(--terra-deep); }

.langs {
  margin: 36px 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lang-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-right: 6px;
}
.lang-pill, .approach-pill {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 16px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.lang-pill:hover, .approach-pill:hover {
  background: var(--forest);
  color: var(--ivory-soft);
  border-color: var(--forest);
}
.approach-row { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--rule); }
.approach-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-bottom: 14px;
}
.approach-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.approach-pill { background: var(--terra-tint); border-color: rgba(184,106,72,0.18); color: var(--terra-deep); }
.approach-pill:hover { background: var(--terra-deep); color: var(--ivory-soft); border-color: var(--terra-deep); }

/* ---------- Transformation ---------- */
.transformation {
  padding: 96px 44px;
  background: var(--ivory);
  text-align: center;
  position: relative;
}
.transformation::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(47,74,58,0.05), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(92,120,134,0.05), transparent 45%);
  pointer-events: none;
}
.transformation-inner { position: relative; z-index: 1; }
.transformation-inner { max-width: 1200px; margin: 0 auto; }
.transformation h2 { margin-bottom: 16px; }
.transformation-sub {
  font-family: var(--serif-read);
  font-size: 1.1rem;
  color: var(--ink-mute);
  max-width: 58ch;
  margin: 0 auto 70px;
}
.transformation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.t-card {
  text-align: left;
  padding: 34px 32px;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--rule-soft);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.t-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--forest);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.t-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.t-card:hover::before { transform: scaleY(1); }
.t-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--forest-tint);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.t-text {
  font-family: var(--serif-read);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Wave dividers ---------- */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { width: 100%; height: 48px; display: block; }

/* ---------- Services ---------- */
.services {
  padding: 96px 44px 72px;
  background: var(--paper);
  text-align: center;
  position: relative;
}
.services-hdr { max-width: 720px; margin: 0 auto 70px; }
.services-hdr h2 { margin-bottom: 14px; }
.services-hdr p {
  font-size: 1.1rem;
  color: var(--ink-mute);
}
.services-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.svc-card {
  padding: 44px 36px 40px;
  background: var(--ivory-soft);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg);
  position: relative;
  transition: all .5s var(--ease);
  overflow: hidden;
}
.svc-card::after {
  content: "";
  position: absolute;
  top: -60%; right: -40%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,106,72,0.08), transparent 70%);
  transition: all .6s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--paper);
}
.svc-card:hover::after { top: -40%; transform: scale(1.2); }
.svc-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--forest-tint);
}
.si-s { background: var(--slate-tint); }
.si-g { background: var(--brass-tint); }
.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.svc-price {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.svc-card p {
  font-family: var(--serif-read);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 0 0 28px;
}
.svc-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--forest);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.svc-link::after {
  content: "→";
  transition: transform .3s var(--ease);
}
.svc-link:hover::after { transform: translateX(6px); }

.billing-note {
  margin-top: 56px;
  text-align: center;
  font-family: var(--serif-read);
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.billing-note strong { color: var(--forest); font-weight: 500; }
.discount-note {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra-deep);
  font-size: 1rem;
  margin-top: 12px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--forest);
  color: var(--ivory-soft);
  padding: 70px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,106,72,0.22), transparent 70%);
  pointer-events: none;
}
.cta-band::before {
  width: 400px; height: 400px;
  left: -120px; top: -120px;
}
.cta-band::after {
  width: 300px; height: 300px;
  right: -80px; bottom: -80px;
  background: radial-gradient(circle, rgba(212,176,106,0.14), transparent 70%);
}
.cta-band q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  display: block;
  max-width: 820px;
  margin: 0 auto 32px;
  quotes: """ """;
  color: var(--ivory-soft);
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
.cta-band .btn-main {
  background: var(--ivory-soft);
  color: var(--forest-deep);
  position: relative;
  z-index: 1;
}
.cta-band .btn-main:hover {
  background: var(--terra);
  color: var(--ivory-soft);
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 96px 44px;
  background: var(--ivory);
  text-align: center;
}
.testimonials-inner { max-width: 1240px; margin: 0 auto; }
.testimonials h2 { margin-bottom: 56px; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.test-card {
  padding: 44px 36px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--rule-soft);
  position: relative;
  transition: all .4s var(--ease);
}
.test-card::before {
  content: """;
  position: absolute;
  top: -4px; left: 24px;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--terra);
  opacity: 0.45;
}
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.test-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 28px;
  padding-top: 10px;
}
.test-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.test-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-soft) 100%);
  color: var(--ivory-soft);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.test-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ---------- Workshops ---------- */
.workshops {
  padding: 96px 44px;
  background: var(--ivory-warm);
  position: relative;
}
.workshops::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1800&q=80') center / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.workshops-inner { position: relative; z-index: 1; }
.workshops-inner { max-width: 1240px; margin: 0 auto; }
.workshops-hdr { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.workshops-hdr p { font-size: 1.1rem; color: var(--ink-mute); }
.filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--forest); color: var(--forest); }
.filter.active {
  background: var(--forest);
  color: var(--ivory-soft);
  border-color: var(--forest);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.event {
  display: flex;
  gap: 0;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--rule-soft);
  overflow: hidden;
  transition: all .4s var(--ease);
}
.event:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.ev-date {
  flex-shrink: 0;
  width: 120px;
  background: var(--forest);
  color: var(--ivory-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}
.event.ev-g .ev-date { background: var(--slate-deep); }
.event[data-type="coming"] .ev-date { background: var(--terra-deep); }
.ev-month {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.8;
}
.ev-day {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
}
.ev-body {
  flex: 1;
  padding: 26px 30px;
}
.ev-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}
.tag-w { background: var(--forest-tint); color: var(--forest-deep); }
.tag-g { background: var(--slate-tint); color: var(--slate-deep); }
.tag-c { background: var(--terra-tint); color: var(--terra-deep); }
.ev-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.ev-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.ev-desc {
  font-family: var(--serif-read);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 22px;
}
.ev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
}
.ev-spots {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
}
.ev-spots.low strong { color: var(--terra-deep); }
.ev-spots strong { color: var(--forest); font-weight: 600; }
.ev-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--forest);
  color: var(--forest);
  background: transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.ev-btn:hover { background: var(--forest); color: var(--ivory-soft); }
.eb-s { border-color: var(--slate-deep); color: var(--slate-deep); }
.eb-s:hover { background: var(--slate-deep); }
.eb-n { border-color: var(--terra-deep); color: var(--terra-deep); }
.eb-n:hover { background: var(--terra-deep); }

.notify-bar {
  margin-top: 40px;
  padding: 32px 40px;
  background: var(--paper);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--rule-soft);
}
.notify-bar p {
  flex: 1;
  min-width: 240px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}
.notify-input {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--ivory-soft);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: all .25s var(--ease);
}
.notify-input:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--paper);
}
.notify-submit {
  padding: 12px 24px;
  background: var(--forest);
  color: var(--ivory-soft);
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.notify-submit:hover { background: var(--forest-deep); }

.workshops-footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.workshops-footer p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  margin-bottom: 18px;
}

/* ---------- Blog ---------- */
.blog {
  padding: 96px 44px;
  background: var(--paper);
}
.blog-inner { max-width: 1240px; margin: 0 auto; }
.blog-hdr { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.blog-hdr p { font-size: 1.1rem; color: var(--ink-mute); }
.blog-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.blog-tab {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--ivory-soft);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.blog-tab:hover { border-color: var(--forest); color: var(--forest); }
.blog-tab.active {
  background: var(--forest);
  color: var(--ivory-soft);
  border-color: var(--forest);
}
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.post-featured {
  grid-row: span 2;
  background: var(--ivory-soft);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .4s var(--ease);
}
.post-sm {
  background: var(--ivory-soft);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .4s var(--ease);
}
.post-featured:hover, .post-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.post-img {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  background: var(--brass-tint);
  position: relative;
  overflow: hidden;
}
.post-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 18px,
    rgba(31,38,32,0.025) 18px,
    rgba(31,38,32,0.025) 19px
  );
}
.post-featured .post-img { aspect-ratio: 16/8; }
.img-q { background: linear-gradient(135deg, var(--brass-tint), var(--ivory-warm)); }
.img-f { background: linear-gradient(135deg, var(--forest-tint), var(--ivory-warm)); }
.img-s { background: linear-gradient(135deg, var(--slate-tint), var(--ivory-warm)); }
.post-body { padding: 28px 30px; flex: 1; display: flex; flex-direction: column; }
.post-featured .post-body { padding: 38px 40px; }
.post-cat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}
.cat-q { background: var(--brass-tint); color: #8A6425; }
.cat-r { background: var(--forest-tint); color: var(--forest-deep); }
.cat-m { background: var(--slate-tint); color: var(--slate-deep); }
.post-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.post-featured .post-title { font-size: 1.75rem; }
.post-excerpt {
  font-family: var(--serif-read);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 20px;
  flex: 1;
}
.post-featured .post-excerpt { font-size: 1.05rem; }
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
}
.post-date {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.read-more {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}
.read-more::after {
  content: " →";
  transition: all .25s var(--ease);
  display: inline-block;
}
.read-more:hover::after { transform: translateX(4px); }

.quran-strip {
  margin-top: 50px;
  padding: 50px 56px;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  color: var(--ivory-soft);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.quran-strip::before {
  content: "";
  position: absolute;
  top: -100px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,176,106,0.18), transparent 70%);
}
.qs-left { position: relative; z-index: 1; }
.qs-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 14px;
}
.qs-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 14px;
}
.qs-sub {
  font-family: var(--serif-read);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(246,241,231,0.78);
}
.qs-right { position: relative; z-index: 1; }
.qs-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(246,241,231,0.15);
}
.qs-item:last-child { border-bottom: none; }
.qs-item-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--ivory-soft);
  margin-bottom: 4px;
  line-height: 1.4;
}
.qs-item-date {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.blog-footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.blog-footer p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  margin-bottom: 18px;
}

/* ---------- Cred strip ---------- */
.cred-strip {
  padding: 70px 44px;
  background: var(--ivory-warm);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.cred-row {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.cred-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--rule-soft);
  transition: all .3s var(--ease);
}
.cred-badge:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cred-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ci-green { background: var(--forest-tint); }
.ci-slate { background: var(--slate-tint); }
.ci-gold  { background: var(--brass-tint); }
.cred-name {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ---------- Next steps ---------- */
.next {
  padding: 96px 44px;
  background: var(--ivory);
  text-align: center;
}
.next-inner { max-width: 1200px; margin: 0 auto; }
.next-hdr { max-width: 720px; margin: 0 auto 70px; }
.next-hdr p { font-size: 1.1rem; color: var(--ink-mute); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin-bottom: 70px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 48px; left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  padding: 36px 32px 40px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--rule-soft);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all .4s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  background: var(--forest);
  color: var(--ivory-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  box-shadow: 0 8px 24px rgba(47,74,58,0.22);
  border: 4px solid var(--ivory);
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.step p {
  font-family: var(--serif-read);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.next-cta { text-align: center; }
.next-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.next-note {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

/* ---------- FAQ ---------- */
.faq {
  padding: 96px 44px;
  background: var(--ivory-warm);
  position: relative;
}
.faq-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.faq-inner h2 { margin-bottom: 50px; }
.faq-item {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.faq-item:hover { border-color: var(--rule); }
.faq-item.open { border-color: var(--forest); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--forest); }
.faq-q::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--forest);
  font-weight: 300;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  font-family: var(--serif-read);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mute);
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 28px 24px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(246,241,231,0.82);
  padding: 80px 44px 40px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(246,241,231,0.12);
  align-items: start;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory-soft);
  line-height: 1.2;
}
.footer-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 8px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(246,241,231,0.7);
  transition: color .25s var(--ease);
}
.footer-links a:hover { color: var(--terra-soft); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(246,241,231,0.2);
  display: grid;
  place-items: center;
  transition: all .25s var(--ease);
}
.footer-social a:hover {
  border-color: var(--brass-soft);
  background: rgba(212,176,106,0.12);
}
.footer-bottom {
  max-width: 1240px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(246,241,231,0.5);
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--brass-soft);
}

/* ---------- Crisis strip ---------- */
.crisis-strip {
  background: var(--forest-deep);
  color: rgba(246,241,231,0.9);
  padding: 14px 44px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  border-top: 1px solid rgba(212,176,106,0.15);
}
.crisis-strip p { margin: 0; }
.crisis-strip a { color: var(--brass-soft); font-weight: 500; }
.crisis-strip a:hover { color: var(--ivory-soft); }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory-soft);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .35s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--forest-deep); transform: translateY(-3px); }
.scroll-top svg { stroke: currentColor; }

/* ---------- Reveal animations (disabled — always visible) ---------- */
.reveal, .reveal-stagger, .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }

/* ---------- Approaches ---------- */
.approaches {
  padding: 96px 44px;
  background: var(--paper);
  position: relative;
}
.approaches::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1518173946687-a4c8892bbd9f?auto=format&fit=crop&w=1800&q=80') center / cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.approaches-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.approaches-hdr { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.approaches-hdr p { font-size: 1.1rem; color: var(--ink-mute); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.appr-card {
  padding: 44px 36px 40px;
  background: var(--ivory-soft);
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-lg);
  position: relative;
  transition: all .4s var(--ease);
}
.appr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--paper);
}
.appr-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--terra);
  font-style: italic;
  margin-bottom: 14px;
}
.appr-card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.appr-sub {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-soft);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.appr-card p {
  font-family: var(--serif-read);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- Tweaks panel spacer ---------- */
.__tweak-spacer{display:none}

/* ---------- Coming soon card ---------- */
.coming-soon-card {
  padding: 70px 50px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px dashed var(--rule);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.blog-coming { margin-top: 20px; }
.cs-mark {
  color: var(--forest-soft);
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
}
.cs-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 400;
}
.cs-sub {
  font-family: var(--serif-read);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 52ch;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .approaches { padding: 64px 22px; }
  .approach-grid { grid-template-columns: 1fr; }
  .coming-soon-card { padding: 48px 28px; }
}

#tweaks {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  z-index: 95;
  display: none;
  font-family: var(--sans);
}
#tweaks.open { display: block; animation: tweakFade .3s var(--ease-out); }
@keyframes tweakFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#tweaks h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#tweaks h4 button {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--ink-mute);
  cursor: pointer;
  line-height: 1;
}
.tweak-row {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.tweak-row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.tweak-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-weight: 500;
}
.tweak-options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease);
}
.tweak-swatch:hover { transform: scale(1.12); }
.tweak-swatch.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}
.tweak-btn {
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--rule);
  background: var(--ivory-soft);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.tweak-btn.active, .tweak-btn:hover {
  background: var(--forest);
  color: var(--ivory-soft);
  border-color: var(--forest);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { padding: 14px 22px; }
  .nav.scrolled { padding: 10px 22px; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 14px 16px; width: 100%; border-radius: 8px; }
  .nav-hamburger { display: flex; }

  .hero { padding: 120px 22px 64px; min-height: 86vh; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }

  .about, .transformation, .services, .testimonials, .workshops, .blog, .next, .faq {
    padding: 64px 22px;
  }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-left { position: static; }
  .transformation-grid, .services-grid, .test-grid, .events-grid, .steps, .cred-row {
    grid-template-columns: 1fr;
  }
  .steps::before { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-featured { grid-row: auto; }
  .quran-strip { grid-template-columns: 1fr; padding: 34px 28px; gap: 24px; }
  .cred-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .notify-bar { padding: 24px; }
  .event { flex-direction: column; }
  .ev-date { flex-direction: row; width: 100%; padding: 14px 20px; gap: 14px; justify-content: flex-start; }
  #tweaks { right: 14px; bottom: 80px; width: calc(100% - 28px); max-width: 320px; }
  .scroll-top { right: 14px; bottom: 14px; }
}


/* ============================================================
   NEWSLETTER POPUP
   ============================================================ */
.newsletter-overlay {
  position: fixed; inset: 0;
  background: rgba(23, 32, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 9000;
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
.newsletter-overlay.is-open {
  opacity: 1; pointer-events: auto;
}
.newsletter-modal {
  position: relative;
  width: 100%; max-width: 480px;
  background: var(--paper, #fff);
  background-image:
    radial-gradient(ellipse at top right, rgba(58, 107, 69, 0.07), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(212, 168, 67, 0.06), transparent 55%);
  border: 1px solid rgba(58, 107, 69, 0.16);
  border-radius: 18px;
  padding: 48px 40px 36px;
  box-shadow:
    0 24px 60px rgba(23, 32, 26, 0.22),
    0 2px 6px rgba(23, 32, 26, 0.08);
  text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.newsletter-overlay.is-open .newsletter-modal {
  transform: translateY(0) scale(1);
}
.nl-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(23, 32, 26, 0.08);
  background: rgba(255,255,255,0.7);
  color: var(--ink-mute, #5C645C);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nl-close:hover {
  background: var(--forest, #2F4A3A);
  color: #fff;
  border-color: var(--forest, #2F4A3A);
}
.nl-leaf {
  margin: 0 auto 14px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(58, 107, 69, 0.08);
  display: flex; align-items: center; justify-content: center;
}
.nl-title {
  font-family: 'Cormorant Garamond', 'Lora', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--forest-deep, #24382D);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nl-sub {
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft, #333B33);
  max-width: 380px;
  margin: 0 auto 24px;
}
.nl-form {
  display: flex;
  gap: 8px;
  flex-direction: column;
  margin: 0 0 14px;
}
@media (min-width: 480px) {
  .nl-form { flex-direction: row; }
}
.nl-input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(23, 32, 26, 0.14);
  border-radius: 10px;
  background: #fff;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  color: var(--ink, #1F2620);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nl-input:focus {
  border-color: var(--forest, #2F4A3A);
  box-shadow: 0 0 0 3px rgba(58, 107, 69, 0.12);
}
.nl-input::placeholder { color: var(--ink-faint, #8A8F87); font-style: italic; }
.nl-btn {
  padding: 14px 22px;
  background: var(--forest, #2F4A3A);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Instrument Sans', 'Lora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  white-space: nowrap;
}
.nl-btn:hover {
  background: var(--forest-deep, #24382D);
  transform: translateY(-1px);
}
.nl-fine {
  font-family: 'Lora', Georgia, serif;
  font-size: 12px;
  color: var(--ink-faint, #8A8F87);
  margin: 0;
  letter-spacing: 0.01em;
}
.nl-thanks {
  display: none;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 20px 0 10px;
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  color: var(--forest, #2F4A3A);
}
.nl-form.is-hidden { display: none; }
.nl-thanks.is-visible { display: flex; }

@media (max-width: 520px) {
  .newsletter-modal { padding: 40px 24px 28px; }
  .nl-title { font-size: 30px; }
}


/* ============================================================
   FAQ — nature background to echo the hero
   ============================================================ */
.faq {
  background:
    radial-gradient(ellipse at 70% 12%, rgba(184,106,72,0.10), transparent 50%),
    linear-gradient(180deg, rgba(248,246,241,0.97) 0%, rgba(234,238,231,0.94) 50%, rgba(244,246,242,0.97) 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: scroll !important;
}
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(58, 107, 69, 0.06), transparent 60%);
  pointer-events: none;
}
.faq-inner { position: relative; z-index: 1; }
.faq .faq-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ============================================================
   FOOTER — icons alignment
   ============================================================ */
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Shake animation for invalid input */
@keyframes nlShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.nl-input.shake {
  animation: nlShake .4s ease;
  border-color: #B85C3E !important;
}
