@font-face {
  font-family: "JF Flat";
  src: url("fonts/jf_flat_regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neo Sans Arabic";
  src: url("fonts/neo_sans_medium.woff") format("woff");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #17332e;
  --muted: #65716b;
  --paper: #f7f7f0;
  --white: #fff;
  --green: #204d42;
  --green-light: #e9efe6;
  --gold: #b3cda0;
  --border: #dce1d6;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "JF Flat", Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4, .brand-name { font-family: "Neo Sans Arabic", "JF Flat", Tahoma, Arial, sans-serif; font-weight: 500; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #987740; outline-offset: 5px; }
::selection { color: white; background: #386849; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 10px; right: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* Shared navigation remains visible and usable without JavaScript. */
.site-header { background: var(--paper); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 104px; padding-block: 20px; }
.site-brand, .brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: #e7efdf; border-radius: 11px; }
.brand-mark svg { width: 30px; height: 30px; }
.brand-name { display: block; font-size: 20px; line-height: 1.45; }
.brand-tagline { display: block; font-size: 12px; color: var(--muted); letter-spacing: .15px; margin-top: 3px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 14px; }
.site-nav a { display: inline-flex; align-items: center; position: relative; min-height: 44px; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; bottom: 3px; right: 0; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a.active::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Homepage */
.hero { overflow: hidden; position: relative; }
.hero-layout { min-height: 608px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 45px; padding-top: 62px; padding-bottom: 44px; }
.eyebrow, .section-kicker { font-size: 13px; color: var(--green); margin-bottom: 15px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #71925c; box-shadow: 0 0 0 5px #e8efdf; }
.hero h1 { font-size: clamp(34px, 3.5vw, 51px); line-height: 1.55; letter-spacing: -.9px; }
.hero h1 > span { color: #62834f; }
.hero-description { max-width: 525px; color: var(--muted); font-size: 16px; line-height: 2.1; margin-top: 22px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; border: 1px solid transparent; padding: 12px 23px; border-radius: 7px; font-size: 14px; line-height: 1.7; text-align: center; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: #315349; }
.button-secondary { background: transparent; border-color: #bcc6b5; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: #edf0e7; }
.small-play { font-size: 10px; border: 1px solid #81907c; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; padding-left: 1px; }
.hero-note { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #73806e; margin-top: 30px; }
.note-line { width: 34px; height: 1px; background: #a2b292; flex-shrink: 0; }
.hero-visual { align-self: end; min-width: 0; position: relative; isolation: isolate; padding-top: 20px; }
.portrait-orbit { position: absolute; z-index: -1; width: 94%; aspect-ratio: 1; border: 1px solid #d4ddca; border-radius: 50%; left: -14%; top: -10px; }
.portrait-frame { position: relative; border-radius: 180px 180px 16px 16px; overflow: hidden; padding-top: 36px; background: #e4ebdc; }
.portrait-frame::before { content: ""; width: 110%; height: 70%; border: 1px solid #cbd8bc; border-radius: 50%; position: absolute; top: 25%; left: 4%; }
.hero-portrait { position: relative; width: 100%; filter: saturate(.72); }
.portrait-caption { position: absolute; bottom: 26px; right: -18px; display: flex; gap: 13px; align-items: center; background: #fcfdf9; border: 1px solid #dce3d6; padding: 15px 21px; box-shadow: 0 5px 22px #17332e0d; border-radius: 8px; font-family: "Neo Sans Arabic", sans-serif; font-size: 17px; }
.caption-line { width: 3px; height: 35px; background: #7d9b61; border-radius: 2px; }
.caption-detail { display: block; font: 11px/1.8 "JF Flat", sans-serif; color: var(--muted); margin-top: 3px; }
.section { padding-block: 70px; }
.featured-section { border-top: 1px solid var(--border); background: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 30px; }
.section-kicker { margin-bottom: 7px; color: #698453; }
h2 { font-size: 31px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 15px; font-size: 13px; min-height: 44px; color: var(--green); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.video-card { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: white; display: flex; flex-direction: column; }
.video-cover { position: relative; min-height: 184px; display: grid; place-items: center; background: #f0f1eb; isolation: isolate; overflow: hidden; }
.video-cover::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: #ffffff70; z-index: -1; }
.cover-jihad { background: #edf0e3; }
.cover-belief { background: #e6edea; }
.cover-questions { background: #f2ece3; }
.cover-quran { background: #e9e9ec; }
.video-cover img { width: 149px; height: 149px; object-fit: contain; transition: transform .2s ease; }
.video-cover:hover img { transform: scale(1.04); }
.cover-label { position: absolute; top: 12px; right: 12px; background: #fffdf8e8; border-radius: 4px; padding: 2px 8px; font-size: 10px; color: #526052; }
.play-badge { position: absolute; bottom: 12px; left: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 10px; padding-left: 1px; }
.video-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-category { color: #687f5a; font-size: 11px; margin-bottom: 6px; }
.video-card h3 { font-size: 19px; line-height: 1.7; min-height: 64px; margin-bottom: 16px; }
.video-card h3 a:hover { color: #67834f; }
.watch-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e8eae3; padding-top: 12px; margin-top: auto; font-size: 12px; min-height: 44px; color: var(--green); }
.watch-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.topics-section { background: #eff2e8; }
.topics-layout { display: grid; grid-template-columns: .9fr 1.6fr; gap: 70px; align-items: center; }
.topics-intro h2 { font-size: 35px; }
.topics-intro p:not(.section-kicker) { color: var(--muted); font-size: 14px; margin-top: 16px; }
.topics-intro .text-link { margin-top: 16px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.topic-card { display: block; position: relative; padding: 23px 24px; border: 1px solid #d7decd; border-radius: 9px; background: #f8f9f3; transition: border-color .18s ease, background .18s ease; }
.topic-card:hover { border-color: #779365; background: white; }
.topic-number { font: 12px/1.5 Arial, sans-serif; color: #8b9b7b; display: block; margin-bottom: 12px; }
.topic-card h3 { font-size: 20px; margin-bottom: 13px; }
.topic-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.articles-section { background: white; }
.reading-panel { display: flex; align-items: center; gap: 30px; padding: 35px 38px; border: 1px solid var(--border); background: #fafaf5; border-radius: 12px; }
.reading-illustration { width: 105px; height: 105px; background: #e9edde; color: #698453; border-radius: 50%; padding: 14px; flex-shrink: 0; }
.reading-copy { flex: 1; }
.reading-copy h2 { font-size: 29px; }
.reading-copy p:not(.section-kicker) { margin-top: 7px; font-size: 14px; color: var(--muted); }
.reading-panel > .button { flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.article-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: white; }
.article-image { background: #e7e9de; aspect-ratio: 2 / 1; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 21px; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 22px; line-height: 1.75; margin-bottom: 12px; }
.article-card h3 a:hover { color: #67834f; }
.article-card-body .text-link { margin-top: auto; font-size: 12px; }
.connect-section { background: var(--ink); color: #f9faf4; padding-block: 59px; position: relative; overflow: hidden; }
.connect-section .section-kicker { color: var(--gold); }
.connect-layout { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.connect-layout h2 { font-size: 30px; }
.connect-layout p:not(.section-kicker) { color: #becbbf; font-size: 14px; margin-top: 14px; }
.connect-actions { display: grid; grid-template-columns: auto auto; gap: 12px; }
.button-light { background: #eff3e8; color: var(--ink); }
.button-light:hover { background: white; }
.button-outline-light { border-color: #6d8375; color: #f4f6f1; }
.button-outline-light:hover { background: #2b473c; border-color: #afbea9; }
.connect-question { grid-column: 1 / -1; margin-top: 8px; text-align: center; color: #c0d0b5; font-size: 12px; min-height: 44px; display: flex; justify-content: center; align-items: center; gap: 15px; }
.connect-question:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }

/* Shared footer and interior-page patterns. */
.site-footer { background: #f7f7f0; padding-top: 36px; font-size: 12px; }
.footer-top, .footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-bottom: 28px; }
.footer-brand > a { font-family: "Neo Sans Arabic", sans-serif; font-size: 18px; }
.footer-brand p { color: var(--muted); margin-top: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: #62834f; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; border-top: 1px solid var(--border); padding-block: 18px; color: var(--muted); font-size: 11px; }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.footer-credit { color: var(--muted); font-size: 11px; }
.page-intro, .page-hero { padding-block: 70px 48px; background: #eff2e8; border-bottom: 1px solid var(--border); }
.page-intro h1, .page-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.6; }
.page-lead, .lead { max-width: 800px; font-size: 17px; color: var(--muted); margin-top: 19px; line-height: 2.1; }
.page-content { padding-block: 48px 70px; }
.content-column { max-width: 880px; }
.content-card, .info-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.content-column > .content-card + .content-card { margin-top: 22px; }
.content-card h2, .info-card h2 { font-size: 23px; margin-bottom: 14px; }
.content-card p + p, .info-card p + p { margin-top: 14px; }
.content-card p, .info-card p { color: var(--muted); font-size: 15px; line-height: 2; }
.info-grid, .card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.info-card ul, .content-card ul { padding-right: 22px; color: var(--muted); }
.info-card li + li, .content-card li + li { margin-top: 8px; }
.contact-panel { margin-top: 28px; padding: 30px; border: 1px solid #d6dfcc; background: #eaf0e2; border-radius: 12px; }
.contact-panel h2 { font-size: 25px; }
.contact-panel p { color: var(--muted); margin-top: 10px; }
.link-list { margin-block: 15px 0; padding-right: 22px; }
.link-list a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1440px) {
  .hero-layout { padding-top: 72px; padding-bottom: 56px; }
}

@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .brand-name { font-size: 18px; }
  .site-nav { gap: 4px 14px; font-size: 13px; }
  .hero-layout { gap: 30px; min-height: 560px; }
  .hero h1 { font-size: 39px; }
  .video-grid { gap: 16px; }
  .video-card-body { padding: 16px; }
  .video-card h3 { font-size: 17px; }
  .topics-layout { gap: 40px; }
  .connect-actions { grid-template-columns: 1fr; }
  .connect-question { grid-column: auto; }
}

@media (max-width: 860px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 12px; padding-block: 18px 12px; }
  .site-brand, .brand { align-self: flex-start; }
  .site-nav { justify-content: space-between; gap: 4px 16px; }
  .hero-layout { grid-template-columns: 1.2fr 1fr; gap: 24px; min-height: auto; padding-top: 42px; padding-bottom: 42px; }
  .hero h1 { font-size: 31px; }
  .hero-description { font-size: 14px; }
  .hero .button { font-size: 12px; padding: 11px 16px; }
  .hero-note { font-size: 10px; margin-top: 22px; }
  .portrait-caption { right: -8px; padding: 10px 13px; font-size: 14px; bottom: 14px; }
  .caption-detail { font-size: 9px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .video-cover { min-height: 192px; }
  .video-card h3 { font-size: 21px; min-height: 68px; }
  .video-card-body { padding: 22px; }
  .topics-layout { grid-template-columns: 1fr; gap: 26px; }
  .topics-intro h2 br { display: none; }
  .topics-intro h2 { font-size: 30px; }
  .topics-intro .text-link { margin-top: 8px; }
  .reading-panel { padding: 28px; gap: 22px; flex-wrap: wrap; }
  .reading-panel .button { margin-right: 126px; }
  .article-grid { gap: 16px; }
  .article-card-body { padding: 17px; }
  .article-card h3 { font-size: 18px; }
  .connect-layout { gap: 32px; }
  .connect-layout h2 { font-size: 25px; }
  .connect-layout p:not(.section-kicker) { font-size: 12px; }
  .footer-top { flex-direction: column; gap: 15px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .header-inner { padding-block: 16px 10px; gap: 10px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 9px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand-name { font-size: 18px; }
  .brand-tagline { font-size: 10px; }
  .site-nav { gap: 2px 15px; justify-content: flex-start; font-size: 12px; }
  .site-nav a { min-height: 41px; }
  .hero-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 35px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(28px, 7.6vw, 40px); letter-spacing: -.4px; line-height: 1.65; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 13px; }
  .hero-description { font-size: 14px; margin-top: 16px; }
  .hero .button { padding: 12px 17px; font-size: 12px; min-height: 49px; }
  .button-row { gap: 10px; margin-top: 22px; }
  .hero-note { font-size: 10px; margin-top: 20px; }
  .note-line { width: 25px; }
  .hero-visual { width: min(100%, 340px); justify-self: center; padding-top: 12px; }
  .portrait-frame { border-radius: 130px 130px 12px 12px; padding-top: 16px; }
  .portrait-orbit { width: 84%; left: -6%; top: 0; }
  .portrait-caption { right: 10px; bottom: 18px; font-size: 15px; padding: 12px 17px; }
  .caption-detail { font-size: 10px; }
  .section { padding-block: 43px; }
  .section-heading { align-items: start; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
  .section-heading h2, h2 { font-size: 25px; }
  .section-kicker { font-size: 11px; }
  .section-heading > .text-link { font-size: 11px; min-height: 35px; margin-top: 6px; }
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
  .video-cover { min-height: 176px; height: 100%; }
  .video-cover img { width: 94px; height: 94px; }
  .video-cover::before { width: 140px; height: 140px; }
  .cover-label { top: 8px; right: 8px; font-size: 9px; }
  .play-badge { width: 26px; height: 26px; left: 8px; bottom: 8px; font-size: 9px; }
  .video-card-body { padding: 16px 14px; }
  .card-category { font-size: 10px; }
  .video-card h3 { font-size: 18px; min-height: auto; margin-bottom: 12px; }
  .watch-link { font-size: 10px; gap: 8px; padding-top: 8px; }
  .topics-intro h2 { font-size: 28px; }
  .topics-intro p:not(.section-kicker) { font-size: 13px; margin-top: 9px; }
  .topics-layout { gap: 20px; }
  .topic-grid { grid-template-columns: 1fr; gap: 12px; }
  .topic-card { padding: 20px; }
  .topic-number { float: left; margin-top: 5px; margin-bottom: 0; }
  .topic-card h3 { font-size: 20px; margin-bottom: 9px; }
  .topic-cta { font-size: 11px; }
  .reading-panel { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; }
  .reading-illustration { width: 77px; height: 77px; padding: 10px; }
  .reading-copy h2 { font-size: 26px; }
  .reading-copy p:not(.section-kicker) { font-size: 13px; }
  .reading-panel .button { margin-right: 0; margin-top: 3px; font-size: 12px; }
  .article-grid { grid-template-columns: 1fr; gap: 18px; }
  .article-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
  .article-image { aspect-ratio: auto; height: 100%; }
  .article-image img { object-position: center; }
  .article-card-body { padding: 17px 15px; }
  .article-card h3 { font-size: 18px; }
  .connect-layout { flex-direction: column; align-items: stretch; gap: 25px; }
  .connect-layout h2 { font-size: 25px; }
  .connect-layout p:not(.section-kicker) { font-size: 13px; }
  .connect-actions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .connect-actions .button { padding: 12px 10px; font-size: 11px; gap: 8px; }
  .connect-question { grid-column: 1 / -1; font-size: 11px; text-align: right; }
  .site-footer { padding-top: 28px; }
  .footer-brand > a { font-size: 17px; }
  .footer-brand p { font-size: 11px; }
  .footer-links { gap: 0 18px; font-size: 11px; }
  .footer-top { padding-bottom: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 18px; font-size: 10px; }
  .footer-bottom a { margin-top: 4px; }
  .page-intro, .page-hero { padding-block: 38px 32px; }
  .page-intro h1, .page-hero h1 { font-size: 30px; }
  .page-lead, .lead { font-size: 14px; margin-top: 12px; }
  .page-content { padding-block: 28px 44px; }
  .info-grid, .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .content-card, .info-card, .contact-panel { padding: 22px; }
  .info-card h2, .content-card h2, .contact-panel h2 { font-size: 22px; }
  .info-card p, .content-card p, .contact-panel p { font-size: 14px; }
}

@media (max-width: 350px) {
  .container { width: calc(100% - 28px); }
  .site-nav { column-gap: 12px; }
  .hero .button-row { align-items: stretch; }
  .hero .button { flex: 1 1 100%; }
  .video-card { grid-template-columns: 96px minmax(0, 1fr); }
  .video-card h3 { font-size: 17px; }
  .video-card-body { padding: 14px 12px; }
  .connect-actions { grid-template-columns: 1fr; }
  .connect-question { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
