:root {
  --bg: #f4f1e9;
  --surface: #fbfaf6;
  --surface-2: #ebe7dd;
  --ink: #142a3d;
  --muted: #607080;
  --line: #d9d5ca;
  --navy: #14375f;
  --navy-deep: #0d2743;
  --teal: #2e7771;
  --teal-soft: #d9ebe6;
  --gold: #c99754;
  --coral: #ce6b55;
  --white: #fff;
  --shadow: 0 22px 60px rgba(20, 42, 61, .10);
  --radius: 24px;
  --header: rgba(244, 241, 233, .9);
}

html[data-theme="dark"] {
  --bg: #0d1924;
  --surface: #132433;
  --surface-2: #1b3040;
  --ink: #eef4f5;
  --muted: #a8b8c2;
  --line: #2b4150;
  --navy: #7aa2ca;
  --navy-deep: #08131d;
  --teal: #68b2aa;
  --teal-soft: #183c3c;
  --gold: #dbb478;
  --coral: #e68870;
  --white: #fff;
  --shadow: 0 26px 70px rgba(0, 0, 0, .28);
  --header: rgba(13, 25, 36, .9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; line-height: 1.55; transition: background .25s ease, color .25s ease; }
body, button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, summary { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 100px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 15px; color: #fff; background: #000; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.kicker, .eyebrow { margin: 0 0 14px; color: var(--teal); font-size: .73rem; line-height: 1.2; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.035em; }
h2 { margin-bottom: 0; font-size: clamp(2.15rem, 4.7vw, 4.6rem); max-width: 800px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; min-height: 76px; padding: 0 max(24px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; color: var(--ink); background: var(--header); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 35px rgba(10, 25, 38, .08); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--navy-deep); border-radius: 10px; font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .84rem; letter-spacing: .03em; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: .66rem; }
.desktop-nav { justify-self: center; display: flex; gap: 28px; }
.desktop-nav a { position: relative; color: var(--muted); font-size: .78rem; font-weight: 700; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 -9px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.theme-icon { color: var(--gold); font-size: 1.1rem; }
.theme-label { font-size: .72rem; font-weight: 800; }
.header-contact { padding: 11px 15px; color: #fff; background: var(--navy-deep); border-radius: 999px; font-size: .72rem; font-weight: 800; text-decoration: none; }
.menu-button { display: none; width: 42px; height: 42px; place-content: center; gap: 6px; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.menu-button > span:not(.sr-only) { width: 17px; height: 2px; background: var(--ink); }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; color: #fff; background: #11283e; }
.hero-photo, .hero-overlay { position: absolute; inset: 0; }
.hero-photo { background: url("assets/hero.jpg") center 43% / cover no-repeat; transform: scale(1.02); }
.hero-overlay { background: linear-gradient(90deg, rgba(7, 24, 39, .94) 0%, rgba(10, 32, 51, .76) 54%, rgba(10, 32, 51, .18) 100%), linear-gradient(0deg, rgba(7, 24, 39, .52), transparent 58%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.hero .eyebrow { color: #bdd8d1; }
.hero h1 { max-width: 860px; margin: 0 0 28px; font-size: clamp(3.2rem, 7.6vw, 7.4rem); font-weight: 850; }
.hero h1 span { color: #d9d6c7; font-weight: 350; }
.hero-lead { max-width: 670px; margin-bottom: 35px; color: rgba(255,255,255,.83); font-size: clamp(1rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary { color: var(--navy-deep); background: #fff; }
.secondary { color: #fff; border: 1px solid rgba(255,255,255,.38); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transform: translateX(-50%); }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); }

.overview { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.section-intro { align-self: start; position: sticky; top: 110px; }
.overview-copy { color: var(--muted); font-size: 1rem; }
.lead-copy { color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; }
.outcome-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.outcome-grid article { min-height: 210px; padding: 28px 25px; border-right: 1px solid var(--line); }
.outcome-grid article:last-child { border-right: 0; }
.outcome-grid span { color: var(--coral); font-size: .72rem; font-weight: 850; }
.outcome-grid h3 { margin: 48px 0 12px; font-size: 1.25rem; }
.outcome-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.course-index { position: sticky; top: 75px; z-index: 50; color: #fff; background: var(--navy-deep); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.index-inner { min-height: 78px; display: grid; grid-template-columns: .55fr repeat(3, 1fr); align-items: stretch; }
.index-label { display: flex; align-items: center; color: rgba(255,255,255,.48); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.index-inner a { padding: 15px 20px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: background .2s ease; }
.index-inner a:hover { background: rgba(255,255,255,.08); }
.index-inner b { color: #a9d5ce; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.index-inner a span { font-size: .83rem; }

.section-heading { margin-bottom: 56px; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 50px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .95rem; }
.day-module { margin-bottom: 42px; scroll-margin-top: 175px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.day-header { min-height: 176px; padding: 30px 34px; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 26px; border-bottom: 1px solid var(--line); }
.day-number { width: 76px; height: 76px; display: grid; place-items: center; color: #fff; background: var(--navy-deep); border-radius: 50%; font-size: 1.25rem; font-weight: 850; }
.day-header p { margin-bottom: 5px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.day-header h3 { margin: 0 0 4px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.day-header > div > span { color: var(--muted); font-size: .92rem; }
.day-header > a { color: var(--muted); font-size: .72rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.day-header > a span { margin-left: 8px; color: var(--coral); }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; }
.topic-card { padding: 38px 34px; }
.topic-card:first-child { border-right: 1px solid var(--line); }
.topic-top { display: flex; justify-content: space-between; color: var(--teal); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.topic-top small { color: var(--muted); font-size: inherit; }
.topic-card h4 { margin: 32px 0 12px; font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.topic-card > p { min-height: 54px; color: var(--muted); font-size: .9rem; }
.resource-list { margin-top: 28px; border-top: 1px solid var(--line); }
.resource-list > div, .workshop-files { min-height: 66px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.resource-list p, .workshop-files p { margin: 0; }
.resource-list strong, .resource-list small, .workshop-files strong, .workshop-files small { display: block; }
.resource-list strong, .workshop-files strong { font-size: .84rem; }
.resource-list small, .workshop-files small { color: var(--muted); font-size: .68rem; }
.file-badge { min-width: 42px; height: 28px; padding: 0 5px; display: inline-grid; place-items: center; color: #fff; background: var(--navy); border-radius: 5px; font-size: .58rem; font-weight: 900; letter-spacing: .04em; }
.file-badge.alt { background: var(--teal); }
.soon { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.workshop-card { margin: 0 26px; padding: 26px; display: grid; grid-template-columns: 140px 1fr 285px; align-items: center; gap: 28px; color: #fff; background: linear-gradient(135deg, var(--navy-deep), #20514f); border-radius: 18px; }
.workshop-label { align-self: stretch; padding-right: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,.2); }
.workshop-label span { color: #a8d3cc; font-size: .63rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.workshop-label b { color: rgba(255,255,255,.16); font-size: 3.7rem; line-height: 1; }
.workshop-card h4 { margin: 0 0 7px; font-size: 1.35rem; }
.workshop-card > div > p { margin: 0; color: rgba(255,255,255,.7); font-size: .82rem; }
.workshop-files { border: 0; border-left: 1px solid rgba(255,255,255,.2); padding-left: 24px; }
.file-badge.light { color: var(--navy-deep); background: #fff; }
.workshop-files small, .soon.light { color: rgba(255,255,255,.62); }
.day-instructors { min-height: 88px; padding: 18px 34px; display: flex; align-items: center; gap: 12px; }
.day-instructors > span { margin-right: 6px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.day-instructors a { padding: 6px 13px 6px 6px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: var(--surface-2); border-radius: 999px; font-size: .75rem; font-weight: 750; text-decoration: none; }
.day-instructors img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; }

.materials-summary { padding-block: 58px; background: var(--surface-2); }
.compact-heading { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 42px; }
.compact-heading h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
.compact-heading > p { margin: 0; color: var(--muted); font-size: .9rem; }
.text-link { color: var(--teal); font-size: .72rem; font-weight: 850; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.text-link span { margin-left: 7px; }

.join-banner { padding: 0; margin-top: 100px; margin-bottom: 100px; display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; color: #fff; background: var(--navy-deep); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.join-copy { padding: 54px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 8% 8%, rgba(105,178,170,.35), transparent 38%), linear-gradient(135deg, var(--navy-deep), #152f49); }
.join-copy .kicker { color: #afd8d2; }
.join-copy h2 { margin-bottom: 20px; font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
.join-copy p:last-child { max-width: 500px; margin: 0; color: rgba(255,255,255,.72); }
.join-form { padding: 54px; align-content: center; display: grid; gap: 17px; background: #214d4b; }
.join-form label span, .contact-form label span { display: block; margin-bottom: 7px; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.join-form input, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; outline: 0; }
.join-form input:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,84,.2); }
.join-form button, .contact-form button { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: var(--navy-deep); background: #fff; border: 0; border-radius: 9px; font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.join-form > small { color: rgba(255,255,255,.58); }
.honey { position: absolute !important; left: -9999px !important; }

.instructor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.instructor-card { scroll-margin-top: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.instructor-card > img { width: 100%; aspect-ratio: 1.2; object-fit: cover; object-position: center 25%; filter: saturate(.78); }
.instructor-card > div { padding: 26px; }
.role { margin-bottom: 9px; color: var(--teal); font-size: .65rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.instructor-card h3 { margin-bottom: 9px; font-size: 1.45rem; }
.expertise { min-height: 42px; margin-bottom: 20px; color: var(--muted); font-size: .75rem; }
.instructor-card details { padding-top: 14px; border-top: 1px solid var(--line); }
.instructor-card summary { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 850; text-transform: uppercase; cursor: pointer; list-style: none; }
.instructor-card summary::-webkit-details-marker { display: none; }
.instructor-card details[open] summary span { transform: rotate(45deg); }
.instructor-card details > p { margin-top: 18px; color: var(--muted); font-size: .84rem; }
.instructor-card details ul { padding-left: 18px; color: var(--muted); font-size: .77rem; }
.instructor-card details a { color: var(--teal); font-size: .76rem; font-weight: 750; }

.sharekat { color: #fff; background: #0f3442; }
.sharekat-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.sharekat-word { margin: 0 0 30px; color: #e4c49a; font-size: clamp(3rem, 6vw, 6rem); font-weight: 850; line-height: 1; }
.sharekat .kicker { color: #93ccc4; }
.sharekat h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4rem); }
.sharekat-intro > p:not(.kicker):not(.sharekat-word) { max-width: 510px; color: rgba(255,255,255,.68); }
.sharekat-button { margin-top: 16px; color: #113244; background: #fff; }
.tool-deck { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tool-card { min-height: 158px; padding: 23px; text-align: left; color: #fff; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-radius: 16px; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.tool-card:hover, .tool-card.is-active { transform: translateY(-3px); background: rgba(255,255,255,.12); border-color: rgba(228,196,154,.75); }
.tool-card > span { display: block; margin-bottom: 19px; color: #e4c49a; font-size: 1.1rem; font-weight: 850; }
.tool-card strong, .tool-card small { display: block; }
.tool-card strong { margin-bottom: 5px; font-size: .96rem; }
.tool-card small { color: rgba(255,255,255,.58); font-size: .73rem; }

.accordion-stack { display: grid; gap: 14px; }
.resource-accordion { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.resource-accordion > summary { min-height: 96px; padding: 20px 26px; display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 25px; cursor: pointer; list-style: none; }
.resource-accordion > summary::-webkit-details-marker { display: none; }
.resource-accordion summary div { display: flex; align-items: center; gap: 22px; }
.resource-accordion summary div > span { color: var(--coral); font-size: .7rem; font-weight: 850; }
.resource-accordion h3 { margin: 0; font-size: 1.25rem; }
.resource-accordion summary b { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.resource-accordion summary i { font-style: normal; font-size: 1.3rem; }
.resource-accordion[open] summary i { transform: rotate(45deg); }
.reference-grid { padding: 0 26px 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.reference-grid a { min-height: 78px; padding: 10px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; background: var(--surface-2); border-radius: 11px; text-decoration: none; }
.reference-grid img, .ref-mark { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
.ref-mark { display: grid; place-items: center; color: #fff; background: var(--navy-deep); font-size: .8rem; font-weight: 900; }
.ref-mark.arabic { font-size: 1.3rem; }
.reference-grid strong, .reference-grid small { display: block; }
.reference-grid strong { font-size: .83rem; }
.reference-grid small { color: var(--muted); font-size: .7rem; }
.reference-grid > a > span { color: var(--teal); }
.book-grid { padding: 0 26px 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.book-grid article { min-width: 0; background: var(--surface-2); border-radius: 12px; overflow: hidden; }
.book-grid img { width: 100%; aspect-ratio: 1.35; object-fit: contain; padding: 16px; background: #e7e3d9; }
.book-grid article div { padding: 16px; }
.book-grid strong, .book-grid small { display: block; }
.book-grid strong { font-size: .82rem; }
.book-grid small { color: var(--teal); font-size: .67rem; }
.book-grid p { margin: 9px 0 0; color: var(--muted); font-size: .7rem; }

.feedback { padding-top: 20px; }
.feedback-card { min-height: 320px; padding: 48px; display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 50px; background: var(--teal-soft); border-radius: 24px; overflow: hidden; }
.feedback-card h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.7vw, 3.7rem); }
.feedback-card p:last-child { color: var(--muted); }
.feedback-card img { max-height: 250px; margin-inline: auto; object-fit: contain; mix-blend-mode: multiply; }
html[data-theme="dark"] .feedback-card img { mix-blend-mode: normal; border-radius: 16px; }

.contact { color: #fff; background: var(--navy-deep); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-copy { padding-top: 8px; }
.contact-copy .kicker { color: #9ad0c9; }
.contact-copy h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4.7rem); }
.contact-copy p { max-width: 460px; color: rgba(255,255,255,.66); }
.contact-copy a { color: #d8c09c; font-size: .85rem; }
.contact-form { padding: 32px; display: grid; gap: 18px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.contact-form select option { color: #111; }
.contact-form textarea { resize: vertical; }
.contact-form button { color: var(--navy-deep); }

.footer { padding-block: 28px; background: #07131d; color: rgba(255,255,255,.72); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 35px; }
.footer strong, .footer span { display: block; }
.footer strong { color: #fff; font-size: .8rem; }
.footer span, .footer p, .footer a { margin: 0; font-size: .68rem; }
.footer a { text-decoration: none; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; max-width: 360px; padding: 14px 18px; color: #fff; background: #1f665f; border-radius: 10px; box-shadow: var(--shadow); font-size: .82rem; opacity: 0; pointer-events: none; transform: translateY(15px); transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .desktop-nav, .header-contact { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: grid; }
  .mobile-nav { position: absolute; inset: 76px 16px auto; padding: 12px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .2s ease; }
  .mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-nav a { padding: 12px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 750; }
  .mobile-nav a:last-child { border: 0; }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .outcome-grid article:nth-child(2) { border-right: 0; }
  .outcome-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workshop-card { grid-template-columns: 105px 1fr; }
  .workshop-files { grid-column: 2; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .compact-heading { grid-template-columns: 1fr 1fr; }
  .compact-heading .text-link { grid-column: 2; }
  .join-banner { grid-template-columns: 1fr; }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-card { display: grid; grid-template-columns: 230px 1fr; }
  .instructor-card > img { height: 100%; aspect-ratio: auto; }
  .sharekat-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding-block: 72px; }
  .brand small, .theme-label { display: none; }
  .hero { min-height: 86vh; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,24,39,.94), rgba(10,32,51,.67)), linear-gradient(0deg, rgba(7,24,39,.58), transparent); }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.7rem); }
  .overview, .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .section-intro { position: static; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .outcome-grid article:last-child { border-bottom: 0; }
  .outcome-grid h3 { margin-top: 24px; }
  .course-index { top: 75px; overflow-x: auto; }
  .index-inner { width: max-content; min-width: 100%; grid-template-columns: 90px repeat(3, 190px); }
  .index-inner a { padding-inline: 14px; }
  .day-header { padding: 24px; grid-template-columns: 62px 1fr; }
  .day-number { width: 56px; height: 56px; }
  .day-header > a { display: none; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { padding: 30px 24px; }
  .topic-card:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .workshop-card { margin: 0 14px; padding: 24px; grid-template-columns: 1fr; }
  .workshop-label { min-height: 70px; padding: 0 0 17px; flex-direction: row; align-items: end; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .workshop-label b { font-size: 2.7rem; }
  .workshop-files { grid-column: 1; }
  .day-instructors { padding: 18px 20px; align-items: flex-start; flex-wrap: wrap; }
  .day-instructors > span { width: 100%; }
  .compact-heading { grid-template-columns: 1fr; }
  .compact-heading .text-link { grid-column: 1; }
  .join-copy, .join-form { padding: 34px 26px; }
  .instructor-card { display: block; }
  .instructor-card > img { height: auto; aspect-ratio: 1.3; }
  .tool-deck { grid-template-columns: 1fr; }
  .resource-accordion > summary { grid-template-columns: 1fr 22px; }
  .resource-accordion summary > b { display: none; }
  .reference-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .feedback-card { padding: 30px; grid-template-columns: 1fr; }
  .feedback-card img { max-height: 190px; }
  .contact-form { padding: 22px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p { display: none; }
}

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

.language-toggle { display:inline-flex; align-items:center; min-height:38px; padding:0 12px; border:1px solid var(--line); border-radius:999px; text-decoration:none; font-family:'Cairo',sans-serif; font-size:.78rem; font-weight:700; white-space:nowrap; }
html[lang="ar"] body { font-family:'Cairo',sans-serif; line-height:1.8; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height:1.5; letter-spacing:0; }
html[lang="ar"] .kicker, html[lang="ar"] .eyebrow, html[lang="ar"] button, html[lang="ar"] span, html[lang="ar"] .role, html[lang="ar"] .day-header p, html[lang="ar"] .index-inner b, html[lang="ar"] .index-label, html[lang="ar"] .button { letter-spacing:0; }
html[lang="ar"] .hero h1 { font-size:clamp(2.8rem,6.2vw,6rem); }
html[lang="ar"] .hero-overlay { background:linear-gradient(270deg,rgba(7,24,39,.94),rgba(10,32,51,.76) 54%,rgba(10,32,51,.18)),linear-gradient(0deg,rgba(7,24,39,.52),transparent 58%); }
html[dir="rtl"] .tool-card { text-align:right; }
html[dir="rtl"] .outcome-grid article { border-right:0; border-inline-end:1px solid var(--line); }
html[dir="rtl"] .outcome-grid article:last-child { border-inline-end:0; }
html[dir="rtl"] .topic-card:first-child { border-right:0; border-inline-end:1px solid var(--line); }
html[dir="rtl"] .index-inner a { border-left:0; border-inline-start:1px solid rgba(255,255,255,.14); }
html[dir="rtl"] .workshop-label { padding-right:0; padding-inline-end:24px; border-right:0; border-inline-end:1px solid rgba(255,255,255,.2); }
html[dir="rtl"] .workshop-files { padding-left:0; padding-inline-start:24px; border-left:0; border-inline-start:1px solid rgba(255,255,255,.2); }
html[dir="rtl"] .day-instructors a { padding:6px 6px 6px 13px; }
html[dir="rtl"] .instructor-card details ul { padding-left:0; padding-inline-start:18px; }
input[type="email"], a[href^="mailto:"] { direction:ltr; unicode-bidi:isolate; }
@media (max-width:1100px) { html[lang="ar"] .desktop-nav { gap:14px; } html[lang="ar"] .site-header { gap:14px; } }
@media (max-width:980px) { html[dir="rtl"] .outcome-grid article:nth-child(2) { border-inline-end:0; } html[dir="rtl"] .workshop-files { border-inline-start:0; padding-inline-start:0; } }
@media (max-width:720px) { .site-header { padding-inline:14px; gap:10px; } .header-actions { gap:6px; } .language-toggle { padding-inline:9px; } html[dir="rtl"] .outcome-grid article { border-inline-end:0; } html[dir="rtl"] .topic-card:first-child { border-inline-end:0; } html[dir="rtl"] .workshop-label { border-inline-end:0; padding-inline-end:0; } html[lang="ar"] .hero h1 { font-size:clamp(2.4rem,10vw,4rem); } }
/* Shared daily resources */
.day-files { margin:0 26px; padding:26px 8px; display:grid; grid-template-columns:180px minmax(0,1fr); gap:24px; border-top:1px solid var(--line); align-items:start; }
.day-files h4 { margin:8px 0; font-size:1.3rem; }
.day-file-list { display:flex; flex-wrap:wrap; gap:12px; }
.day-file { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:16px; background:var(--surface-2); border-radius:12px; flex:1 1 270px; min-width:0; }
.day-file strong { font-size:.84rem; flex:1; min-width:120px; }
.workshops-row { border-top:1px dashed var(--line); }
/* A single-color invitation to continue the journey. */
.join-banner { background:#14375f; position:relative; isolation:isolate; }
.join-banner::before { content:''; position:absolute; width:320px; height:320px; border:1px dashed rgba(255,255,255,.22); border-radius:50%; inset:-140px auto auto 30%; z-index:-1; }
.join-copy,.join-form { background:transparent; }
.join-copy h2 { font-size:clamp(2.2rem,4.3vw,4.1rem); }
.join-copy p:last-child { color:#fff; }
.join-form { gap:20px; }
.journey-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px; }
.journey-tags span { border:1px solid rgba(255,255,255,.35); padding:6px 16px; border-radius:50px; font-size:.8rem; color:#fff; }
.join-form .consent { display:flex; align-items:flex-start; gap:12px; }
.join-form .consent input { width:20px; height:20px; padding:0; margin-top:4px; flex:0 0 20px; accent-color:#dbb478; }
.join-form .consent span { font-size:.75rem; font-weight:400; line-height:1.7; letter-spacing:0; text-transform:none; color:#fff; }
.join-form button { min-height:54px; background:#dbb478; color:#102D50; }
/* Sharekat brand, independent of the course theme. */
.sharekat { background:#DDF3EE; color:#0F5C5A; border-block:1px solid #A8D5BA; }
.sharekat-layout { grid-template-columns:.85fr 1.15fr; gap:50px; }
.sharekat-word { color:#0F5C5A; }
.sharekat .kicker { color:#0F5132; }
.sharekat h2 { color:#0F5C5A; }
.sharekat-intro>p:not(.kicker):not(.sharekat-word) { color:#0A3F3E; }
.sharekat-button { background:#0F5C5A; color:#fff; }
.sharekat-building { width:100%; max-height:370px; object-fit:contain; background:#fff; border-radius:20px; margin-bottom:22px; }
.sharekat .tool-card { background:#0F5C5A; color:#fff; border:1px solid #A8D5BA; min-height:145px; }
.sharekat .tool-card>span { color:#A8D5BA; }
.sharekat .tool-card small { color:#DDF3EE; }
.sharekat .tool-card:hover,.sharekat .tool-card.is-active { background:#0A3F3E; border-color:#27AE60; }
.contact-feedback-intro { border-bottom:1px solid rgba(255,255,255,.22); padding-bottom:20px; }
.contact-feedback-intro h2 { font-size:clamp(1.6rem,2.7vw,2.5rem); margin-bottom:12px; }
.contact-feedback-intro .kicker { color:#9ad0c9; }
.contact-feedback-intro>p:last-child { color:rgba(255,255,255,.8); margin-bottom:0; }
.day-module>*,.join-banner>*,.sharekat-layout>* { min-width:0; }
@media(max-width:980px) { .sharekat-layout { grid-template-columns:1fr; } .sharekat-building { max-height:420px; } }
@media(max-width:720px) { .day-files { grid-template-columns:1fr; margin-inline:20px; gap:10px; padding-block:22px; } .day-file { flex-basis:100%; } .sharekat .tool-deck { grid-template-columns:1fr 1fr; } .sharekat .tool-card { padding:18px; } .join-banner { margin-block:50px; } }
@media(max-width:380px) { .sharekat .tool-deck { grid-template-columns:1fr; } }

/* Cairo for all English and Arabic interface text. */
html,body,button,input,select,textarea { font-family:'Cairo',sans-serif; }
html[lang="en"] h1,html[lang="en"] h2,html[lang="en"] h3,html[lang="en"] h4 { line-height:1.22; letter-spacing:-.02em; }
html[lang="en"] .hero h1 { font-size:clamp(2.8rem,6.6vw,6.6rem); }
html[lang="en"] .site-header { gap:18px; }
@media(max-width:720px) { html[lang="en"] .hero h1 { font-size:clamp(2.4rem,11vw,4.4rem); } }
