/* =========================================================================
   Al Furqan Islamic College for Women
   Design system + components
   Palette drawn from the college crest: deep maroon, metallic gold, cream.
   ========================================================================= */

:root {
  --maroon:        #6A1E22;
  --maroon-dark:   #4A1518;
  --maroon-deep:   #3A1013;
  --gold:          #C9A24B;
  --gold-bright:   #E6C878;
  --gold-deep:     #A67C2E;
  --cream:         #FBF8F3;
  --cream-2:       #F4EFE6;
  --ink:           #2B2320;
  --ink-soft:      #5B534D;
  --line:          #E8E0D4;
  --white:         #FFFFFF;
  --success:       #1C6B3C;
  --danger:        #A12222;

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar:   "Amiri", "Noto Naskh Arabic", serif;
  --font-ta:   "Noto Sans Tamil", var(--font-body);

  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(74, 21, 24, .06);
  --shadow: 0 14px 40px rgba(74, 21, 24, .10);
  --shadow-lg: 0 30px 70px rgba(58, 16, 19, .18);
  --transition: .25s ease;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; display: inline-block; vertical-align: -.18em; }
a { color: var(--maroon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--maroon-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: 4px; }

.lang-ar { font-family: var(--font-ar); direction: rtl; unicode-bidi: isolate; }
.lang-ta { font-family: var(--font-ta); }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--cream2 { background: var(--cream-2); }
.section--maroon { background: var(--maroon-dark); color: #F6E9D8; }
.section--maroon h2, .section--maroon h3 { color: var(--gold-bright); }
.center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--maroon); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; font-size: .74rem;
  color: var(--gold-deep); margin-bottom: .75rem;
}
.section--maroon .eyebrow { color: var(--gold-bright); }
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.section--maroon .lede { color: #E8D9C4; }

/* decorative divider */
.divider { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1rem auto 0; color: var(--gold); }
.divider::before, .divider::after { content: ""; height: 1px; width: 54px; background: currentColor; opacity: .5; }
.divider span { width: 9px; height: 9px; transform: rotate(45deg); background: currentColor; box-shadow: 14px 0 0 -2px currentColor, -14px 0 0 -2px currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #3A1013; box-shadow: 0 10px 24px rgba(166, 124, 46, .35); }
.btn--primary:hover { color: #3A1013; box-shadow: 0 16px 32px rgba(166, 124, 46, .45); }
.btn--maroon { background: var(--maroon); color: #fff; }
.btn--maroon:hover { background: var(--maroon-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.btn--block { width: 100%; justify-content: center; }

/* =========================================================================
   Header / navigation
   ========================================================================= */
.topbar {
  background: var(--maroon-deep); color: #E8D9C4; font-size: .84rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; justify-content: space-between; align-items: center; padding-block: .5rem; }
.topbar a { color: #E8D9C4; }
.topbar a:hover { color: var(--gold-bright); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.topbar__social { display: flex; gap: .9rem; }
.topbar__trust { color: var(--gold-bright); font-weight: 500; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding-block: .7rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  flex: 0 0 auto; min-width: 0; color: inherit;
}
.brand:hover { color: inherit; }
.brand__mark {
  display: flex; flex-direction: column; line-height: 1.15; gap: .15rem;
}
.brand__mark strong {
  font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600; color: var(--maroon-dark); letter-spacing: .01em;
}
.brand__mark span {
  font-size: .68rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft);
}
.brand img {
  height: 42px; width: auto; max-width: min(200px, 48vw);
  object-fit: contain; border-radius: 8px;
  opacity: .92; filter: saturate(.9) contrast(.97);
}

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: .55rem; cursor: pointer; margin-left: auto; z-index: 110;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--maroon-dark); transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.primary-nav a {
  display: block; padding: .5rem .7rem; font-weight: 500; font-size: .92rem; color: var(--ink);
  border-radius: 8px; white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .is-current > a { color: var(--maroon); background: var(--cream-2); }
.primary-nav .is-current > a { font-weight: 600; }
.nav-cta { margin-left: .35rem; white-space: nowrap; padding: .7rem 1.15rem; font-size: .88rem; }
.nav-mobile-cta { display: none; list-style: none; }

@media (max-width: 900px) {
  .topbar__ta, .topbar__email { display: none; }
  .topbar__trust { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-cta { display: block; margin-top: 1.25rem; padding-top: .5rem; }
  .brand__mark span { display: none; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw);
    background: var(--cream); border-left: 1px solid var(--line);
    padding: 5rem 1.25rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
    z-index: 95;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .primary-nav a { padding: .9rem .7rem; white-space: normal; font-size: 1rem; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(58, 16, 19, .45); z-index: 90;
    opacity: 0; visibility: hidden; transition: var(--transition);
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; }
  .site-header .wrap { gap: 1rem; }
}

@media (max-width: 600px) {
  .topbar { font-size: .78rem; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .hero h1 { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .split { gap: 1.5rem; }
  .media-frame { border-width: 4px; }
  .section { padding-block: clamp(2.5rem, 8vw, 4rem); }
  .site-footer__top { grid-template-columns: 1fr; gap: 1.75rem; }
  .form-card { padding: 1.25rem; }
  .page-hero { padding-block: 2.25rem; }
}

/* =========================================================================
   Hero — full-bleed campus
   ========================================================================= */
.hero {
  position: relative; color: #FBF3E4; overflow: hidden;
  min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  background: var(--maroon-dark);
}
.hero--campus { align-items: center; }
.hero > .wrap {
  position: relative; z-index: 1; width: 100%;
}
.hero__media {
  position: absolute; inset: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.04);
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(42, 14, 16, .88) 0%, rgba(58, 16, 19, .72) 42%, rgba(74, 21, 24, .42) 100%),
    linear-gradient(to top, rgba(30, 8, 10, .55), transparent 45%);
  pointer-events: none;
}
.geo-pattern,
.hero__pattern,
.page-hero__pattern,
.cta-band__pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23E6C878' stroke-width='1.4'%3E%3Cpath d='M60 0l60 60-60 60L0 60z'/%3E%3Cpath d='M60 20l40 40-40 40-40-40z'/%3E%3Cpath d='M60 40l20 20-20 20-20-20z'/%3E%3Ccircle cx='60' cy='60' r='8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
.hero__pattern { position: absolute; inset: 0; opacity: .10; background-repeat: repeat; background-size: 180px; pointer-events: none; }
.hero__content {
  position: relative; z-index: 1;
  width: 100%;
  padding-block: clamp(5rem, 14vw, 9rem);
  max-width: 720px;
  margin-inline: 0;
  animation: hero-in .9s ease both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero__brand {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 .35rem;
  letter-spacing: .01em;
  line-height: 1.05;
}
.hero__eyebrow { color: var(--gold-bright); letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; font-weight: 600; margin: 0 0 .6rem; }
.hero h1 {
  color: var(--gold-bright);
  margin: 0 0 .9rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 500;
  max-width: none;
}
.hero__lede { font-size: 1.12rem; max-width: 46ch; color: #F0E2CE; margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 700px) {
  .hero { min-height: 78vh; align-items: flex-end; }
  .hero__content { padding-block: 3.5rem 4rem; }
  .hero__media img { object-position: center 30%; animation: none; transform: scale(1.02); }
}

/* =========================================================================
   Generic pieces
   ========================================================================= */
.page-hero {
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon));
  color: #F6E9D8; padding-block: clamp(2.75rem, 7vw, 4.5rem); position: relative; overflow: hidden;
}
.page-hero__pattern { position: absolute; inset: 0; opacity: .08; background-size: 150px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #EAD9C1; max-width: 60ch; margin: .6rem 0 0; }
.breadcrumbs { font-size: .82rem; margin-bottom: .8rem; color: #E0CFB6; }
.breadcrumbs a { color: var(--gold-bright); }
.breadcrumbs span { opacity: .6; margin: 0 .35rem; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cream-2), #fff); border: 1px solid var(--line);
  color: var(--maroon); margin-bottom: 1rem;
}
.card__icon svg, .card__icon .ico { width: 26px; height: 26px; }
.card--link { display: flex; flex-direction: column; }
.card--link .card__more { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--gold-deep); font-size: .9rem; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
  background: var(--cream-2); color: var(--gold-deep); border: 1px solid var(--line);
}

.split { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; position: relative; }
.media-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(201,162,75,.5); pointer-events: none; }

/* feature list with checkmarks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 20px; height: 20px;
  background: var(--gold); border-radius: 6px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.stat__value { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: var(--gold-bright); line-height: 1; }
.stat__label { font-size: .9rem; color: #EAD9C1; margin-top: .5rem; letter-spacing: .03em; }

/* ayah band */
.ayah-band { text-align: center; }
.ayah-band .arabic { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--gold-bright); margin-bottom: .8rem; }
.ayah-band .trans { font-style: italic; color: #EAD9C1; max-width: 60ch; margin-inline: auto; }

/* programme cards */
.programme { display: flex; flex-direction: column; }
.programme__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--ink-soft); margin: .5rem 0 .9rem; }
.programme__meta strong { color: var(--maroon); font-weight: 600; }

/* accordion (FAQ) */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; font-family: var(--font-head);
  font-size: 1.12rem; color: var(--maroon-dark); list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--gold-deep); font-size: 1.3rem; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.3rem 4rem; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1rem; top: 1.2rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #3A1013;
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-head);
}
.step h3 { margin: 0 0 .2rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; }
.quote::before { content: "\201C"; font-family: var(--font-head); font-size: 4rem; color: var(--gold); line-height: .6; position: absolute; top: 1rem; left: 1rem; opacity: .5; }
.quote p { position: relative; font-style: italic; color: var(--ink-soft); }
.quote cite { display: block; margin-top: .8rem; font-style: normal; font-weight: 600; color: var(--maroon); font-size: .9rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--maroon-dark), var(--maroon-deep)); color: #F6E9D8; text-align: center; position: relative; overflow: hidden; }
.cta-band__pattern { position: absolute; inset: 0; opacity: .08; background-size: 150px; }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: var(--gold-bright); }
.cta-band .btn-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* =========================================================================
   Forms
   ========================================================================= */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--maroon-dark); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); color: var(--ink); transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(201, 162, 75, .25); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field--inline { display: flex; gap: .6rem; align-items: flex-start; }
