:root {
  --ink: #0f0f0e;
  --ink-2: #151513;
  --ink-3: #0c0c0b;
  --cream: #f1ece2;
  --text-soft: #c8c0b2;
  --muted: #a69e91;
  --gold: #c9b38c;
  --gold-soft: #dccfae;
  --gold-deep: #a68f66;
  --line: rgba(201, 179, 140, .16);
  --line-strong: rgba(201, 179, 140, .34);
  --radius: 14px;
  --wrap: 1120px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, sans-serif;
  --font-arabic: "Amiri", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }

[id] { scroll-margin-top: 5.5rem; }

p { margin: 0; }

a { color: var(--gold-soft); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--cream); }

::selection { background: rgba(201, 179, 140, .85); color: #171512; }

:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #171512;
  padding: .7rem 1.1rem;
  border-radius: 0 0 8px 0;
  font-size: .85rem;
}
.skip:focus { left: 0; color: #171512; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; margin-inline: auto; }

.eyebrow {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .85em 1.7em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease, filter .25s ease;
}
.btn:hover { border-color: var(--gold); color: var(--cream); transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(180deg, #dccda8, #c1a97d);
  border-color: transparent;
  color: #191712;
  box-shadow: 0 14px 34px -16px rgba(201, 179, 140, .55);
}
.btn-primary:hover { color: #191712; filter: brightness(1.05); }

.btn-sm { padding: .6em 1.2em; font-size: .68rem; }
.btn-block { width: 100%; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 14, .74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 179, 140, .1);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--cream); }
.brand img { height: 30px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav .nav-link {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-nav .nav-link:hover { color: var(--cream); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(201, 179, 140, .08); }

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c9b38c' stroke-width='.6'%3E%3Crect x='18' y='18' width='36' height='36'/%3E%3Crect x='18' y='18' width='36' height='36' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  opacity: .09;
  -webkit-mask-image: radial-gradient(115% 80% at 50% 0%, #000 18%, transparent 72%);
  mask-image: radial-gradient(115% 80% at 50% 0%, #000 18%, transparent 72%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 46% at 50% -6%, rgba(201, 179, 140, .17), transparent 70%);
}



.hero-inner {
  position: relative;
  text-align: center;
  padding: clamp(2.4rem, 7.5vh, 4.8rem) 0 clamp(2.8rem, 8vh, 5.4rem);
}

.hero-lockup { width: clamp(215px, 40vw, 356px); margin: 0 auto clamp(1.2rem, 2.6vw, 1.9rem); }

h1 { font-size: clamp(1.95rem, 5.4vw, 3.5rem); }

.lede {
  margin: 1.1rem auto 0;
  max-width: 56ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.cta-row {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

.hero-note {
  margin-top: 1.7rem;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(166, 158, 145, .85);
}

.ayah-band {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  text-align: center;
  border-bottom: 1px solid rgba(201, 179, 140, .08);
  background: radial-gradient(80% 130% at 50% 50%, rgba(201, 179, 140, .05), transparent 72%);
}

.ayah,
.ayah-translation { max-width: 46rem; margin-inline: auto; text-wrap: balance; }

.ayah {
  font-family: var(--font-arabic);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 2;
  color: var(--gold-soft);
}

.ayah-translation {
  margin-top: .9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--cream);
}

.ayah-ref {
  margin-top: .8rem;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(201, 179, 140, .035) 32%, rgba(201, 179, 140, .035) 68%, transparent);
  border-block: 1px solid rgba(201, 179, 140, .08);
}

.intro { text-align: center; }
.intro h2 { margin-top: .7rem; }

.prose { margin-top: 1.5rem; color: var(--text-soft); }
.prose p + p { margin-top: 1.1rem; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold);
}
.ornament::before,
.ornament::after {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.ornament::after { background: linear-gradient(270deg, transparent, var(--line-strong)); }
.ornament svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1; }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.section-head h2 { margin-top: .7rem; }
.section-head p:not(.eyebrow) { margin-top: .9rem; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  transition: border-color .35s ease, transform .35s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.32rem; }
.card p { margin-top: .6rem; font-size: .95rem; color: var(--muted); }

.quote-band {
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  text-align: center;
  border-block: 1px solid rgba(201, 179, 140, .08);
  background: linear-gradient(180deg, transparent, rgba(201, 179, 140, .045), transparent);
}
.quote-band blockquote { margin: 0 auto; max-width: 56ch; }
.quote-band blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
  line-height: 1.55;
  color: var(--cream);
}
.quote-band blockquote::before {
  content: "“" / "";
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: .55;
  color: var(--gold);
  margin-bottom: 1rem;
}
.quote-src {
  margin-top: 1.3rem;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

.register {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(201, 179, 140, .09), transparent 55%),
    var(--ink-2);
}

@media (min-width: 880px) {
  .register { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

.register h2 { margin-top: .6rem; }
.register-intro > p { margin-top: 1rem; color: var(--text-soft); }

.contact-list { list-style: none; margin: 1.7rem 0 0; padding: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; align-items: center; gap: .65rem; font-size: .95rem; }
.contact-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-embed { display: grid; gap: .9rem; }
.form-embed iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
}

.form-note { font-size: .8rem; line-height: 1.65; color: rgba(166, 158, 145, .9); }
.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 179, 140, .5);
}

@media (pointer: coarse) {
  .brand { min-height: 44px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 44px; padding-inline: 1.15em; }
  .foot-links { gap: 1.1rem; }
  .foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .15rem; }
  .contact-list { gap: .2rem; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .form-note a { display: inline-block; padding-block: .6rem; }
}

.site-foot { border-top: 1px solid rgba(201, 179, 140, .12); padding: 2.4rem 0; background: var(--ink-3); }

.foot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  text-align: center;
}

@media (min-width: 800px) {
  .foot-inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 1.5rem; }
}

.foot-brand { display: flex; align-items: center; gap: .6rem; color: var(--cream); }
.foot-brand img { height: 24px; width: auto; }
.foot-brand span {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.foot-links { display: flex; gap: 1.4rem; }
.foot-links a {
  padding: .45rem 0;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-links a:hover { color: var(--cream); }

.foot-copy { font-size: .72rem; letter-spacing: .12em; color: var(--muted); }

.foot-dua {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  color: var(--gold-deep);
}

.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity .8s ease var(--reveal-delay, 0ms),
    transform .8s cubic-bezier(.2, .65, .25, 1) var(--reveal-delay, 0ms);
}

@media (max-width: 720px) {
  .site-nav { gap: 1rem; }
  .site-nav .nav-link { display: none; }
}

@media (max-width: 520px) {
  .head-inner { min-height: 60px; }
  .brand img { height: 26px; }
  .brand span { font-size: .78rem; letter-spacing: .2em; }
  .btn-sm { padding: .55em 1em; font-size: .64rem; }
}

@media (max-width: 359px) {
  .brand span { display: none; }
}

@media print {
  html { scroll-behavior: auto; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .site-head { position: static; }
  .skip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card, a { transition: none; }
}
