/* Generated by scripts/build-reviewed-article-styles.mjs. Do not edit directly. */
/* font-display: optional avoids late font swaps on slow connections for reviewed articles. */

/* Source: typography.css */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('/fonts/thmanyahsans-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('/fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('/fonts/thmanyahsans-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('/fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 800;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('/fonts/thmanyahsans-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('/fonts/thmanyahserifdisplay-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('/fonts/thmanyahserifdisplay-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('/fonts/thmanyahserifdisplay-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('/fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 800;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('/fonts/thmanyahserifdisplay-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('/fonts/thmanyahseriftext-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('/fonts/thmanyahseriftext-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('/fonts/thmanyahseriftext-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('/fonts/thmanyahseriftext-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 800;
  font-display: optional;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('/fonts/thmanyahseriftext-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: optional;
}

:root {
  --ams-font-display: 'Thmanyah Serif Display', 'Times New Roman', serif;
  --ams-font-text: 'Thmanyah Serif Text', 'Times New Roman', serif;
  --ams-font-ui: 'Thmanyah Sans', system-ui, sans-serif;
}

html,
body,
body *,
button,
input,
textarea,
select,
option {
  font-family: var(--ams-font-ui) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ams-opening__title,
[data-font-display] {
  font-family: var(--ams-font-display) !important;
  font-feature-settings: 'salt' 1, 'liga' 1, 'kern' 1;
  font-kerning: normal;
  letter-spacing: normal !important;
}

p,
blockquote,
figcaption,
.ams-opening__caption,
[data-font-text] {
  font-family: var(--ams-font-text) !important;
  font-feature-settings: 'liga' 1, 'kern' 1;
  font-kerning: normal;
}

nav,
nav *,
a,
button,
input,
textarea,
select,
option,
label,
small,
[role='button'],
[data-font-ui] {
  font-family: var(--ams-font-ui) !important;
  font-feature-settings: 'liga' 1, 'kern' 1;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

/* Source: components/amsiyah-footer-scene.css */
.ams-scene-footer {
  --footer-ink: #ffffff;
  --footer-mint: #b3cdcf;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  background: #092e27 !important;
  color: var(--footer-mint) !important;
}

.ams-scene-footer::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to left, rgba(2,24,20,.5) 0%, rgba(2,24,20,.16) 38%, rgba(2,24,20,0) 64%),
    linear-gradient(to top, rgba(2,24,20,.5) 0%, rgba(2,24,20,.02) 42%);
}

.ams-scene-footer::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.035), transparent 31%, transparent 72%, rgba(179,205,207,.025));
}

.ams-footer-scene__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #092e27 url('/assets/scenes/amsiyah-footer-background.jpg') center 58% / cover no-repeat;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.ams-footer-scene__fallback,
.ams-footer-scene__webgl,
.ams-footer-scene__webgl canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ams-footer-scene__fallback {
  object-fit: cover;
  object-position: 50% 58%;
  opacity: 1;
  transform: translateZ(0) scale(1.01);
  filter: saturate(.9) contrast(1.04) brightness(.9);
  backface-visibility: hidden;
}

.ams-footer-scene__webgl {
  z-index: 1;
  opacity: 0;
  transition: opacity .7s ease;
}

.ams-footer-scene__visual.is-webgl-ready .ams-footer-scene__webgl {
  opacity: 1;
}

.ams-footer-scene__webgl canvas {
  display: block;
  object-fit: cover;
}

.ams-footer-scene__veil {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  background:
    linear-gradient(to left, rgba(2,24,20,.42), rgba(2,24,20,.08) 58%, rgba(2,24,20,.2)),
    linear-gradient(to top, rgba(2,24,20,.5), rgba(2,24,20,0) 52%);
}

.ams-footer-composition {
  position: relative;
  z-index: 4;
  width: min(1280px, calc(100% - 48px));
  min-height: clamp(470px, 39vw, 570px);
  margin: 0 auto;
  padding: clamp(62px, 6vw, 82px) 0 clamp(30px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(560px, 1.45fr);
  grid-template-areas: 'brand info';
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  direction: ltr;
  box-sizing: border-box;
}

.ams-footer-composition__content {
  grid-area: info;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  direction: rtl;
}

.ams-footer-cta { display: none; }

.ams-footer-panel {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.ams-footer-panel:first-child {
  padding: 22px 24px !important;
  grid-template-columns: minmax(220px, 1.25fr) minmax(105px, .58fr) minmax(180px, .9fr) !important;
  gap: 20px 24px !important;
  border: 1px solid rgba(179,205,207,.14) !important;
  border-radius: 24px;
  background: rgba(3,34,29,.34);
  box-shadow: 0 24px 70px rgba(0,0,0,.12);
  backdrop-filter: blur(15px) saturate(1.08);
  -webkit-backdrop-filter: blur(15px) saturate(1.08);
}

.ams-footer-panel:first-child > div {
  gap: 10px !important;
}

.ams-footer-panel:first-child > div:first-child {
  gap: 12px !important;
}

.ams-footer-panel + .ams-footer-panel {
  margin-top: 12px !important;
  overflow: hidden;
  border: 1px solid rgba(179,205,207,.12) !important;
  border-radius: 18px;
  background: rgba(3,34,29,.29);
  backdrop-filter: blur(13px) saturate(1.06);
  -webkit-backdrop-filter: blur(13px) saturate(1.06);
}

.ams-footer-panel + .ams-footer-panel > div:first-child {
  padding: 11px 16px !important;
}

.ams-footer-panel + .ams-footer-panel > div:last-child {
  padding: 5px 16px 12px !important;
  gap: 10px 20px !important;
}

.ams-footer-brand {
  grid-area: brand;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 22px;
  padding: 26px 0 8px clamp(4px, 1vw, 14px);
  direction: ltr;
}

.ams-footer-word {
  position: relative;
  z-index: 5;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--footer-ink);
  font-family: var(--ams-font-display) !important;
  font-size: clamp(112px, 12.8vw, 202px);
  font-weight: 400;
  font-feature-settings: 'salt' 1, 'liga' 1, 'kern' 1;
  line-height: .72;
  letter-spacing: normal;
  text-align: left;
  white-space: nowrap;
  text-shadow: 0 18px 48px rgba(0,0,0,.16);
  transform: none;
}

.ams-footer-final {
  position: relative;
  z-index: 7;
  width: min(100%, 350px);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: rgba(198,220,215,.7);
  font-family: var(--ams-font-ui) !important;
  font-size: 11px;
  line-height: 1.7;
  text-align: left;
  direction: rtl;
}

.ams-footer-final__line {
  width: 54px;
  height: 1px;
  order: -1;
  background: rgba(198,220,215,.28);
}

.ams-footer-up {
  position: absolute;
  z-index: 7;
  top: 28px;
  left: max(24px, calc((100% - 1280px) / 2));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217,235,231,.25);
  border-radius: 14px;
  background: rgba(4,42,36,.38);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.ams-footer-up:hover {
  transform: translateY(-4px);
  border-color: rgba(217,235,231,.62);
  background: rgba(37,137,122,.66);
}

.ams-footer-up:focus-visible {
  outline: 3px solid rgba(143,210,199,.72);
  outline-offset: 4px;
}

.ams-footer-up svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1080px) {
  .ams-footer-composition {
    width: min(940px, calc(100% - 36px));
    grid-template-columns: minmax(245px, .7fr) minmax(530px, 1.4fr);
    gap: 30px;
  }

  .ams-footer-word {
    font-size: clamp(96px, 12vw, 138px);
  }
}

@media (max-width: 900px) {
  .ams-footer-scene__fallback {
    object-position: 58% center;
  }

  .ams-scene-footer::before {
    background:
      linear-gradient(to left, rgba(2,24,20,.62), rgba(2,24,20,.08) 80%),
      linear-gradient(to top, rgba(2,24,20,.52), rgba(2,24,20,0) 55%);
  }

  .ams-footer-composition {
    width: min(680px, calc(100% - 28px));
    min-height: 0;
    padding: 82px 0 26px;
    grid-template-columns: 1fr;
    grid-template-areas:
      'info'
      'brand';
    gap: 38px;
  }

  .ams-footer-brand {
    min-height: 190px;
    padding: 10px 0 0;
  }

  .ams-footer-word {
    font-size: clamp(98px, 24vw, 166px);
  }
}

@media (max-width: 640px) {
  .ams-scene-footer {
    width: calc(100% - 16px);
    margin: 8px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-radius: 20px;
  }

  .ams-footer-composition {
    width: 100%;
    padding: 76px max(20px, calc(env(safe-area-inset-right, 0px) + 14px)) 24px max(20px, calc(env(safe-area-inset-left, 0px) + 14px));
    gap: 40px;
  }

  .ams-footer-composition__content { gap: 34px; }

  .ams-footer-cta {
    display: grid;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(179,205,207,.2);
  }

  .ams-footer-cta p {
    max-width: 10ch;
    margin: 0;
    color: #fff;
    font-family: var(--ams-font-display) !important;
    font-size: clamp(38px, 11vw, 50px);
    font-weight: 400;
    line-height: 1.12;
  }

  .ams-footer-cta a {
    width: fit-content;
    min-height: 48px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    border-radius: 12px;
    background: #b7ee83;
    color: #092e27;
    font-weight: 700;
  }

  .ams-footer-panel:first-child {
    padding: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 34px 22px !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ams-footer-panel:first-child > div:first-child {
    grid-column: 1 / -1;
    max-width: none !important;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(179,205,207,.18);
  }

  .ams-footer-panel:first-child > div:nth-child(2) a,
  .ams-footer-panel:first-child > div:nth-child(3) a {
    min-height: 30px;
    font-size: 16px !important;
  }

  /* The shared mobile CTA precedes the links panel. Keep both link groups together. */
  .ams-footer-cta + .ams-footer-panel {
    padding: 0 !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important;
    gap: 28px 16px !important;
  }

  .ams-footer-cta + .ams-footer-panel > div { min-width: 0; }
  .ams-footer-cta + .ams-footer-panel > div:first-child { grid-column: 1 / -1; }
  .ams-footer-cta + .ams-footer-panel > div:nth-child(2) { grid-column: 2; grid-row: 2; }
  .ams-footer-cta + .ams-footer-panel > div:nth-child(3) { grid-column: 1; grid-row: 2; }
  .ams-footer-cta + .ams-footer-panel > div:nth-child(3) a { min-width: 0; }
  .ams-footer-cta + .ams-footer-panel > div:nth-child(3) a svg { flex-shrink: 0; }
  .ams-footer-cta + .ams-footer-panel > div:nth-child(3) a span { min-width: 0; overflow-wrap: anywhere; }

  .ams-footer-panel + .ams-footer-panel {
    margin-top: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(179,205,207,.18) !important;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ams-footer-panel + .ams-footer-panel > div:first-child,
  .ams-footer-panel + .ams-footer-panel > div:last-child {
    justify-content: flex-start !important;
  }

  .ams-footer-up {
    top: max(20px, calc(env(safe-area-inset-top, 0px) + 12px));
    left: max(20px, calc(env(safe-area-inset-left, 0px) + 12px));
    width: 48px;
    height: 48px;
  }

  .ams-footer-brand {
    min-height: 160px;
    gap: 18px;
  }

  .ams-footer-word {
    font-size: clamp(92px, 30vw, 142px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ams-footer-scene__webgl {
    display: none !important;
  }
}

/* Source: inner-theme.css */
:root {
  --ams-inner-ink: #05322b;
  --ams-inner-accent: #25897a;
  --ams-inner-mint: #e5efec;
  --ams-inner-mist: #f4f7f5;
  --ams-inner-sand: #f4efeb;
  --ams-inner-line: rgba(5, 50, 43, .10);
}

body[data-ams-inner] {
  background: #f7f9f8 !important;
  color: var(--ams-inner-ink);
}

body[data-ams-inner] nav[data-navpill] {
  border: 1px solid rgba(5, 50, 43, .07) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 14px 40px rgba(5, 50, 43, .07) !important;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

body[data-ams-inner] section[data-screen-label] {
  position: relative;
}

body[data-ams-inner] section[data-screen-label*="البطل"],
body[data-ams-inner] section[data-screen-label="المدونة"] {
  isolation: isolate;
  overflow: hidden !important;
  margin: 0 clamp(10px, 1.5vw, 22px) clamp(14px, 1.6vw, 24px);
  border: 1px solid rgba(5, 50, 43, .06);
  border-radius: 0 0 clamp(28px, 3.5vw, 48px) clamp(28px, 3.5vw, 48px);
  background:
    radial-gradient(circle at 78% 12%, rgba(179, 205, 207, .28), transparent 31%),
    radial-gradient(circle at 14% 88%, rgba(238, 232, 231, .68), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f7faf8 58%, #f2f6f4 100%) !important;
}

body[data-ams-inner] section[data-screen-label*="البطل"]::before,
body[data-ams-inner] section[data-screen-label="المدونة"]::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(360px, 46vw, 720px);
  height: clamp(120px, 16vw, 250px);
  left: clamp(-260px, -14vw, -110px);
  bottom: clamp(-120px, -7vw, -64px);
  border: 1px solid rgba(37, 137, 122, .12);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(179,205,207,.13));
  transform: rotate(-9deg);
  pointer-events: none;
}

body[data-ams-inner] section[data-screen-label*="البطل"]::after,
body[data-ams-inner] section[data-screen-label="المدونة"]::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(180px, 24vw, 360px);
  height: clamp(180px, 24vw, 360px);
  right: clamp(-150px, -8vw, -70px);
  top: clamp(-180px, -10vw, -90px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,137,122,.10), rgba(37,137,122,0) 68%);
  pointer-events: none;
}

body[data-ams-inner] section[data-screen-label*="البطل"] > *,
body[data-ams-inner] section[data-screen-label="المدونة"] > * {
  position: relative;
  z-index: 1;
}

body[data-ams-inner] section[data-screen-label="المؤتمرات والمعارض"],
body[data-ams-inner] section[data-screen-label="خطوات العمل"],
body[data-ams-inner] section[data-screen-label="الباقات الثلاث"],
body[data-ams-inner] section[data-screen-label="إضافات اختيارية"],
body[data-ams-inner] section[data-screen-label="الأسئلة الشائعة"],
body[data-ams-inner] section[data-screen-label="قنوات التواصل والنموذج"],
body[data-ams-inner] section[data-screen-label="مصممة للأعمال"] {
  background:
    radial-gradient(circle at 92% 6%, rgba(179,205,207,.14), transparent 22%),
    #f6f9f7 !important;
}

body[data-ams-inner] section[data-screen-label="صورة واضحة"] {
  border: 1px solid rgba(5, 50, 43, .07);
  background:
    radial-gradient(circle at 80% 10%, rgba(179,205,207,.25), transparent 34%),
    linear-gradient(135deg, #f4efeb, #f7f9f7) !important;
  box-shadow: 0 24px 70px rgba(5, 50, 43, .06);
}

body[data-ams-inner] section[data-screen-label="الدعوة الختامية"] {
  margin: clamp(18px, 2vw, 30px) clamp(12px, 2vw, 28px) clamp(18px, 2vw, 28px);
  border: 1px solid rgba(5, 50, 43, .07) !important;
  border-radius: clamp(26px, 3.5vw, 46px);
  background:
    radial-gradient(circle at 16% 90%, rgba(179,205,207,.24), transparent 27%),
    linear-gradient(135deg, #f4f7f5 0%, #ffffff 55%, #f5efeb 100%) !important;
  box-shadow: 0 22px 64px rgba(5, 50, 43, .06);
}

body[data-ams-inner] section[data-screen-label] [style*="border-radius: 22px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 24px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 26px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 28px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 30px"] {
  border-color: rgba(5, 50, 43, .11) !important;
  box-shadow: 0 18px 52px rgba(5, 50, 43, .055);
}

body[data-ams-inner] input,
body[data-ams-inner] textarea,
body[data-ams-inner] select {
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(5,50,43,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 8px 24px rgba(5,50,43,.025);
}

body[data-ams-inner] input:focus,
body[data-ams-inner] textarea:focus,
body[data-ams-inner] select:focus {
  border-color: #1d7468 !important;
  box-shadow: 0 0 0 3px rgba(29,116,104,.28) !important;
  outline: 2px solid transparent;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] {
  color: var(--ams-inner-ink) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(179,205,207,.30), transparent 28%),
    linear-gradient(145deg, #eef4f1 0%, #f8faf9 56%, #f3efec 100%) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="background: #05322B"] {
  color: var(--ams-inner-ink) !important;
  border: 1px solid rgba(5,50,43,.10) !important;
  background: rgba(255,255,255,.84) !important;
  box-shadow: 0 14px 38px rgba(5,50,43,.05);
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:first-child h2,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) strong {
  color: var(--ams-inner-ink) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:first-child p,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:first-child span,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) p,
body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div:first-child > span {
  color: rgba(5,50,43,.62) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) {
  gap: 12px !important;
  border-color: rgba(5,50,43,.10) !important;
  background: transparent !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div {
  border: 1px solid rgba(5,50,43,.09) !important;
  border-radius: 18px;
  color: var(--ams-inner-ink) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 12px 34px rgba(5,50,43,.045);
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div:first-child {
  border-radius: 18px !important;
  background: rgba(229,239,236,.92) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) svg {
  stroke: #25897a !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] > div > div:nth-child(2) > div > span[aria-hidden="true"] {
  border-color: rgba(37,137,122,.22) !important;
  background: rgba(37,137,122,.06);
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="color: #FFFFFF"] {
  color: var(--ams-inner-ink) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="color: #B3CDCF"] {
  color: rgba(5,50,43,.62) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] [style*="border: 1px solid rgba(179,205,207"] {
  border-color: rgba(5,50,43,.11) !important;
}

body[data-ams-inner] section[data-screen-label="مخرجات المنظومة"] svg[stroke="#B3CDCF"] {
  stroke: #25897a !important;
}

body[data-ams-inner] section[data-screen-label] a[style*="background: #05322B"],
body[data-ams-inner] section[data-screen-label] button[style*="background: #05322B"] {
  box-shadow: 0 12px 28px rgba(5,50,43,.14);
}

body[data-ams-inner] section[data-screen-label] a[style*="background: #05322B"]:hover,
body[data-ams-inner] section[data-screen-label] button[style*="background: #05322B"]:hover {
  box-shadow: 0 16px 34px rgba(5,50,43,.20);
}

@media (max-width: 760px) {
  body[data-ams-inner] section[data-screen-label*="البطل"],
  body[data-ams-inner] section[data-screen-label="المدونة"] {
    margin-inline: 7px;
    border-radius: 0 0 26px 26px;
  }

  body[data-ams-inner] section[data-screen-label="الدعوة الختامية"] {
    margin-inline: 8px;
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-ams-inner] *,
  body[data-ams-inner] *::before,
  body[data-ams-inner] *::after {
    scroll-behavior: auto !important;
  }
}

/* Source: commercial-system.css */
/* Amsiyah commercial experience layer
   Keeps the approved visual identity while strengthening clarity and conversion. */
:root {
  --ams-ink: #05322b;
  --ams-ink-soft: #11564e;
  --ams-accent: #25897a;
  --ams-mint: #b3cdcf;
  --ams-paper: #ffffff;
  --ams-warm: #f6f2f1;
  --ams-mist: #f4f7f5;
  --ams-line: rgba(5, 50, 43, .105);
  --ams-shadow-sm: 0 12px 34px rgba(5, 50, 43, .055);
  --ams-shadow-md: 0 22px 62px rgba(5, 50, 43, .075);
  --ams-ease: cubic-bezier(.22, .61, .36, 1);
}

html {
  background: var(--ams-paper);
  scroll-padding-top: 96px;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

[data-mob-root] {
  z-index: 2147482000 !important;
}

[data-mob-panel] {
  box-sizing: border-box;
  padding-block-start: env(safe-area-inset-top, 0px);
  padding-block-end: env(safe-area-inset-bottom, 0px);
}

html body [data-navwrap] {
  padding-top: calc(14px + env(safe-area-inset-top, 0px)) !important;
}

html body[data-page="home"] [data-navwrap][data-over-hero="1"] {
  padding-top: calc(26px + env(safe-area-inset-top, 0px)) !important;
}

html body [data-navwrap][data-over-hero="0"] {
  padding-top: calc(8px + env(safe-area-inset-top, 0px)) !important;
}

@media (max-width: 900px) {
  html body[data-page="home"] [data-navwrap][data-over-hero="1"] {
    padding-top: calc(16px + env(safe-area-inset-top, 0px)) !important;
  }
}

button[data-mob-only],
[data-mob-panel] button[aria-label="إغلاق القائمة"] {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

html.ams-menu-open .ams-mobile-conversion {
  visibility: hidden !important;
  pointer-events: none !important;
}

.ams-skip-link {
  position: fixed;
  z-index: 2147482999;
  top: 8px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ams-ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.ams-skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

body,
body * {
  font-family: var(--ams-font-ui) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .ams-footer-word,
body .ams-opening__title {
  font-family: var(--ams-font-display) !important;
}

body p,
body blockquote,
body figcaption,
body .ams-opening__caption {
  font-family: var(--ams-font-text) !important;
}

/* #25897A remains the decorative accent; small white commercial labels use
   the darker brand tone to meet normal-text contrast requirements. */
body [style*="color: #FFFFFF"][style*="background: #25897A"],
body [style*="background: #25897A"][style*="color: #FFFFFF"] {
  background: #1d7468 !important;
}

/* Navigation: stable, legible and unmistakably commercial. */
body nav[data-navpill] {
  border-color: rgba(5, 50, 43, .09) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 10px 34px rgba(5, 50, 43, .07) !important;
  backdrop-filter: blur(20px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.12) !important;
}

body nav[data-navpill] a[aria-current="page"] {
  color: var(--ams-ink) !important;
  background: rgba(37, 137, 122, .09) !important;
  box-shadow: inset 0 0 0 1px rgba(37, 137, 122, .11);
}

body nav[data-navpill] a[href="contact.html"],
body nav[data-navpill] a[href$="contact.html"] {
  min-height: 40px;
}

/* Desktop header polish — intentionally isolated from the approved mobile UI. */
@media (min-width: 1025px) {
  html body nav[data-navpill] > div:nth-child(2)[data-desk-only] {
    align-items: center;
  }

  html body nav[data-navpill] > div:nth-child(2)[data-desk-only] > a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-height: 40px;
    margin: 0;
    line-height: 1.4;
  }

  html body nav[data-navpill] > div:first-child > a {
    padding: 0;
    background: transparent !important;
    box-shadow: none;
  }

  html body nav[data-navpill] > div:last-child > [data-desk-only] {
    align-items: center;
  }

  html body nav[data-navpill] > div:last-child > [data-desk-only] > a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-height: 42px;
    line-height: 1.4;
  }

  html body[data-page="home"] [data-navwrap][data-over-hero="1"] [data-navpill] {
    height: 64px !important;
  }

  html body[data-page="home"] [data-navwrap][data-over-hero="1"] [data-navpill] > div:nth-child(2)[data-desk-only] {
    box-sizing: border-box;
    width: clamp(440px, 36vw, 520px);
    height: 64px;
    padding: 0 14px;
    justify-content: center;
    border-radius: 22px;
  }

  html body[data-page="home"] [data-navwrap][data-over-hero="1"] [data-navpill] > div:nth-child(2)[data-desk-only] > a {
    height: 44px;
    min-height: 44px;
  }
}

body a[href*="contact.html"][style*="background: #05322B"],
body button[style*="background: #05322B"] {
  box-shadow: 0 12px 28px rgba(5, 50, 43, .14);
}

body a[href*="contact.html"][style*="background: #05322B"]:hover,
body button[style*="background: #05322B"]:hover {
  box-shadow: 0 16px 36px rgba(5, 50, 43, .2);
}

/* Compact reassurance strip: each page makes its commercial purpose explicit. */
.ams-proof-strip {
  position: relative;
  z-index: 8;
  width: min(1120px, calc(100% - 32px));
  margin: -28px auto 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ams-line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--ams-shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ams-proof-item {
  min-height: 88px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.ams-proof-item + .ams-proof-item {
  border-inline-start: 1px solid var(--ams-line);
}

.ams-proof-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 137, 122, .09);
  color: var(--ams-accent);
  font-size: 13px;
  font-weight: 800;
}

.ams-proof-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ams-proof-copy strong {
  color: var(--ams-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.ams-proof-copy span {
  color: rgba(5, 50, 43, .68);
  font-size: 12.5px;
  line-height: 1.65;
}

/* Keep the original social icons while making their touch area comfortable. */
a[aria-label*="@AmsiyahSA"] {
  box-sizing: border-box;
  min-width: 44px !important;
  min-height: 44px !important;
}

footer [style*="color: rgba(179,205,207,.55)"] {
  color: rgba(179, 205, 207, .76) !important;
}

/* Light commercial surface system for internal pages. */
body[data-ams-inner] section[data-screen-label] {
  border-color: rgba(5, 50, 43, .075) !important;
}

body[data-ams-inner] section[data-screen-label] h1 {
  max-width: 18ch;
}

body[data-ams-inner] section[data-screen-label] h2 {
  text-wrap: balance;
}

body[data-ams-inner] section[data-screen-label] p {
  text-wrap: pretty;
}

body[data-ams-inner] section[data-screen-label] [style*="border-radius: 22px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 24px"],
body[data-ams-inner] section[data-screen-label] [style*="border-radius: 26px"] {
  box-shadow: var(--ams-shadow-sm);
}

body[data-ams-inner] section[data-screen-label="مقارنة الباقات"] table {
  min-width: 760px;
}

body[data-ams-inner] section[data-screen-label="مقارنة الباقات"] thead {
  position: sticky;
  top: 82px;
  z-index: 4;
}

body[data-ams-inner] section[data-screen-label="قنوات التواصل والنموذج"] form {
  box-shadow: var(--ams-shadow-md) !important;
}

body[data-ams-inner] section[data-screen-label="قنوات التواصل والنموذج"] form::before {
  content: 'نستخدم بياناتك للتواصل بخصوص طلبك فقط';
  display: block;
  margin: -2px 0 2px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(37, 137, 122, .075);
  color: var(--ams-ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

/* Blog: practical expertise, not an ornamental placeholder. */
.ams-blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 9vw, 118px) 0 clamp(48px, 6vw, 76px) !important;
  background: linear-gradient(145deg, #f5f8f6 0%, #fff 58%, #f8f2ef 100%);
}

.ams-blog-hero__inner {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.ams-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(37, 137, 122, .09);
  color: var(--ams-ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.ams-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ams-accent);
  transform: rotate(45deg);
}

.ams-blog-hero h1 {
  margin: 0;
  color: var(--ams-ink);
  font-size: clamp(42px, 6.6vw, 76px);
  font-weight: 800;
  line-height: 1.12;
}

.ams-blog-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(5, 50, 43, .62);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.95;
}

.ams-guides {
  padding: clamp(52px, 7vw, 92px) 0 clamp(70px, 9vw, 116px);
  background: #fff;
}

.ams-guides__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.ams-guides__head {
  max-width: 660px;
  margin-bottom: 34px;
}

.ams-guides__head h2 {
  margin: 10px 0 0;
  color: var(--ams-ink);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.2;
}

.ams-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ams-guide-card {
  min-height: 320px;
  padding: clamp(24px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ams-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f7faf8);
  box-shadow: var(--ams-shadow-sm);
  transition: transform .35s var(--ams-ease), border-color .35s ease, box-shadow .35s ease;
}

.ams-guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 137, 122, .24);
  box-shadow: var(--ams-shadow-md);
}

.ams-guide-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ams-accent);
  font-size: 12px;
  font-weight: 700;
}

.ams-guide-card h3 {
  margin: 22px 0 12px;
  color: var(--ams-ink);
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.35;
}

.ams-guide-card p {
  margin: 0;
  color: rgba(5, 50, 43, .64);
  font-size: 14px;
  line-height: 1.9;
}

.ams-guide-card ul {
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.ams-guide-card li {
  position: relative;
  padding-inline-start: 19px;
  color: rgba(5, 50, 43, .74);
  font-size: 13px;
  line-height: 1.7;
}

.ams-guide-card li::before {
  content: '';
  position: absolute;
  top: .7em;
  inset-inline-start: 2px;
  width: 6px;
  height: 6px;
  background: var(--ams-accent);
  transform: rotate(45deg);
}

.ams-guide-card a {
  margin-top: auto;
  align-self: flex-start;
  color: var(--ams-ink);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.ams-blog-cta {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto clamp(24px, 3vw, 40px);
  padding: clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--ams-line);
  border-radius: 26px;
  background: linear-gradient(135deg, #f2f7f4, #fff 54%, #f6efeb);
  box-shadow: var(--ams-shadow-sm);
}

.ams-blog-cta h2 {
  margin: 0;
  color: var(--ams-ink);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.2;
}

.ams-blog-cta p {
  max-width: 650px;
  margin: 9px 0 0;
  color: rgba(5, 50, 43, .62);
  line-height: 1.85;
}

.ams-blog-cta a {
  min-height: 48px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ams-ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(5, 50, 43, .15);
}

/* Mobile conversion control: visible, compact, and never blocks page controls. */
.ams-mobile-conversion {
  display: none;
}

@media (max-width: 1000px) {
  .ams-guide-grid {
    grid-template-columns: 1fr;
  }

  .ams-guide-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  body:not([data-page="home"]) {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  #request-form input,
  #request-form select,
  #request-form textarea {
    font-size: 16px !important;
  }

  .ams-proof-strip,
  body[data-page="home"] .ams-proof-strip {
    width: calc(100% - 24px);
    margin: 12px auto 24px;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .ams-proof-item {
    min-height: 0;
    padding: 14px 16px;
  }

  .ams-proof-item + .ams-proof-item {
    border-inline-start: 0;
    border-top: 1px solid var(--ams-line);
  }

  .ams-blog-hero__inner,
  .ams-guides__inner,
  .ams-blog-cta {
    width: calc(100% - 32px);
  }

  .ams-blog-cta {
    grid-template-columns: 1fr;
  }

  .ams-blog-cta a {
    width: 100%;
    box-sizing: border-box;
  }

  .ams-mobile-conversion {
    position: fixed;
    z-index: 99970;
    right: 10px;
    bottom: calc(9px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    min-height: 56px;
    padding: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
    border: 1px solid rgba(5, 50, 43, .11);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(5, 50, 43, .17);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .ams-mobile-conversion a {
    min-height: 44px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--ams-ink);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .ams-mobile-conversion a:first-child {
    background: var(--ams-ink);
    color: #fff;
  }

  .ams-mobile-conversion a:last-child {
    border: 1px solid rgba(37, 137, 122, .25);
    background: rgba(37, 137, 122, .07);
  }

}

@media (prefers-reduced-motion: reduce) {
  .ams-guide-card,
  .ams-mobile-conversion,
  .ams-proof-strip {
    transition: none !important;
  }

  .ams-guide-card:hover {
    transform: none;
  }
}

/* Source: core/amsiyah-motion-system.css */
/* Amsiyah motion system — local, Arabic-safe and conversion-first. */
:root {
  --ams-motion-ease: cubic-bezier(.22, .61, .36, 1);
  --ams-motion-expo: cubic-bezier(.87, 0, .13, 1);
}

@view-transition {
  /* Cross-document auto transitions can reject with AbortError in embedded
     WebViews when History API access is restricted. Amsiyah owns its opening,
     menu and in-page transitions, so keep this experimental UA path disabled. */
  navigation: none;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .8s;
  animation-timing-function: var(--ams-motion-ease);
}

html.ams-opening-pending,
html.ams-opening-pending body,
html.ams-menu-open,
html.ams-menu-open body,
html.lenis.lenis-stopped,
html.lenis.lenis-stopped body {
  overflow: hidden !important;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Opening: the reference's expanding mask, rebuilt in Amsiyah's own scene. */
body .ams-opening {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  overflow: hidden;
  background: #f5f2ea;
  opacity: 1;
  animation: none !important;
  will-change: opacity;
}

body .ams-opening__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #092e27 url('/assets/media/hero/amsiyah-hero-poster.webp') center / cover no-repeat;
  clip-path: inset(50% 50% 50% 50% round 200px);
  will-change: clip-path;
}

body .ams-opening__video,
body .ams-opening__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

body .ams-opening__video {
  object-fit: cover;
  object-position: center;
  opacity: .875;
  transform: translateZ(0) scale(1.002);
  filter: saturate(.94) contrast(1.04) brightness(.92);
}

body .ams-opening__veil {
  background:
    radial-gradient(circle at 18% 30%, rgba(179, 205, 207, .18), transparent 38%),
    linear-gradient(90deg, rgba(1, 23, 19, .08), rgba(1, 23, 19, .54)),
    linear-gradient(180deg, rgba(1, 24, 20, .05), rgba(1, 24, 20, .32));
}

body .ams-opening__pattern,
body .ams-opening__glow {
  animation: none !important;
}

body .ams-opening__inner {
  z-index: 2;
  pointer-events: none;
}

body .ams-opening__brand,
body .ams-opening__caption,
body .ams-opening__cta {
  opacity: 0;
}

body .ams-opening__line > span {
  display: block;
  transform: translateY(110%);
  animation: none !important;
  will-change: transform;
}

body .ams-opening.ams-opening--gsap .ams-opening__line > span {
  transform: none;
}

body .ams-opening__progress {
  transform: scaleX(0);
  transform-origin: right center;
}

body .ams-opening__progress::after {
  transform: scaleX(1) !important;
  animation: none !important;
}

body .ams-opening__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 11px 14px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-family: var(--ams-font-ui) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body .ams-opening__cta::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b3cdcf;
  box-shadow: 0 0 0 5px rgba(179, 205, 207, .12);
}

/* The homepage remains the pinned opening stage; the phone demo now lives in the journey section. */
.ams-cinematic-shell {
  position: relative;
  display: flow-root;
  min-height: 0;
  background: #092e27;
}

body .ams-cinematic-shell > [data-ams-organic-hero] {
  position: relative;
  top: auto;
  z-index: 1;
  width: calc(100% - (var(--ams-hero-gap, 12px) * 2)) !important;
  height: calc(100svh - (var(--ams-hero-gap, 12px) * 2)) !important;
  min-height: 0 !important;
  margin: var(--ams-hero-gap, 12px) !important;
  border-radius: var(--ams-hero-radius, 26px) !important;
  transform: translateZ(0);
  will-change: margin, width, height, border-radius;
}

.ams-cinematic-shell .ams-hero-organic__video {
  will-change: transform, opacity;
}

.ams-cinematic-shell [data-hero-copy] {
  box-sizing: border-box;
  padding-top: clamp(58px, 8svh, 100px);
  will-change: transform, opacity;
}

.ams-cinematic-story {
  position: absolute;
  z-index: 6;
  inset: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  padding: clamp(124px, 16svh, 180px) clamp(30px, 4vw, 64px) max(78px, calc(54px + env(safe-area-inset-bottom, 0px)));
  overflow: hidden;
  border-radius: inherit;
  color: #fff;
  pointer-events: none;
}

.ams-cinematic-stage {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
}

.ams-cinematic-copy {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: start;
  opacity: 0;
  will-change: opacity, transform;
}

.ams-cinematic-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -34px -40px -40px;
  border-radius: 42px;
  background: radial-gradient(ellipse at 72% 45%, rgba(2, 25, 21, .72), rgba(2, 25, 21, .42) 48%, transparent 76%);
  pointer-events: none;
}

.ams-cinematic-copy--followup {
  top: clamp(48px, 7svh, 88px);
  inset-inline-start: clamp(10px, 2.7vw, 44px);
  width: min(690px, 57vw);
}

.ams-cinematic-copy--result {
  top: clamp(48px, 7svh, 88px);
  inset-inline-start: clamp(10px, 2.7vw, 44px);
  width: min(720px, 59vw);
}

.ams-cinematic-copy__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .68);
  font-family: var(--ams-font-ui) !important;
  font-size: 12px;
  font-weight: 700;
}

.ams-cinematic-copy__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, .62);
  transform: rotate(45deg);
}

.ams-cinematic-copy h2 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-family: var(--ams-font-display) !important;
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: normal;
  text-wrap: balance;
  text-shadow: 0 12px 42px rgba(0, 0, 0, .14);
}

.ams-cinematic-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--ams-font-text) !important;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
  text-wrap: pretty;
}

.ams-word-progress {
  opacity: .4;
  transition: opacity .12s linear;
}

.ams-cinematic-meter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  transform: none !important;
  direction: ltr;
  color: rgba(255, 255, 255, .68);
  pointer-events: none;
}

.ams-cinematic-meter__count {
  min-width: 52px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--ams-font-ui) !important;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .03em;
}

.ams-cinematic-meter__count b {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ams-cinematic-meter__count i {
  opacity: .35;
  font-style: normal;
}

.ams-cinematic-meter__track {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
}

.ams-cinematic-meter__track > span {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right center;
  will-change: transform;
}

.ams-motion-sheet {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -18px 54px rgba(3, 30, 25, .08);
}

.ams-motion-section {
  transform-origin: center top;
}

[data-ams-motion-heading],
[data-ams-motion-card] {
  will-change: transform, opacity, clip-path;
}

[data-ams-motion-card] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ams-directional-hover {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(179, 205, 207, .18), rgba(179, 205, 207, .035));
  pointer-events: none;
  transform: translate3d(0, -102%, 0);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

[data-ams-motion-card] > :not(.ams-directional-hover) {
  position: relative;
  z-index: 1;
}

.ams-journey-marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 17px 0 16px;
  border-top: 1px solid rgba(5, 50, 43, .08);
  border-bottom: 1px solid rgba(5, 50, 43, .08);
  background: #f8faf7;
  color: #05322b;
  direction: ltr;
}

.ams-journey-marquee__scroll {
  width: 120%;
  margin-inline-start: -10%;
  will-change: transform;
}

.ams-journey-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ams-journey-marquee__collection {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(20px, 2.3vw, 38px);
  padding-inline-end: clamp(20px, 2.3vw, 38px);
  direction: rtl;
  white-space: nowrap;
}

.ams-journey-marquee__collection span {
  font-family: var(--ams-font-display) !important;
  font-size: clamp(22px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1.2;
}

.ams-journey-marquee__collection i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(5, 50, 43, .48);
  background: #b3cdcf;
  transform: rotate(45deg);
}

nav[data-navpill] {
  transition:
    height .42s var(--ams-motion-ease),
    background-color .42s ease,
    border-color .42s ease,
    box-shadow .42s ease,
    backdrop-filter .42s ease !important;
}

.ams-motion-button {
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
}

.ams-motion-button:focus-visible {
  outline: 3px solid rgba(37, 137, 122, .42) !important;
  outline-offset: 4px !important;
}

@media (hover: hover) and (pointer: fine) {
  .ams-motion-button {
    transition: transform .3s var(--ams-motion-ease), box-shadow .3s ease, background-color .3s ease !important;
  }

  .ams-motion-button:hover {
    transform: translate3d(0, -2px, 0);
  }

  .ams-motion-button svg {
    transition: transform .3s var(--ams-motion-ease);
  }

  .ams-motion-button:hover svg {
    transform: translate3d(-3px, 0, 0);
  }
}

.ams-motion-button:active {
  transform: translate3d(0, 0, 0) scale(.98) !important;
}

@media (max-width: 1000px) {
  body .ams-cinematic-shell > [data-ams-organic-hero] {
    --ams-hero-gap: 8px;
    --ams-hero-radius: 22px;
    min-height: 0 !important;
  }

  .ams-cinematic-story {
    padding-top: clamp(116px, 14svh, 164px);
    padding-inline: 36px;
  }

  .ams-cinematic-copy--followup,
  .ams-cinematic-copy--result {
    top: clamp(44px, 6svh, 72px);
    inset-inline: 0;
    width: auto;
  }

  .ams-cinematic-copy h2 {
    max-width: 12ch;
    font-size: clamp(44px, 8.2vw, 72px);
  }
}

@media (max-width: 640px) {
  body .ams-opening__visual {
    clip-path: inset(50% 50% 50% 50% round 100px);
  }

  body .ams-opening__cta {
    margin-top: 19px;
    font-size: 11px;
  }

  body .ams-cinematic-shell > [data-ams-organic-hero] {
    min-height: 0 !important;
  }

  .ams-cinematic-shell [data-hero-copy] {
    padding-top: clamp(54px, 8svh, 78px);
  }

  .ams-cinematic-story {
    padding-top: max(116px, calc(94px + env(safe-area-inset-top, 0px)));
    padding-inline: 24px;
    padding-bottom: max(72px, calc(48px + env(safe-area-inset-bottom, 0px)));
  }

  .ams-cinematic-copy--followup,
  .ams-cinematic-copy--result {
    top: clamp(42px, 6svh, 58px);
    inset-inline: 0;
    gap: 13px;
  }

  .ams-cinematic-copy h2 {
    max-width: 11ch;
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.12;
  }

  .ams-cinematic-copy p {
    max-width: 30ch;
    font-size: 14.5px;
    line-height: 1.75;
  }

  .ams-cinematic-meter {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .ams-motion-sheet {
    margin-top: -24px;
    border-radius: 24px 24px 0 0;
  }

  .ams-journey-marquee {
    padding-block: 13px;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 1000px) {
  body .ams-cinematic-shell > [data-ams-organic-hero] {
    width: calc(100% - 16px) !important;
    height: calc(100svh - 16px) !important;
    min-height: 0 !important;
    margin: 8px !important;
    border-radius: 20px !important;
  }

  .ams-cinematic-shell [data-hero-copy] {
    padding-top: 34px;
  }

  .ams-cinematic-story {
    padding: max(76px, calc(60px + env(safe-area-inset-top, 0px))) 26px 22px;
  }

  .ams-cinematic-copy--followup,
  .ams-cinematic-copy--result {
    top: 18px;
    inset-inline: 0;
    gap: 8px;
  }

  .ams-cinematic-copy h2 {
    max-width: 17ch;
    font-size: clamp(28px, 5.2vw, 40px);
    line-height: 1.08;
  }

  .ams-cinematic-copy p {
    max-width: 48ch;
    font-size: 13px;
    line-height: 1.55;
  }

  .ams-cinematic-copy__label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .ams-opening {
    display: none !important;
  }

  .ams-cinematic-shell {
    height: auto;
    min-height: 0;
    background: transparent;
  }

  body .ams-cinematic-shell > [data-ams-organic-hero] {
    position: relative !important;
    top: auto;
    width: calc(100% - 16px) !important;
    height: auto !important;
    min-height: calc(100svh - 16px) !important;
    margin: 8px !important;
    border-radius: 22px !important;
  }

  .ams-cinematic-story,
  .ams-cinematic-meter {
    display: none !important;
  }

  .ams-cinematic-shell [data-hero-copy],
  [data-navwrap],
  [data-journey-phone],
  .ams-motion-section,
  .ams-motion-section > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ams-journey-marquee__track,
  .ams-journey-marquee__scroll {
    transform: none !important;
  }
}

/* Source: core/amsiyah-mobile-v3.css */
/* Amsiyah mobile production layer — derived from the V3 interaction geometry,
   rebuilt with Amsiyah-owned visuals, Arabic-safe typography, and logical RTL. */
:root {
  --amsiyah-viewport-height: 100vh;
  --amsiyah-viewport-width: 100vw;
  --amsiyah-safe-top: env(safe-area-inset-top, 0px);
  --amsiyah-safe-end: env(safe-area-inset-left, 0px);
  --amsiyah-safe-bottom: env(safe-area-inset-bottom, 0px);
  --amsiyah-safe-start: env(safe-area-inset-right, 0px);
}

@supports (height: 100dvh) {
  :root { --amsiyah-viewport-height: 100dvh; }
}

.ams-skip-link {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  transform: none;
}

.ams-skip-link:focus:not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.ams-skip-link:focus-visible {
  z-index: 2147483646;
  width: auto;
  height: auto;
  padding: 10px 16px;
  overflow: visible;
  clip: auto;
  clip-path: none;
}

/* The commercial opening and the 01–03 explanation are two real scenes. */
.ams-cinematic-background {
  --ams-hero-gap: 12px;
  --ams-hero-radius: 26px;
  position: sticky !important;
  z-index: 0 !important;
  top: 0;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: calc(100% - (var(--ams-hero-gap) * 2));
  height: calc(var(--amsiyah-viewport-height) - (var(--ams-hero-gap) * 2));
  margin: var(--ams-hero-gap);
  margin-bottom: calc((var(--amsiyah-viewport-height) - var(--ams-hero-gap)) * -1);
  overflow: hidden;
  border-radius: var(--ams-hero-radius);
  transform: translateZ(0);
  will-change: width, height, margin, border-radius;
}

body .ams-cinematic-shell > [data-ams-organic-hero] {
  position: relative !important;
  z-index: 2;
  width: 100% !important;
  height: var(--amsiyah-viewport-height) !important;
  margin: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.ams-mobile-title-break { display: none; }

.ams-cinematic-scroller {
  position: relative;
  z-index: 2;
  width: 100%;
  height: var(--amsiyah-viewport-height);
  min-height: 0;
  overflow: hidden;
  color: #fff;
}

.ams-cinematic-scroller .ams-cinematic-story {
  border-radius: var(--ams-hero-radius, 26px);
}

.ams-cinematic-copy--invitation,
.ams-cinematic-copy--followup,
.ams-cinematic-copy--result {
  top: clamp(48px, 7svh, 88px);
  inset-inline-start: clamp(10px, 2.7vw, 44px);
  width: min(720px, 59vw);
}

@media (max-width: 1024px) {
  body .ams-opening__visual { clip-path: inset(50% 50% 50% 50% round 100px); }
  html body .ams-opening__brand { inset-inline-start: 12px !important; }
  html body [data-navwrap] { z-index: 2147483100 !important; }
  .ams-mobile-title-break { display: block; }
  html body [data-desk-only] { display: none !important; }
  html body [data-mob-only] { display: flex !important; }

  html body [data-navwrap],
  html body [data-navwrap][data-over-hero="0"],
  html body[data-page="home"] [data-navwrap][data-over-hero="1"] {
    padding-top: max(20px, calc(var(--amsiyah-safe-top) + 8px)) !important;
    padding-right: max(20px, calc(var(--amsiyah-safe-start) + 8px)) !important;
    padding-left: max(20px, calc(var(--amsiyah-safe-end) + 8px)) !important;
    padding-bottom: 0 !important;
    transition: padding .6s cubic-bezier(.22, .61, .36, 1) !important;
  }

  html body [data-navpill],
  html body [data-navwrap][data-over-hero="0"] [data-navpill],
  html body[data-page="home"] [data-navwrap][data-over-hero="1"] [data-navpill] {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 64px !important;
    padding: 0 8px 0 12px !important;
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .42) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .84) !important;
    box-shadow: 0 8px 30px rgba(2, 24, 20, .08) !important;
    backdrop-filter: blur(10px) saturate(1.18) !important;
    -webkit-backdrop-filter: blur(10px) saturate(1.18) !important;
    transition: background-color .6s ease, border-color .6s ease, box-shadow .6s ease !important;
  }

  html body [data-navwrap][data-over-hero="0"] [data-navpill] {
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 12px 34px rgba(2, 24, 20, .13) !important;
  }

  [data-navpill] > div:first-child {
    grid-column: 1;
    justify-self: start !important;
    padding-inline-start: 8px !important;
  }

  /* The homepage mark is the brand control, not an active navigation pill. */
  html body [data-navpill] > div:first-child > a[aria-current="page"] {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  [data-navpill] > div:last-child {
    grid-column: 2;
    justify-self: end !important;
  }

  html body [data-navpill] img[alt="أمسية"],
  html body [data-navwrap][data-over-hero="1"] [data-navpill] img[alt="أمسية"] {
    width: auto !important;
    height: 42px !important;
    filter: none !important;
  }

  html body button[data-mob-only] {
    position: relative;
    display: inline-flex !important;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0 !important;
    gap: 0 !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #223b38 !important;
    border-radius: 12px;
    background: #223b38 !important;
    -webkit-tap-highlight-color: transparent;
  }

  html body button[data-mob-only] span {
    position: absolute;
    inset: 0;
    width: 24px !important;
    height: 1px !important;
    margin: auto;
    border-radius: 0 !important;
    background: #b7ee83 !important;
    transform: translateY(-3px);
    transition: transform .6s cubic-bezier(.22, .61, .36, 1), background-color .3s ease;
  }

  html body button[data-mob-only] span:nth-child(2) {
    transform: translateY(3px);
  }

  html body button[data-mob-only] span:nth-child(3) { display: none !important; }

  html body button[data-mob-only][aria-expanded="true"] {
    border-color: #b7ee83 !important;
    background: transparent !important;
  }

  html body button[data-mob-only][aria-expanded="true"] span {
    background: #fff !important;
    transform: rotate(45deg);
  }

  html body button[data-mob-only][aria-expanded="true"] span:nth-child(2) {
    transform: rotate(-45deg);
  }

  [data-mob-root] {
    z-index: 2147483200 !important;
    inset: 0 !important;
    padding: 0;
    background: #f5f2ea;
  }

  [data-mob-ovl] {
    background: transparent !important;
    pointer-events: none;
  }

  html body [data-mob-panel] {
    isolation: isolate;
    top: max(8px, var(--amsiyah-safe-top)) !important;
    right: max(8px, var(--amsiyah-safe-start)) !important;
    bottom: max(8px, var(--amsiyah-safe-bottom)) !important;
    left: max(8px, var(--amsiyah-safe-end)) !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(179, 205, 207, .16);
    border-radius: 18px;
    background:
      radial-gradient(110% 75% at 4% 8%, transparent 55%, rgba(179, 205, 207, .11) 55.3%, transparent 55.8%),
      radial-gradient(95% 64% at 102% 45%, transparent 59%, rgba(179, 205, 207, .10) 59.3%, transparent 59.8%),
      radial-gradient(85% 58% at 12% 98%, transparent 61%, rgba(179, 205, 207, .09) 61.3%, transparent 61.8%),
      #1f3333 !important;
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(.985) !important;
    transform-origin: top center;
    transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1) !important;
  }

  [data-mob-root][data-menu-state="opening"] [data-mob-panel],
  [data-mob-root][data-menu-state="open"] [data-mob-panel] {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  [data-mob-panel]::before,
  [data-mob-panel]::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 70vw;
    height: 70vw;
    border: 1px solid rgba(179, 205, 207, .08);
    border-radius: 42% 58% 61% 39% / 45% 37% 63% 55%;
    pointer-events: none;
  }

  [data-mob-panel]::before { top: 18%; inset-inline-start: -34%; transform: rotate(24deg); }
  [data-mob-panel]::after { bottom: -18%; inset-inline-end: -28%; transform: rotate(-31deg); }

  [data-mob-panel] > div:first-child {
    position: relative;
    z-index: 2;
    flex: 0 0 64px;
    min-height: 64px;
    margin: 12px;
    padding: 0 8px 0 12px !important;
    border: 1px solid rgba(255, 255, 255, .04) !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  [data-mob-panel] img[alt="أمسية"] {
    width: auto !important;
    height: 42px !important;
    filter: brightness(0) invert(1);
  }

  [data-mob-panel] button[aria-label="إغلاق القائمة"] {
    position: relative;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #b7ee83 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  [data-mob-panel] button[aria-label="إغلاق القائمة"]::before,
  [data-mob-panel] button[aria-label="إغلاق القائمة"]::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 22px;
    height: 1px;
    margin: auto;
    background: #fff;
  }

  [data-mob-panel] button[aria-label="إغلاق القائمة"]::before { transform: rotate(45deg); }
  [data-mob-panel] button[aria-label="إغلاق القائمة"]::after { transform: rotate(-45deg); }

  [data-mob-panel] > div:nth-child(2) {
    position: relative;
    z-index: 1;
    min-height: 0;
    padding: 8px 24px max(28px, calc(var(--amsiyah-safe-bottom) + 18px)) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  [data-mob-panel] > div:nth-child(2)::-webkit-scrollbar { display: none; }

  [data-mob-panel] > div:nth-child(2) > a {
    align-self: center;
    width: fit-content;
    padding: 5px 10px !important;
    border: 0 !important;
    color: #fff !important;
    font-family: var(--ams-font-display) !important;
    font-size: clamp(34px, 10.6vw, 54px) !important;
    font-weight: 400 !important;
    line-height: 1.06 !important;
    text-align: center;
    opacity: 0;
    transform: translateY(-105%);
    transition: color .3s ease, opacity .5s ease, transform .6s cubic-bezier(.25, 1, .5, 1) !important;
  }

  [data-mob-panel] > div:nth-child(2) > a[aria-current="page"] { color: #b7ee83 !important; }
  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > a { opacity: 1; transform: none; }
  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > a:nth-child(1) { transition-delay: .30s !important; }
  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > a:nth-child(2) { transition-delay: .40s !important; }
  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > a:nth-child(3) { transition-delay: .50s !important; }
  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > a:nth-child(4) { transition-delay: .60s !important; }
  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > a:nth-child(5) { transition-delay: .70s !important; }
  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > a:nth-child(6) { transition-delay: .78s !important; }

  [data-mob-panel] > div:nth-child(2) > div:last-child {
    width: 100%;
    margin-top: auto !important;
    padding-top: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease .82s, transform .6s cubic-bezier(.25, 1, .5, 1) .82s;
  }

  [data-mob-root][aria-hidden="false"] [data-mob-panel] > div:nth-child(2) > div:last-child {
    opacity: 1;
    transform: none;
  }

  [data-mob-panel] > div:nth-child(2) > div:last-child a {
    min-height: 48px;
    box-sizing: border-box;
    border-radius: 12px !important;
  }

  [data-mob-panel] > div:nth-child(2) > div:last-child a[data-wa-link] {
    color: #b3cdcf !important;
    border-color: rgba(179, 205, 207, .34) !important;
    background: rgba(179, 205, 207, .045) !important;
  }

  .ams-cinematic-background {
    --ams-hero-gap: 8px;
    --ams-hero-radius: 20px;
  }

  body .ams-cinematic-shell > [data-ams-organic-hero] > div:not(.ams-hero-organic) {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    box-sizing: border-box;
    padding-top: max(116px, calc(var(--amsiyah-safe-top) + 96px)) !important;
    padding-right: max(22px, calc(var(--amsiyah-safe-start) + 16px)) !important;
    padding-bottom: max(26px, calc(var(--amsiyah-safe-bottom) + 18px)) !important;
    padding-left: max(22px, calc(var(--amsiyah-safe-end) + 16px)) !important;
    display: block !important;
  }

  body .ams-cinematic-shell [data-hero-copy] {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    padding-top: 0 !important;
    justify-content: space-between !important;
    gap: 28px !important;
  }

  body .ams-cinematic-shell [data-hero-copy] h1 {
    width: 100%;
    max-width: 14.5ch !important;
    margin: 0;
    font-size: clamp(40px, 11.4vw, 52px) !important;
    font-weight: 400 !important;
    line-height: 1.12 !important;
    letter-spacing: normal !important;
    overflow-wrap: normal;
    word-break: keep-all;
    text-wrap: balance;
  }

  body .ams-cinematic-shell [data-hero-bottom] {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px !important;
  }

  body .ams-cinematic-shell [data-hero-bottom] > p {
    max-width: 34ch !important;
    font-size: clamp(14px, 3.8vw, 16px) !important;
    line-height: 1.72 !important;
    color: rgba(255, 255, 255, .86) !important;
  }

  body .ams-cinematic-shell [data-hero-actions] { margin: 0 !important; }

  body .ams-cinematic-shell [data-hero-copy] [data-hero-actions] a:first-child {
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 18px 0 6px !important;
    border-radius: 12px !important;
    background: #223131 !important;
    color: #fff !important;
    font-size: 13.5px !important;
    box-shadow: 0 12px 32px rgba(1, 23, 19, .22);
    -webkit-tap-highlight-color: transparent;
  }

  body .ams-cinematic-shell [data-hero-copy] [data-hero-actions] a:first-child::after {
    width: 40px;
    height: 40px;
    margin-inline-start: 16px;
    border-radius: 10px;
    background: #b7ee83;
    font-size: 16px;
  }

  body .ams-cinematic-shell [data-hero-copy] [data-hero-actions] a:first-child:active {
    transform: scale(.97) !important;
  }

  .ams-cinematic-background .ams-hero-organic__video {
    object-position: center;
    filter: saturate(.94) contrast(1.02) brightness(.94);
  }

  .ams-cinematic-background .ams-hero-organic__veil {
    background:
      radial-gradient(circle at 20% 28%, rgba(179, 205, 207, .14), transparent 42%),
      linear-gradient(to left, rgba(2, 24, 20, .46), rgba(2, 24, 20, .05) 80%),
      linear-gradient(to top, rgba(2, 24, 20, .44), rgba(2, 24, 20, 0) 58%);
  }

  .ams-cinematic-story {
    padding-top: max(116px, calc(var(--amsiyah-safe-top) + 96px));
    padding-right: max(24px, calc(var(--amsiyah-safe-start) + 16px));
    padding-bottom: max(72px, calc(var(--amsiyah-safe-bottom) + 52px));
    padding-left: max(24px, calc(var(--amsiyah-safe-end) + 16px));
  }

  .ams-cinematic-copy--invitation,
  .ams-cinematic-copy--followup,
  .ams-cinematic-copy--result {
    top: clamp(38px, 6svh, 64px);
    inset-inline: 0;
    width: auto;
    gap: 13px;
  }

  .ams-cinematic-copy h2 {
    max-width: 12ch;
    font-size: clamp(38px, 10.7vw, 50px);
    line-height: 1.14;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .ams-cinematic-copy p {
    max-width: 31ch;
    font-size: 14.5px;
    line-height: 1.75;
  }

  .ams-cinematic-meter {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    direction: ltr;
    unicode-bidi: isolate;
  }

  body.ams-hero-initial .ams-mobile-conversion {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* The footer has its own up control; fixed assistants would cover its links. */
  body.ams-footer-in-view .ams-mobile-conversion {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 360px) {
  html body [data-navwrap],
  html body [data-navwrap][data-over-hero="0"],
  html body[data-page="home"] [data-navwrap][data-over-hero="1"] {
    padding-right: max(14px, calc(var(--amsiyah-safe-start) + 8px)) !important;
    padding-left: max(14px, calc(var(--amsiyah-safe-end) + 8px)) !important;
  }

  html body [data-navpill] img[alt="أمسية"],
  html body [data-navwrap][data-over-hero="1"] [data-navpill] img[alt="أمسية"] { height: 37px !important; }
  body .ams-cinematic-shell [data-hero-copy] h1 { font-size: clamp(36px, 11.5vw, 42px) !important; }
  [data-mob-panel] > div:nth-child(2) > a { font-size: clamp(31px, 10vw, 38px) !important; }
}

@media (max-width: 700px) {
  html body .ams-opening__inner { width: calc(100% - 32px) !important; }
  html body .ams-opening__title {
    font-size: clamp(42px, 13.4vw, 60px) !important;
    line-height: 1.08 !important;
    letter-spacing: normal !important;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 1024px) {
  html body [data-navwrap],
  html body [data-navwrap][data-over-hero="0"],
  html body[data-page="home"] [data-navwrap][data-over-hero="1"] {
    padding-top: max(8px, var(--amsiyah-safe-top)) !important;
  }

  html body [data-navpill],
  html body [data-navwrap][data-over-hero="0"] [data-navpill],
  html body[data-page="home"] [data-navwrap][data-over-hero="1"] [data-navpill] { height: 54px !important; }
  html body button[data-mob-only] { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  html body [data-navpill] img[alt="أمسية"] { height: 36px !important; }

  body .ams-cinematic-shell > [data-ams-organic-hero] > div:not(.ams-hero-organic) {
    padding-top: max(70px, calc(var(--amsiyah-safe-top) + 58px)) !important;
    padding-bottom: max(14px, calc(var(--amsiyah-safe-bottom) + 8px)) !important;
  }

  body .ams-cinematic-shell [data-hero-copy] { gap: 10px !important; }
  body .ams-cinematic-shell [data-hero-copy] h1 {
    max-width: 16ch !important;
    font-size: clamp(30px, 5.2vw, 40px) !important;
    line-height: 1.04 !important;
  }
  body .ams-cinematic-shell [data-hero-bottom] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px !important;
  }
  body .ams-cinematic-shell [data-hero-bottom] > p {
    max-width: 48ch !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  .ams-cinematic-story {
    padding-top: max(70px, calc(var(--amsiyah-safe-top) + 58px));
    padding-bottom: max(20px, calc(var(--amsiyah-safe-bottom) + 12px));
  }
  .ams-cinematic-copy--invitation,
  .ams-cinematic-copy--followup,
  .ams-cinematic-copy--result { top: 14px; gap: 8px; }
  .ams-cinematic-copy h2 { max-width: 17ch; font-size: clamp(28px, 5.1vw, 40px); line-height: 1.08; }
  .ams-cinematic-copy p { max-width: 52ch; font-size: 12.5px; line-height: 1.5; }

  [data-mob-panel] > div:nth-child(2) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 2px 14px;
  }
  [data-mob-panel] > div:nth-child(2) > a { font-size: clamp(26px, 5vw, 38px) !important; }
  [data-mob-panel] > div:nth-child(2) > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .ams-cinematic-background {
    position: absolute !important;
    inset: 8px !important;
    width: auto !important;
    height: calc(var(--amsiyah-viewport-height) - 16px) !important;
    margin: 0 !important;
    border-radius: 20px !important;
  }
  .ams-cinematic-scroller { display: none !important; }
}

/* Source: blog-admin-entry.css */
.ams-blog-admin-entry {
  width: min(1120px, calc(100% - 48px));
  margin: -12px auto 20px;
  display: flex;
  justify-content: flex-end;
}

.ams-blog-admin-entry a {
  min-height: 32px;
  padding: 4px 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: rgba(29, 116, 104, .66);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.ams-blog-admin-entry a:hover,
.ams-blog-admin-entry a:focus-visible {
  color: #05322B;
  background: rgba(37, 137, 122, .07);
}

/* Keep database-rendered card headings visually identical to the original text headings. */
.ams-guide-card h3 > .ams-guide-card__title-link {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

.ams-guide-card__image {
  margin-top: 18px;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  background: #EEE8E7;
}

.ams-guide-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ams-blog-pagination {
  width: min(1120px, calc(100% - 48px));
  margin: 4px auto 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  direction: rtl;
  font-size: 14px;
}

.ams-blog-pagination__numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.ams-blog-pagination__page,
.ams-blog-pagination__nav {
  min-width: 44px;
  min-height: 44px;
  padding: 7px 11px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(5, 50, 43, .12);
  border-radius: 10px;
  color: #05322B;
  background: #FFFFFF;
  text-decoration: none;
}

.ams-blog-pagination__nav { min-width: 72px; font-weight: 700; }

.ams-blog-pagination a:hover,
.ams-blog-pagination a:focus-visible {
  border-color: #25897A;
  outline: 3px solid rgba(37, 137, 122, .16);
  outline-offset: 2px;
}

.ams-blog-pagination [aria-current="page"] {
  color: #FFFFFF;
  background: #05322B;
}

.ams-blog-pagination .is-disabled {
  color: rgba(5, 50, 43, .38);
  background: #F5F7F6;
  cursor: not-allowed;
}

.ams-blog-pagination__ellipsis {
  min-width: 20px;
  color: rgba(5, 50, 43, .55);
  text-align: center;
}

.ams-blog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 20px;
  border: 1px solid rgba(5, 50, 43, .1);
  border-radius: 14px;
  color: rgba(5, 50, 43, .72);
  background: #FFFFFF;
  text-align: center;
}

@media (max-width: 640px) {
  .ams-blog-admin-entry { width: calc(100% - 32px); }
  .ams-blog-pagination { width: calc(100% - 32px); flex-wrap: wrap; }
  .ams-blog-pagination__numbers { order: 3; width: 100%; flex-wrap: wrap; }
  .ams-blog-pagination__nav { flex: 1; }
}

/* Source: blog-article.css */
.ams-article-page {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) 0 clamp(72px, 9vw, 118px);
}

.ams-article__content figure[data-block="video"] { margin: 2rem 0; }
.ams-article__content figure[data-block="video"] iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.ams-article__content aside[data-block="note"] { margin: 1.5rem 0; padding: 1rem 1.25rem; border-inline-start: 4px solid #25897a; background: #eef3f1; border-radius: 12px; }

.ams-breadcrumbs {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(5, 50, 43, .55);
  font-size: 13px;
}

.ams-article { color: #05322b; }
.ams-article__header { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.ams-article__header h1 { margin: 18px 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.18; }
.ams-article__excerpt { margin: 0; color: rgba(5, 50, 43, .66); font-size: clamp(17px, 2vw, 20px); line-height: 1.9; }
.ams-article__meta { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; color: rgba(5, 50, 43, .58); font-size: 13px; }
.ams-article__image { margin: 0 0 36px; overflow: hidden; border-radius: 24px; }
.ams-article__image img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.ams-answer-box, .ams-summary, .ams-takeaways, .ams-article__section { margin: 28px 0; padding: clamp(22px, 4vw, 34px); border: 1px solid rgba(5, 50, 43, .1); border-radius: 20px; background: #f4f7f5; }
.ams-answer-box h2, .ams-summary h2, .ams-takeaways h2, .ams-article__section h2 { margin: 0 0 12px; font-size: clamp(23px, 3vw, 30px); }
.ams-answer-box p, .ams-summary p { margin: 0; line-height: 2; }
.ams-article__content { font-size: clamp(16px, 1.8vw, 18px); line-height: 2.05; }
.ams-article__content h2 { margin: 46px 0 16px; font-size: clamp(27px, 4vw, 38px); line-height: 1.35; }
.ams-article__content h3 { margin: 34px 0 12px; font-size: clamp(22px, 3vw, 29px); }
.ams-article__content p { margin: 0 0 22px; }
.ams-article__content img { max-width: 100%; height: auto; border-radius: 16px; }
.ams-article__content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.ams-article__content th, .ams-article__content td { padding: 12px; border: 1px solid rgba(5, 50, 43, .14); text-align: right; }
.ams-article__content blockquote { margin: 24px 0; padding: 12px 22px; border-inline-start: 3px solid #25897a; background: #f4f7f5; }
.ams-article__section details { border-top: 1px solid rgba(5, 50, 43, .1); padding: 16px 0; }
.ams-article__section summary { cursor: pointer; font-weight: 700; }
.ams-article__section dd { margin: 6px 0 18px; color: rgba(5, 50, 43, .7); }
.ams-preview-banner { position: sticky; top: 0; z-index: 100; padding: 10px 18px; background: #8d5c18; color: #fff; text-align: center; font-weight: 700; }
.ams-blog-pagination { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.ams-blog-pagination a, .ams-blog-pagination span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(5, 50, 43, .12); }
.ams-blog-pagination span { background: #05322b; color: #fff; }
.ams-guide-card__title-link { color: inherit; }
.ams-language-switcher { display:flex; justify-content:center; gap:8px; margin-bottom:18px; }
.ams-language-switcher a, .ams-language-switcher span { padding:7px 12px; border:1px solid rgba(5,50,43,.14); border-radius:999px; text-decoration:none; }
.ams-language-switcher span { background:#05322b; color:#fff; }
.ams-video-watch { margin:0 0 34px; }
.ams-video-watch__frame { overflow:hidden; border-radius:20px; background:#071d1a; aspect-ratio:16/9; }
.ams-video-watch__frame iframe { width:100%; height:100%; border:0; }
.ams-video-clips { display:grid; gap:8px; margin-top:18px; }
.ams-video-clips a { display:flex; justify-content:space-between; padding:12px 14px; border:1px solid rgba(5,50,43,.12); border-radius:12px; text-decoration:none; }
[dir="ltr"] .ams-article__content th, [dir="ltr"] .ams-article__content td { text-align:left; }

@media (max-width: 640px) {
  .ams-article-page { width: calc(100% - 32px); }
  .ams-article__header { text-align: right; }
  .ams-article__meta { justify-content: flex-start; }
}