.field--inline input { width: auto; margin-top: .35rem; }
.field-error { color: var(--danger); font-size: .82rem; margin-top: .3rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: .92rem; border: 1px solid; }
.alert--success { background: #eaf6ee; border-color: #b9e0c6; color: var(--success); }
.alert--error { background: #fdecec; border-color: #f2c4c4; color: var(--danger); }
.alert--info { background: #fff6e6; border-color: #f0dca8; color: var(--gold-deep); }

/* =========================================================================
   News
   ========================================================================= */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__img { aspect-ratio: 16 / 10; background: var(--cream-2); object-fit: cover; width: 100%; }
.news-card__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { font-size: .78rem; color: var(--ink-soft); margin-bottom: .5rem; display: flex; gap: .6rem; align-items: center; }
.news-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.news-card__more { margin-top: auto; padding-top: .8rem; font-weight: 600; color: var(--gold-deep); font-size: .88rem; }

.article-body { max-width: 760px; margin-inline: auto; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-body h2, .article-body h3 { margin-top: 1.8rem; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .5rem .9rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; }
.pagination .is-current { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.gallery-filters button {
  border: 1px solid var(--line); background: #fff; padding: .5rem 1.1rem; border-radius: 999px;
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink-soft); transition: var(--transition);
}
.gallery-filters button.is-active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; border: 0; padding: 0; cursor: pointer; background: var(--cream-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: .8rem; font-size: .82rem; color: #fff;
  background: linear-gradient(transparent, rgba(58, 16, 19, .8)); text-align: left;
}
.lightbox { position: fixed; inset: 0; background: rgba(30, 8, 10, .92); display: none; place-items: center; z-index: 1000; padding: 2rem; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 82vh; border-radius: 8px; border: 5px solid #fff; }
.lightbox__close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.lightbox__cap { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; color: #EAD9C1; font-size: .9rem; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--maroon-deep); color: #E7D6BE; font-size: .92rem; }
.site-footer a { color: #E7D6BE; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer__top { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-block: clamp(3rem, 6vw, 4rem); }
.site-footer h4 { color: var(--gold-bright); font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-brand__name {
  font-family: var(--font-head); font-size: 1.6rem; color: var(--gold-bright);
  margin: 0 0 .6rem; font-weight: 600;
}
.footer-brand img { height: 74px; background: #fff; padding: .4rem; border-radius: 10px; margin-bottom: 1rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .25rem; color: var(--gold); }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(231, 214, 190, .3); border-radius: 50%; display: grid; place-items: center; }
.footer-social a:hover { background: var(--maroon); border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(231, 214, 190, .18); padding-block: 1.25rem; text-align: center; font-size: .84rem; color: #C9B79A; }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: center; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 220px; border-radius: var(--radius-sm); }

/* =========================================================================
   Home — purpose, programmes, features, sheikh, social, visit
   ========================================================================= */
.purpose { max-width: 720px; text-align: center; margin-inline: auto; }
.purpose__lead {
  font-family: var(--font-head); font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: var(--maroon-dark); line-height: 1.35; margin: 1.25rem 0 .9rem;
}

.programme-tiles {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.programme-tile {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.6rem 1.4rem 1.4rem;
  background: #fff; border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: inherit; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.programme-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.programme-tile__num {
  font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-deep);
  font-weight: 600; line-height: 1; margin-bottom: .4rem;
}
.programme-tile h3 { margin: 0; font-size: 1.35rem; }
.programme-tile__meta { font-size: .82rem; color: var(--ink-soft); margin: 0; font-weight: 600; }
.programme-tile p { color: var(--ink-soft); margin: .35rem 0 0; font-size: .95rem; }
.programme-tile__more {
  margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .88rem; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .35rem;
}

.feature-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  counter-reset: none;
}
.feature-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 1.2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.feature-list__num {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
  color: var(--gold-deep); line-height: 1; flex-shrink: 0;
}
.feature-list h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.feature-list p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.sheikh-split {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center;
}
@media (min-width: 860px) {
  .sheikh-split { grid-template-columns: minmax(240px, 380px) 1fr; }
}
.sheikh-split__photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--cream-2);
  aspect-ratio: 4 / 5;
}
.sheikh-split__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sheikh-split__role {
  font-weight: 600; color: var(--gold-deep); margin: 0 0 1rem; letter-spacing: .02em;
}

.social-feeds { background: #fff; border-block: 1px solid var(--line); }
.social-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.social-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.social-card__icon { color: var(--maroon); margin-bottom: .25rem; }
.social-card__icon .ico { width: 28px; height: 28px; }
.social-card h3 { margin: 0; }
.social-card__handle { font-weight: 600; color: var(--gold-deep); margin: 0; font-size: .92rem; }
.social-card > p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.social-card__preview {
  margin: .5rem 0; min-height: 140px; border-radius: var(--radius-sm);
  display: grid; place-items: center; font-weight: 600; color: #fff;
}
.social-card__preview--ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcb045);
}
.social-card__preview--yt {
  background: linear-gradient(135deg, #4a1518, #c4302b);
}
.social-card__embed {
  margin: .5rem 0; border-radius: var(--radius-sm); overflow: hidden;
  background: #000; aspect-ratio: 16 / 9;
}
.social-card__embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.social-card__embed--fb { aspect-ratio: auto; min-height: 280px; background: #fff; }
.social-card__fallback { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.social-card .btn { margin-top: auto; align-self: flex-start; }

.visit-strip__inner {
  display: grid; gap: 1.75rem; align-items: center;
}
@media (min-width: 800px) {
  .visit-strip__inner { grid-template-columns: minmax(220px, 360px) 1fr; }
}
.visit-strip__thumb {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 2; background: var(--cream-2);
}
.visit-strip__thumb img { width: 100%; height: 100%; object-fit: cover; }

.programme-detail-list { display: grid; gap: 1.5rem; }
.programme-detail {
  display: grid; gap: 1rem; grid-template-columns: auto 1fr;
  padding: 1.5rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
}
.programme-detail__num {
  font-family: var(--font-head); font-size: 2rem; color: var(--gold-deep); font-weight: 600; line-height: 1;
}
.programme-detail__meta { font-size: .9rem; color: var(--ink-soft); }
.card__more { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .9rem; }
.card__more a { color: var(--gold-deep); }

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none !important; }
}

/* =========================================================================
   Scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
