/* ===========================================================
   Scene One — vanilla HTML/CSS/JS recreation
   Fonts: Tajawal (body) + IBM Plex Sans Arabic (headings)
   Palette: bg #0e0202 / gold #d2af50 / red #cd2e07
   =========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0e0202;
  --gold: #d2af50;
  --red: #cd2e07;
  --font-body: 'Tajawal', sans-serif;
  --font-head: 'IBM Plex Sans Arabic', sans-serif;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  background-color: var(--bg);
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

a, button {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease,
              opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}

.head { font-family: var(--font-head); }
.bold { font-weight: 700; }

/* page fade-in (mimics framer-motion route transition) */
.page { animation: pageFade .55s cubic-bezier(0.22,1,0.36,1); }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* ====================== NAV ====================== */
.nav {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px;
  direction: ltr;
  background: var(--bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: background .3s ease, box-shadow .3s ease;
}
/* Landing hero: start as a transparent gradient, turn solid on scroll. */
.landing .nav {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
  box-shadow: none;
}
.landing .nav.scrolled {
  background: var(--bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.nav.center { align-items: center; }
.nav__logo { height: 56px; width: auto; }
.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-btn span { display: block; height: 2px; width: 24px; background: #fff; }
.menu-btn span:last-child { width: 16px; }

@media (min-width: 640px) {
  .nav { padding: 20px 40px; }
  .nav__logo { height: 64px; }
}

/* ====================== MENU OVERLAY ====================== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #000;
  display: none;
  flex-direction: column;
  direction: ltr;
}
.overlay.open { display: flex; }
.overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}
.overlay__top img { height: 56px; width: auto; }
.overlay__close { color: rgba(255,255,255,.7); padding: 4px; line-height: 0; }
.overlay__close:hover { color: #fff; }
.overlay__close svg { height: 24px; width: 24px; }
.overlay__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: auto;
}
.overlay__info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 32px;
  direction: rtl;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.overlay__info p, .overlay__info a {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .02em;
}
.overlay__muted { color: #8c8b87; }
.overlay__info a { display: block; cursor: pointer; }
.overlay__info a:hover { color: rgba(255,255,255,.7); }
.overlay__group { margin-top: 24px; }
.overlay__links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 48px 32px;
  gap: 24px;
  direction: rtl;
}
.overlay__links a {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 2.24px;
}
.overlay__links a:hover { color: rgba(255,255,255,.6); }

/* ---- MENU OVERLAY DECOR (film equipment) ---- */
.overlay__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.overlay__top, .overlay__body { position: relative; z-index: 1; }
.overlay__decor-img {
  position: absolute;
  opacity: .14;
  filter: grayscale(1) brightness(1.6);
  user-select: none;
}
.overlay__decor-chair   { top: 8%;  right: 6%;  width: 150px; }
.overlay__decor-reel    { top: 42%; left: 4%;   width: 190px; }
.overlay__decor-camera  { bottom: 4%; left: 5%;  width: 280px; }
.overlay__decor-clapper { bottom: 8%; right: 7%; width: 120px; }
@media (max-width: 640px) {
  .overlay__decor-chair   { width: 90px;  top: 6%;  right: 4%; }
  .overlay__decor-reel    { width: 110px; top: 38%; left: -10px; }
  .overlay__decor-camera  { width: 160px; bottom: 2%; left: -10px; }
  .overlay__decor-clapper { width: 72px;  bottom: 6%; right: 4%; }
}

@media (min-width: 640px) {
  .overlay__top { padding: 24px 48px; }
  .overlay__top img { height: 64px; }
  .overlay__body { flex-direction: row; }
  .overlay__info { width: 38%; border-top: none; padding: 32px 48px; }
  .overlay__group { margin-top: 0; }
  .overlay__links { padding: 48px 64px; }
  .overlay__links a { font-size: 32px; }
}

/* ====================== LANDING ====================== */
.landing { min-height: 100vh; background: var(--bg); color: #fff; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.3), transparent, var(--bg));
}
.hero__content {
  position: relative;
  z-index: 10;
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 128px 24px 64px;
  max-width: 768px;
  margin-left: auto;
  text-align: right;
}
.hero__title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.625;
  color: #fff;
  margin-bottom: 16px;
}
.hero__sub { font-family: var(--font-head); font-weight: 500; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 600px; }
.hero__nda { font-family: var(--font-body); font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.5); margin-top: 24px; max-width: 520px; }

@media (min-width: 640px) {
  .hero__content { padding: 128px 40px 386px; margin-right: 40px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 22px; }
  .hero__nda { font-size: 14px; }
}

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px; }
.btn {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
}
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: rgba(255,255,255,.9); }
.btn--ghost { border: 1px solid #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn--disabled { opacity: .4; pointer-events: none; cursor: not-allowed; }
.btn--ghost:hover { background: rgba(255,255,255,.2); }

/* QUOTE */
.quote {
  padding: 56px 24px 0;
  text-align: right;
}
.quote__rule { width: 100%; max-width: 560px; height: 1px; background: rgba(255,255,255,.3); margin: 0 0 24px auto; }
.quote p {
  font-size: 18px;
  line-height: 1.625;
  color: #fff;
  letter-spacing: .02em;
  max-width: 672px;
  margin-left: auto;
}
@media (min-width: 640px) {
  .quote { padding: 80px 40px 0; }
  .quote p { font-size: 20px; }
  .quote__rule { max-width: 680px; }
}

/* SCRIPT IMAGE */
.script-img-wrap { display: flex; justify-content: center; padding: 40px 24px 0; }
.script-img-wrap img { width: 100%; max-width: 560px; object-fit: contain; opacity: .85; }
@media (min-width: 640px) {
  .script-img-wrap { padding: 40px 40px 0; }
  .script-img-wrap img { max-width: 680px; }
}

/* ABOUT */
.about { margin-bottom: 200px; padding: 56px 24px; text-align: center; }
.about__title { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.about__body { font-size: 20px; line-height: 1.8; color: #C4C4C4; letter-spacing: .02em; max-width: 576px; margin: 0 auto; text-align: right; }
.about__body p { margin-bottom: 20px; }
.about__body p:last-child { margin-bottom: 0; }
@media (min-width: 640px) {
  .about { padding: 80px 40px; }
  .about__title { font-size: 40px; }
}

/* THREE CARDS */
.cards { padding: 0 70px 56px; }
.cards__row { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
.cards__item { flex: 1; cursor: pointer; transition: opacity .5s ease; }
@media (min-width: 640px) {
  .cards { padding: 0 40px 80px; }
  .cards__row { flex-direction: row; align-items: flex-end; gap: 16px; }
  .cards__row.has-active .cards__item { opacity: .4; }
  .cards__row.has-active .cards__item.active { opacity: 1; }
}
@media (min-width: 1024px) {
  .cards { padding: 0 160px 80px; }
}

/* COVERAGE TYPES */
.ctypes { padding: 120px 24px 200px; direction: rtl; }
.ctypes__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.ctype-card {
  width: 708px;
  max-width: 100%;
  min-height: 550px;
  border-radius: 10px;
  background: #2d2a27;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.ctype-card:hover {
  transform: translateY(-6px);
  background-color: #353230;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.ctype-card__title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}
.price-div {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.price-div h1 {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1;
}
.riyal-icon {
  width: 34px;
  height: auto;
  display: block;
}
.price-tax {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin: 0 0 22px;
}
.ctype-card__desc {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,.9);
  text-align: right;
  margin-bottom: 20px;
}
.ctype-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.ctype-card__list li {
  position: relative;
  padding-right: 28px;
  text-align: right;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}
.ctype-card__list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: url("../assets/check.svg") no-repeat center / contain;
}
.ctype-card__btns {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}
@media (max-width: 640px) {
  .ctype-card { min-height: auto; padding: 40px 28px; }
  .ctype-card__title { font-size: 26px; }
  .ctype-card__btns { flex-direction: column; }
  .ctype-card__btns .btn { text-align: center; }
}

/* READERS */
.readers {
    position: relative;
    overflow: hidden;
    padding: 56px 24px;
    margin-top: 250px;
    margin-bottom: 250px !important;
    direction: rtl;
    background: #0e0202;
}
.readers__bg { position: absolute; inset: 0; display: flex; z-index: 0; }
.readers__bg img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; object-position: center 32%; filter: grayscale(1); opacity: 1; }
.readers__bg::after { content: ""; position: absolute; inset: 0; background:
  /* fade in from the solid page bg (matches the section above, no hard
     seam) down through the same dark-top / clear-middle / fade-to-bg
     transition used on the hero photos */
  linear-gradient(to bottom, var(--bg) 0%, rgba(0,0,0,.3) 12%, transparent 30%, transparent 70%, var(--bg) 100%),
  radial-gradient(ellipse 70% 100% at center, rgba(14,2,2,.45) 0%, rgba(14,2,2,.3) 60%, rgba(14,2,2,.2) 100%),
  linear-gradient(90deg, #0e0202 0%, rgba(14,2,2,0) 14%, rgba(14,2,2,0) 86%, #0e0202 100%); }
.readers__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 115px 0;
}
.readers__title { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.readers__sub { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: #D2AF50; margin-bottom: 28px; }
.readers__body { font-family: var(--font-body); font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.6); }
.readers__more { font-family: var(--font-body); font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.55); margin-top: 26px; }
.readers__link { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: color .15s; }
.readers__link:hover { color: #e6461f; }
@media (min-width: 640px) {
  .readers { padding: 80px 40px; }
  .readers__title { font-size: 40px; }
  .readers__sub { font-size: 24px; }
  .readers__body { font-size: 18px; }
  .readers__more { font-size: 18px; }
}

/* JOURNEY TIMELINE */
.journey { margin-bottom: 0; padding: 56px 24px; direction: rtl; }
.journey__title { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 64px; text-align: center; }
.timeline { position: relative; }
.timeline__line { display: none; }
.timeline__mobile { display: flex; flex-direction: column; gap: 48px; direction: rtl; }
.tl-step { width: 100%; text-align: right; direction: rtl; }
.tl-step__title { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tl-step__body { font-size: 16px; line-height: 1.625; color: rgba(255,255,255,.7); }
.timeline__desktop { display: none; }

@media (min-width: 640px) {
  .journey { padding: 80px 40px; }
  .journey__title { font-size: 48px; }
  .timeline__mobile { display: none; }
  .timeline__desktop { display: block; }
  .timeline__line { display: block; position: absolute; right: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.2); transform: translateX(50%); }
  .tl-row { position: relative; display: flex; padding-bottom: 64px; direction: ltr; }
  .tl-half { width: 50%; display: flex; }
  .tl-half--left { justify-content: flex-end; padding-right: 32px; }
  .tl-half--right { justify-content: flex-start; padding-left: 32px; }
  .tl-block { max-width: 320px; text-align: right; direction: rtl; }
  .tl-block .tl-step__title { font-size: 24px; }
  .tl-block .tl-step__body { font-size: 18px; }
}

/* RED BANNER */
.banner { position: relative; width: 100%; background: var(--red); overflow: hidden; padding: 80px 0; }
.banner__inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; direction: ltr; }
.banner__text { text-align: right; direction: rtl; }
.banner__h { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: #fff; line-height: 1.625; margin-bottom: 24px; }
.banner__p { font-size: 24px; line-height: 1.625; color: rgba(255,255,255,.9); margin-bottom: 32px; }
.banner__clapper { margin-top: 40px; display: flex; justify-content: center; }
.banner__clapper img { margin-bottom: -80px; width: auto; object-fit: contain; }

@media (min-width: 1024px) {
  .banner { min-height: 560px; }
  .banner__inner { padding-right: 44%; }
  .banner__text { max-width: 620px; }
  .banner__clapper {
    margin-top: 0;
    position: absolute;
    bottom: 0; right: 0;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
  }
  .banner__clapper img { max-height: 520px; max-width: 620px; margin-bottom: 0; width: 100%; margin-left: auto; }
}

/* FAQ */
.faq { position: relative; padding: 64px 24px; direction: rtl; }
.faq__wrap { max-width: 768px; margin: 0 auto; }
.faq__title { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 48px; text-align: center; }
.faq__list { border-top: 1px solid rgba(255,255,255,.1); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-item__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: right;
}
.faq-item__q { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff; }
.faq-item__chev { height: 20px; width: 20px; flex-shrink: 0; color: var(--gold); transition: transform .3s; }
.faq-item.open .faq-item__chev { transform: rotate(180deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: all .3s ease-in-out; }
.faq-item.open .faq-item__panel { grid-template-rows: 1fr; opacity: 1; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__a { padding-bottom: 24px; font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.7); }
@media (min-width: 640px) {
  .faq { padding: 96px 40px; }
  .faq__title { font-size: 40px; margin-bottom: 64px; }
  .faq-item__q { font-size: 20px; }
  .faq-item__a { font-size: 16px; }
}

/* CTA */
.cta { position: relative; width: 100%; overflow: hidden; background: var(--bg); min-height: 80vh; padding: 128px 0; }
.cta__bg { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: bottom; opacity: .55; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), rgba(14,2,2,.6), var(--bg)); }
.cta__content { position: relative; z-index: 10; margin: 0 auto; max-width: 700px; padding: 128px 24px; text-align: center; }
.cta__h { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 40px; line-height: 1.625; }
.cta__sub { font-family: var(--font-head); font-size: 24px; font-weight: 500; color: #fff; margin-bottom: 40px; line-height: 1.625; }
.cta__btn {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--gold); border-radius: 8px;
  padding: 12px 32px; color: var(--gold); font-size: 18px; direction: ltr;
}
.cta__btn:hover { background: var(--gold); color: #000; }
@media (min-width: 640px) {
  .cta__h { font-size: 36px; }
}

/* ====================== FOOTER ====================== */
.footer { border-top: 1px solid rgba(255,255,255,.1); padding: 32px 24px; background: var(--bg); }
.footer__row {
  display: flex; flex-direction: column; align-items: center; gap: 24px; direction: ltr;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,.4); order: 3; line-height: 1.8; }
/* Commercial registration number — a notch dimmer than the copyright line. */
.footer__cr { color: rgba(255,255,255,.32); font-variant-numeric: tabular-nums; }
.footer--doc .footer__cr { color: rgba(255,255,255,.5); }
.footer__links { display: flex; align-items: center; gap: 24px; direction: rtl; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,.4); }
.footer__links a:hover { color: rgba(255,255,255,.7); }
.footer__social { display: flex; align-items: center; gap: 20px; }
.footer__social img { height: 20px; width: 20px; opacity: .5; transition: opacity .25s; }
.footer__social a:hover img { opacity: 1; }
@media (min-width: 640px) {
  .footer { padding: 32px 40px; }
  .footer__row { flex-direction: row; justify-content: space-between; }
  .footer__copy { order: 0; }
}

/* ====================== MODAL (Register) ====================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #161010;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  padding: 24px;
  direction: rtl;
  position: relative;
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 16px; left: 16px; color: rgba(255,255,255,.6); line-height: 0; }
.modal__close:hover { color: #fff; }
.modal__title { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fff; text-align: right; margin-bottom: 6px; }
.modal__desc { color: rgba(255,255,255,.6); text-align: right; font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; color: rgba(255,255,255,.8); font-size: 14px; margin-bottom: 8px; }
.field label .opt { color: rgba(255,255,255,.4); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.4); }
.field textarea { min-height: 80px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 38px;
}
.field select option { background: #161010; }
.field .err { color: #ff6b6b; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #ff6b6b; }
.modal__submit {
  width: 100%; background: #fff; color: #000; font-weight: 500;
  padding: 10px; border-radius: 8px; margin-top: 4px;
}
.modal__submit:hover { background: rgba(255,255,255,.9); }
.modal__submit:disabled { opacity: .6; cursor: default; }

/* TOAST */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: #161010;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  direction: rtl;
  text-align: right;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: toastIn .3s ease;
}
.toast.error { border-color: rgba(255,107,107,.5); }
.toast__title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.toast__desc { font-size: 13px; color: rgba(255,255,255,.7); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ====================== CONTENT PAGES (privacy/terms) ====================== */
.docpage { min-height: 100vh; background: #000; color: #fff; direction: rtl; font-family: var(--font-head); }
.doc-hero { position: relative; height: 55vh; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.doc-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; pointer-events: none; }
.doc-hero__shade { position: absolute; inset-inline: 0; bottom: 0; height: 50%; background: linear-gradient(to top, #000, transparent); }
.doc-hero h1 { position: relative; z-index: 10; font-family: var(--font-head); font-size: 36px; font-weight: 700; text-align: center; color: #fff; }
.doc-body { max-width: 780px; padding: 64px 24px; display: flex; flex-direction: column; gap: 56px; }
.doc-body h2 { font-size: 28px; font-weight: 500; color: var(--gold); line-height: 1.75; margin-bottom: 16px; }
.doc-body p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.9); margin-bottom: 12px; }
.doc-body p:last-child { margin-bottom: 0; }
.doc-body ol { list-style: decimal; list-style-position: inside; padding-right: 16px; display: flex; flex-direction: column; gap: 8px; }
.doc-body ol li { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.9); }
.doc-body a { color: var(--gold); }
.doc-body a:hover { text-decoration: underline; }
.gold { color: var(--gold); }
.gold-soft { color: rgba(210,175,80,.8); }
.doc-body .lead { font-size: 20px; color: var(--gold); font-weight: 500; margin-bottom: 12px; }
.doc-body .lead.light { font-weight: 300; }
@media (min-width: 640px) {
  .doc-hero h1 { font-size: 48px; }
  .doc-body { padding: 64px 40px; }
  .doc-body h2 { font-size: 32px; }
  .doc-body p, .doc-body ol li { font-size: 18px; }
}

/* footer variant on doc/coverage pages */
.footer--doc {
  margin-top: 32px; padding: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 13px; color: rgba(255,255,255,.7); direction: ltr;
}
.footer--doc .footer__links a { color: rgba(255,255,255,.7); }
.footer--doc .footer__links a:hover { color: #fff; }
.footer--doc .footer__social img { height: 22px; width: 22px; opacity: .75; }
@media (min-width: 640px) { .footer--doc { flex-direction: row; padding: 24px 40px; } }

/* ====================== ABOUT-COVERAGE PAGE ====================== */
.cov { min-height: 100vh; background: #000; color: #fff; direction: rtl; font-family: var(--font-head); }
.cov .nav { background: #000; }
.cov-hero { background: #000; }
.cov-hero__head { padding: 128px 24px 48px; text-align: right; }
.cov-hero__title { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: #fff; line-height: 1.3; }
.cov-hero__sub { margin-top: 16px; font-family: var(--font-body); font-size: 18px; color: #c6c6c6; letter-spacing: .02em; }
.cov-tags { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--font-body); }
.cov-tag { border-radius: 9999px; border: 1px solid rgba(255,255,255,.15); padding: 8px 20px; font-size: 14px; color: #fff; }
.cov-hero__img-wrap { position: relative; }
.cov-hero__img-wrap img { width: 100%; object-fit: cover; max-height: 440px; }
.cov-hero__img-shade { position: absolute; inset-inline: 0; bottom: 0; height: 50%; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.cov-wrap { max-width: 1180px; margin: 0 auto; padding: 64px 24px; display: flex; gap: 40px; }
.cov-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.cov-section { scroll-margin-top: 112px; }
.cov-section h2 { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.6; margin-bottom: 20px; }
.cov-section p { font-family: var(--font-body); font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.85); }
.cov-section p + p { margin-top: 16px; }
.cov-gold-h { font-size: 20px; font-weight: 700; color: var(--gold); margin: 40px 0 24px; }
.cov-aspects { display: flex; flex-direction: column; gap: 16px; }
.cov-aspects p { font-size: 16px; }
.cov-aspects strong { font-weight: 700; color: #fff; }
.cov-section .cov-sub { font-family: var(--font-body); font-size: 18px; color: #c6c6c6; margin-bottom: 24px; }
.grade { margin-top: 0; }
.grades { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.grade__label { display: block; font-size: 18px; font-weight: 700; letter-spacing: .18em; margin-bottom: 12px; }
.grade p { font-size: 16px; line-height: 1.85; }
.cov-report { margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
.cov-report img { width: 100%; max-width: 560px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); }
.cov-report span { margin-top: 16px; font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,.55); }

/* TOC */
.toc { display: none; }
@media (min-width: 1024px) {
  .toc { display: block; width: 240px; flex-shrink: 0; }
  .toc nav { position: sticky; top: 112px; }
  .toc__label { font-family: var(--font-body); font-size: 13px; color: #8c8b87; letter-spacing: .02em; margin-bottom: 20px; }
  .toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid rgba(255,255,255,.1); padding-right: 20px; }
  .toc li { position: relative; }
  .toc__bar { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); height: 20px; width: 2px; border-radius: 9999px; background: var(--gold); display: none; }
  .toc li.active .toc__bar { display: block; }
  .toc button { display: block; width: 100%; text-align: right; font-family: var(--font-body); font-size: 15px; line-height: 1.7; padding: 6px 0; color: #8c8b87; }
  .toc button:hover { color: rgba(255,255,255,.8); }
  .toc li.active button { color: #fff; font-weight: 500; }
}
@media (min-width: 1024px) {
  .cov-wrap { padding: 64px 40px; gap: 64px; }
  .cov-hero__head { padding: 128px 64px 48px; }
  .cov-hero__title { font-size: 48px; }
  .cov-section h2 { font-size: 36px; }
  .cov-section p, .cov-aspects p { font-size: 19px; }
}

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

/* ===== ADMIN PANEL ===== */
/* The `hidden` attribute must always win: class rules like `.adm-login {
   display:flex }` have equal specificity to the UA `[hidden]{display:none}`
   and would otherwise keep hidden views visible (blocking view switching). */
[hidden] { display: none !important; }

/* Admin/reader theme tokens — light is the default; dark kicks in under
   html[data-theme="dark"]. The dark-red top bar stays fixed in both themes. */
:root {
  --adm-bg: #f5f5f4;
  --adm-surface: #ffffff;
  --adm-surface-2: #faf9f7;
  --adm-text: #1A1A1A;
  --adm-muted: #888888;
  --adm-faint: #999999;
  --adm-soft-text: #555555;
  --adm-border: #e6e6e6;
  --adm-border-soft: #f0f0f0;
  --adm-input-bg: #FAFAFA;
  --adm-input-bg-focus: #ffffff;
  --adm-input-border: #E2E2E2;
  --adm-chip-bg: #e7e7e6;
  --adm-shadow: 0 6px 20px rgba(0,0,0,.06);
  --adm-card-shadow: 0 20px 60px rgba(0,0,0,.4);
  --adm-primary-bg: #1A1A1A;
  --adm-primary-bg-hover: #000000;
  --adm-primary-text: #ffffff;
  --adm-ghost-text: #444444;
  --adm-ghost-border: #dddddd;
  --adm-ghost-hover: #f4f4f4;
  /* landing-style action buttons */
  --adm-solid-bg: #141414; --adm-solid-bg-hover: #000000; --adm-solid-text: #ffffff;
  --adm-outline-bg: #f4f4f4; --adm-outline-line: #dddddd; --adm-outline-ink: #333333; --adm-outline-bg-hover: #ececec;
  --adm-gold: #C9A24B;
  --adm-gold-ink: #B0842B;
  --adm-accent: #F2612F; --adm-accent-2: #E5372B;
  --adm-accent-grad: linear-gradient(135deg,#F2612F,#E5372B);
  --adm-accent-soft: rgba(242,97,47,.12);
  --adm-red: #E5372B; --adm-red-soft: rgba(229,55,43,.12);
  --adm-amber: #C67C15; --adm-amber-soft: rgba(227,154,43,.16);
  --adm-green: #1F8A54; --adm-green-soft: rgba(47,169,104,.14);
  --adm-error-bg: #FDECEC; --adm-error-text: #B02525;
  --adm-success-bg: #E9F7EC; --adm-success-text: #1E7A34;
}
html[data-theme="dark"] {
  --adm-bg: #000000;
  --adm-surface: #262626;
  --adm-surface-2: #2F2F2F;
  --adm-text: #F5F5F5;
  --adm-muted: #9A9A9A;
  --adm-faint: #6E6E6E;
  --adm-soft-text: #C2C2C2;
  --adm-border: #363636;
  --adm-border-soft: #303030;
  --adm-input-bg: #1C1C1C;
  --adm-input-bg-focus: #242424;
  --adm-input-border: #3A3A3A;
  --adm-chip-bg: #363636;
  --adm-shadow: 0 6px 20px rgba(0,0,0,.4);
  --adm-card-shadow: 0 20px 60px rgba(0,0,0,.65);
  --adm-primary-bg: #F2612F;
  --adm-primary-bg-hover: #E5372B;
  --adm-primary-text: #ffffff;
  --adm-ghost-text: #C6C6CE;
  --adm-ghost-border: #2E2E35;
  --adm-ghost-hover: #1F1F24;
  /* landing-style action buttons: white solid + light ghost (matches hero CTAs) */
  --adm-solid-bg: #ffffff; --adm-solid-bg-hover: #eaeaea; --adm-solid-text: #000000;
  --adm-outline-bg: rgba(255,255,255,.08); --adm-outline-line: rgba(255,255,255,.28); --adm-outline-ink: #f2f2f2; --adm-outline-bg-hover: rgba(255,255,255,.16);
  --adm-accent: #F2612F; --adm-accent-2: #E5372B;
  --adm-accent-grad: linear-gradient(135deg,#F2612F,#E5372B);
  --adm-accent-soft: rgba(242,97,47,.18);
  --adm-red: #F06455; --adm-red-soft: rgba(240,100,85,.16);
  --adm-amber: #E7B15A; --adm-amber-soft: rgba(231,177,90,.16);
  --adm-green: #4FBE82; --adm-green-soft: rgba(79,190,130,.16);
  --adm-error-bg: #3a1e1e; --adm-error-text: #f0a3a3;
  --adm-success-bg: #1c3323; --adm-success-text: #8fd6a3;
}

/* ---- Split-screen sign-in: cinema image left, form right ---- */
.adm-login {
  min-height: 100vh; display: flex;
  font-family: 'Tajawal', system-ui, sans-serif;
  background: var(--adm-bg);
}
.adm-login__media {
  flex: 1 1 50%; align-self: stretch;
  background: url(../assets/login-hero.png) center / cover no-repeat;
}
.adm-login__panel {
  flex: 1 1 50%; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; background: #ffffff;
}
html[data-theme="dark"] .adm-login__panel { background: #000000; }
.adm-login__lang { position: absolute; top: 24px; inset-inline-end: 24px; margin: 0; }
.adm-login__form { width: 100%; max-width: 380px; }
.adm-login__form .adm-field { margin-bottom: 20px; }
.adm-login__form .adm-field > label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.adm-login__form .adm-field input { border-radius: 12px; padding: 13px 14px; font-size: 15px; }
.adm-login__brandwrap { margin-bottom: 16px; text-align: center; }
.adm-login__title { text-align: center; font-size: 22px; font-weight: 700; margin: 0 0 34px; color: var(--adm-text); }
.adm-login__logo {
  display: block; height: 64px; width: 64px; margin: 0 auto;
  background: no-repeat center / contain url(../assets/scene-one-logo-light.svg);
}
html[data-theme="dark"] .adm-login__logo { background-image: url(../assets/scene-one-logo.svg); }

/* password field + show/hide eye */
.adm-pass { position: relative; }
.adm-pass input { padding-inline-end: 44px; }
/* Hide the browser's native password reveal / autofill icons so they don't
   overlap our custom eye button. */
.adm-login__form input::-ms-reveal,
.adm-login__form input::-ms-clear { display: none; }
.adm-login__form input::-webkit-credentials-auto-fill-button,
.adm-login__form input::-webkit-contacts-auto-fill-button,
.adm-login__form input::-webkit-strong-password-auto-fill-button {
  visibility: hidden; display: none !important; pointer-events: none;
  width: 0; height: 0; margin: 0;
}
.adm-pass__eye {
  position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--adm-muted); cursor: pointer;
  padding: 6px; line-height: 0; border-radius: 8px;
}
.adm-pass__eye:hover { color: var(--adm-text); }
.adm-pass__eye.is-on { color: var(--adm-accent, #CD2E07); }

/* remember-me toggle */
.adm-remember { display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 2px 0 24px; font-size: 14px; color: var(--adm-text); }
.adm-remember input { position: absolute; opacity: 0; width: 0; height: 0; }
.adm-remember__track { width: 40px; height: 22px; border-radius: 999px; background: var(--adm-input-border); position: relative; transition: background .15s; flex-shrink: 0; }
.adm-remember__thumb { position: absolute; top: 2px; inset-inline-start: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .15s; }
.adm-remember input:checked + .adm-remember__track { background: var(--adm-accent, #CD2E07); }
.adm-remember input:checked + .adm-remember__track .adm-remember__thumb { transform: translateX(18px); }
[dir="rtl"] .adm-remember input:checked + .adm-remember__track .adm-remember__thumb { transform: translateX(-18px); }
.adm-remember input:focus-visible + .adm-remember__track { box-shadow: 0 0 0 3px rgba(201,162,75,.3); }

/* sign-in button: black on light, white on dark (inverse of the panel) */
.adm-login__submit { width: 100%; padding: 15px; border-radius: 12px; font-size: 15px; font-weight: 700; border: 0; cursor: pointer; background: #111418; color: #fff; transition: opacity .15s; }
.adm-login__submit:hover { opacity: .88; }
.adm-login__submit:disabled { opacity: .6; cursor: default; }
html[data-theme="dark"] .adm-login__submit { background: #ffffff; color: #111418; }

.adm-login__divider { height: 1px; background: var(--adm-border); margin-top: 22px; }
.adm-login__foot { position: absolute; bottom: 28px; inset-inline: 0; text-align: center; color: var(--adm-muted); font-size: 13px; margin: 0; }

@media (max-width: 860px) {
  .adm-login__media { display: none; }
  .adm-login__panel { flex-basis: 100%; }
}

.adm-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.adm-field > label { font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--adm-text); }
.adm-field input, .adm-field select {
  border: 1px solid var(--adm-input-border); border-radius: 10px; padding: 11px 12px; font-size: 14px;
  background: var(--adm-input-bg); color: var(--adm-text); outline: none; width: 100%; box-sizing: border-box;
  font-family: inherit;
}
.adm-field input:focus, .adm-field select:focus {
  border-color: #C9A24B; box-shadow: 0 0 0 3px rgba(201,162,75,.15); background: var(--adm-input-bg-focus);
}

.adm-btn {
  border: none; border-radius: 10px; padding: 12px 16px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: 'Tajawal', sans-serif; transition: background .15s, opacity .15s;
}
.adm-btn:disabled { opacity: .6; cursor: default; }
.adm-btn--primary { width: 100%; background: var(--adm-primary-bg); color: var(--adm-primary-text); }
.adm-btn--primary:hover { background: var(--adm-primary-bg-hover); }
.adm-btn--ghost { background: transparent; color: var(--adm-ghost-text); border: 1px solid var(--adm-ghost-border); padding: 8px 14px; font-size: 14px; }
.adm-btn--ghost:hover { background: var(--adm-ghost-hover); }
/* Buttons that sit on the fixed dark top bar stay light in both themes. */
.adm-top .adm-btn--ghost { color: #f0e9df; border-color: rgba(255,255,255,.25); }
.adm-top .adm-btn--ghost:hover { background: rgba(255,255,255,.08); }
.adm-theme { padding: 8px 12px; line-height: 0; display: inline-flex; align-items: center; justify-content: center; }

.adm-error { background: var(--adm-error-bg); color: var(--adm-error-text); border-radius: 8px; padding: 9px 12px; font-size: 13px; margin: 0 0 14px; }
.adm-success { background: var(--adm-success-bg); color: var(--adm-success-text); border-radius: 8px; padding: 9px 12px; font-size: 13px; margin: 0 0 14px; }

.adm {
  min-height: 100vh; display: flex; background: var(--adm-bg);
  font-family: 'Tajawal', system-ui, sans-serif; color: var(--adm-text);
}

/* Boot loader: covers the page while the session check runs so it's never blank. */
.adm-boot {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: var(--adm-bg);
}
.adm-boot[hidden] { display: none; }

/* ---- Sidebar: a rounded floating card, always visible ---- */
.adm-side {
  width: 250px; flex-shrink: 0; background: var(--adm-surface);
  border: 1px solid var(--adm-border); border-radius: 20px;
  display: flex; flex-direction: column; padding: 22px 16px;
  position: sticky; top: 16px; height: calc(100vh - 32px);
  margin: 16px; box-shadow: var(--adm-shadow);
}
.adm-side > * { white-space: nowrap; }
.adm-side__brand { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 10px 22px; font-weight: 800; font-size: 18px; }
.adm-side__logo { font-size: 22px; }
/* Scene One logo. Dedicated artwork per theme: white+orange mark on the dark
   sidebar, black+orange mark on the light sidebar. */
.adm-brand-logo {
  display: block; height: 46px; width: 46px;
  background: no-repeat center / contain url(../assets/scene-one-logo-light.svg);
}
html[data-theme="dark"] .adm-brand-logo { background-image: url(../assets/scene-one-logo.svg); }

.adm-nav { display: flex; flex-direction: column; gap: 4px; }
.adm-navitem {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: none; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 14.5px; font-weight: 700; color: var(--adm-muted);
  padding: 11px 12px; border-radius: 12px; text-align: start; transition: background .15s, color .15s;
}
.adm-navitem__ico { width: 20px; height: 20px; flex-shrink: 0; }
.adm-navitem:hover { background: var(--adm-ghost-hover); color: var(--adm-text); }
.adm-navitem.is-active { background: var(--adm-ghost-hover); color: var(--adm-accent, #CD2E07); }

.adm-side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--adm-border); }
.adm-user { display: flex; align-items: center; gap: 10px; }
.adm-user__av {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--adm-accent-grad); color: #fff; font-weight: 800; font-size: 16px;
}
.adm-user__meta { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.adm-who { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-role { font-size: 11.5px; color: var(--adm-muted); font-weight: 600; }
.adm-side__actions { display: flex; gap: 8px; }
.adm-side__actions .adm-btn--ghost { flex: 1; text-align: center; }
.adm-side__actions .adm-theme { flex: 0 0 auto; }

/* ---- Main content ---- */
.adm-main { flex: 1; min-width: 0; position: relative; overflow: hidden; }
.adm-panel { padding: 28px 20px; max-width: 1760px; margin: 0 auto; position: relative; z-index: 1; }

/* Decorative hand-drawn illustrations behind the dashboard. White SVG line
   art: faint on the dark theme, inverted to dark ink on the light theme. */
.adm-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.adm-decor-img {
  position: absolute; opacity: .5; user-select: none;
  background-repeat: no-repeat; background-size: contain; background-position: center;
}
/* Light theme swaps in the light-specific artwork and inverts the white line
   art to dark ink so it reads against the light dashboard. */
html[data-theme="light"] .adm-decor-img { filter: invert(1); opacity: .45; }
.adm-decor-reel    { top: 10%;    inset-inline-start: 3%; width: 240px; aspect-ratio: 283/391; background-image: url(../assets/deco-reel.svg); }
.adm-decor-chair   { top: 6%;     inset-inline-end: 4%;   width: 180px; aspect-ratio: 191/266; background-image: url(../assets/deco-chair.svg); }
.adm-decor-camera  { bottom: 7%;  inset-inline-end: 5%;   width: 220px; aspect-ratio: 150/159; background-image: url(../assets/deco-camera.svg); }
.adm-decor-clapper { bottom: 10%; inset-inline-start: 4%; width: 150px; aspect-ratio: 85/99;   background-image: url(../assets/deco-clapper.svg); }
html[data-theme="light"] .adm-decor-reel    { background-image: url(../assets/deco-reel-light.svg); }
html[data-theme="light"] .adm-decor-chair   { background-image: url(../assets/deco-chair-light.svg); }
html[data-theme="light"] .adm-decor-camera  { background-image: url(../assets/deco-camera-light.svg); }
html[data-theme="light"] .adm-decor-clapper { background-image: url(../assets/deco-clapper-light.svg); }
@media (max-width: 900px) {
  .adm-decor-reel    { width: 150px; }
  .adm-decor-chair   { width: 110px; }
  .adm-decor-camera  { width: 150px; }
  .adm-decor-clapper { width: 100px; }
}
.adm-panel__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; gap: 16px; }
.adm-panel__head h2 { font-size: 22px; font-weight: 800; margin: 0; }
.adm-panel__sub { margin: 4px 0 0; color: var(--adm-muted); font-size: 13.5px; }

/* ---- KPI cards ---- */
.adm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.adm-kpi {
  background: var(--adm-surface); border: 1px solid var(--adm-border); border-radius: 18px;
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.adm-kpi__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.adm-kpi__badge { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; font-weight: 800; color: var(--adm-accent); background: var(--adm-accent-soft); border-radius: 8px; padding: 5px 13px; }
.adm-kpi__label { font-size: 13px; color: var(--adm-muted); font-weight: 600; }
.adm-kpi__value { font-size: 32px; font-weight: 800; line-height: 1; color: var(--adm-text); font-variant-numeric: tabular-nums; }
.adm-kpi--pending .adm-kpi__badge { color: var(--adm-red); background: var(--adm-red-soft); }
.adm-kpi--review .adm-kpi__badge { color: var(--adm-amber); background: var(--adm-amber-soft); }
.adm-kpi--done .adm-kpi__badge { color: var(--adm-green); background: var(--adm-green-soft); }

.adm-tablehead { display: flex; align-items: center; margin-bottom: 12px; }
/* Month filter (deliveries) — sits at the end of the table header row. */
.adm-tablefilter { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--adm-muted); }
.adm-tablefilter[hidden] { display: none; }
/* Custom chevron (native appearance off) so the arrow can sit inset from the
   edge instead of pinned to it — and flip sides correctly in RTL. */
.adm-tablefilter select {
  font: inherit; font-size: 14px; line-height: 1.3; color: var(--adm-text);
  background-color: var(--adm-surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 13px 13px;
  border: 1px solid var(--adm-border); border-radius: 10px;
  padding: 10px 42px 10px 14px;
  min-height: 42px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
html[dir="rtl"] .adm-tablefilter select { background-position: left 16px center; padding: 10px 14px 10px 42px; }
/* Deliveries grouped by month: a heading ABOVE each month's own table. */
.adm-monthgroup + .adm-monthgroup { margin-top: 22px; }
.adm-monthgroup__head { margin: 0 0 10px; font-size: 13.5px; font-weight: 800; letter-spacing: .02em; color: var(--adm-text); }
.adm-tablehead h3 { font-size: 15px; font-weight: 800; margin: 0; }
.adm-count { display: inline-block; font-size: 13px; margin-inline-start: 6px; color: var(--adm-soft-text); }

/* Staff kanban board (segmented main dashboard) */
.adm-kanban { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.adm-kanban[hidden] { display: none; }
.adm-kancol { background: var(--adm-surface); border: 1px solid var(--adm-border); border-radius: 16px; padding: 14px; min-height: 120px; }
.adm-kancol__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; letter-spacing: .02em; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--adm-border-soft); }
.adm-kancol__body { display: flex; flex-direction: column; gap: 10px; }
/* Empty state is shaped like a card (same box + height) so an empty column
   lines up with a populated one. 75px matches .adm-card's rendered height. */
.adm-kancol__empty { color: var(--adm-muted); font-size: 12.5px; line-height: 1.6;
  border: 1px solid var(--adm-border); border-radius: 12px; padding: 10px 12px;
  min-height: 75px; display: flex; align-items: center; }
.adm-card { background: transparent; border: 1px solid var(--adm-border); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; }
.adm-card__title { font-weight: 600; font-size: 13px; line-height: 1.35; }
.adm-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.adm-card__right { display: inline-flex; align-items: center; gap: 8px; }
/* Staff reassign picker on a kanban card — sized to sit inline with the action. */
.adm-reassign { font: inherit; font-size: 12px; height: 28px; max-width: 130px; padding: 0 10px;
  color: var(--adm-text); background: var(--adm-surface-2); border: 1px solid var(--adm-border);
  border-radius: 7px; cursor: pointer; }
.adm-reassign:disabled { opacity: .5; cursor: default; }
.adm-card__avatars { display: flex; gap: 4px; }
/* Compact the shared bits inside a card: the deadline sits on one line (the
   table keeps it stacked) and the action is a small inline button, so a card
   stays close to the height of an empty column. */
.adm-card .adm-due { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.adm-card .adm-due > div { display: inline; font-size: 12px; }
.adm-card .adm-due__badge { margin-top: 0; padding: 2px 8px; font-size: 11px; }
.adm-card .adm-link { width: auto; height: 28px; padding: 4px 12px; font-size: 12px; border-radius: 7px; }
.adm-card .adm-av { width: 26px; height: 26px; font-size: 11.5px; }
@media (max-width: 900px) { .adm-kanban { grid-template-columns: 1fr; } }

.adm-tablewrap { background: var(--adm-surface); border: 1px solid var(--adm-border); border-radius: 18px; overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th, .adm-table td { padding: 13px 11px; text-align: center; border-bottom: 1px solid var(--adm-border-soft); white-space: nowrap; }
.adm-table th { background: var(--adm-surface-2); font-weight: 700; color: var(--adm-muted); font-size: 12px; letter-spacing: .01em; position: sticky; top: 0; }
.adm-table tbody tr { transition: background .12s; }
.adm-table tbody tr:hover { background: var(--adm-surface-2); }
.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table td { vertical-align: top; }
.adm-muted { color: var(--adm-faint); font-size: 12px; }
.adm-empty { padding: 40px; text-align: center; color: var(--adm-faint); }
/* Submission deadline (submitted date + 2 weeks) */
.adm-due__badge { display: inline-flex; align-items: center; justify-content: center; text-align: center; margin-top: 6px; font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 8px; white-space: nowrap; }
.adm-due--ok   { color: #2f9d5e; background: rgba(47,157,94,.14); }
.adm-due--soon { color: #c9962e; background: rgba(201,150,46,.16); }
.adm-due--over { color: #d9584a; background: rgba(217,88,74,.16); }
.adm-due--done { color: var(--adm-muted); background: var(--adm-surface-2); }
/* Access log: distinct-IP count per admin; flagged when it looks shared. */
.adm-ipcount { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.adm-ipcount--flag { color: var(--adm-red); background: var(--adm-red-soft); padding: 3px 10px; border-radius: 8px; font-weight: 800; }
/* Loading state while submissions are being fetched. */
.adm-loading {
display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 14px;

  padding: 56px 20px;

  color: var(--adm-muted);

  font-size: 14px;




}


.adm-loading::before {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(205, 46, 7, 0.2); /* soft red/orange */
  border-top-color: #cd2e07; /* your brand red */
  animation: adm-spin 0.8s linear infinite;
}


@keyframes adm-spin {
  to {
    transform: rotate(360deg);
  }
}


/* ===== Scene One loader (shared) ===== */

/* Base loader box + colours. Without this the CSS variables (--frame/--brand)
   are undefined on the dark theme and the loader renders invisibly (black on
   black) — e.g. the admin boot loader. Mirrors the self-contained definition in
   coverage.html / report.html. */
.so-loader{ --size:88px; --brand:#CD2E07; --frame:#ffffff; width:var(--size); height:var(--size); position:relative; display:inline-block; }
.so-loader[hidden]{ display:none; }
.so-loader svg{ width:100%; height:100%; display:block; overflow:visible; }

  /* use on white backgrounds */
html[data-theme="light"] .so-loader{ --frame:#15110f; }  /* auto on light theme */
.so-loader.sm{ --size:40px; }
.so-loader.lg{ --size:140px; }

.so-corner{
  stroke: var(--frame); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; fill: none;
  animation: so-breathe 2.4s ease-in-out infinite;
}
.so-corner:nth-of-type(2){ animation-delay:.15s; }
.so-corner:nth-of-type(3){ animation-delay:.30s; }
.so-corner:nth-of-type(4){ animation-delay:.45s; }
@keyframes so-breathe{ 0%,100%{opacity:.55} 50%{opacity:1} }
.so-scan{
  stroke: var(--brand); stroke-width: 1.1; stroke-linecap: round;
  filter: drop-shadow(0 0 2px var(--brand));
  animation: so-sweep 1.9s cubic-bezier(.6,0,.4,1) infinite;
}
.so-trail{ fill: var(--brand); opacity: .28; animation: so-sweep 1.9s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes so-sweep{
  0%{ transform: translateY(0); opacity:0 } 10%{ opacity:1 }
  50%{ transform: translateY(56px); opacity:1 } 90%{ opacity:1 }
  100%{ transform: translateY(0); opacity:0 }
}
.so-rec{ fill: var(--brand); transform-origin: center; animation: so-rec 1.9s ease-in-out infinite; }
@keyframes so-rec{ 0%,100%{ opacity:.35 } 50%{ opacity:1 } }
.so-rec-halo{ fill: var(--brand); opacity: 0; transform-origin: center; animation: so-halo 1.9s ease-out infinite; }
@keyframes so-halo{ 0%{ opacity:.45; transform:scale(.6) } 70%{ opacity:0; transform:scale(2.4) } 100%{ opacity:0; transform:scale(2.4) } }
@media (prefers-reduced-motion: reduce){
  .so-corner,.so-scan,.so-trail,.so-rec,.so-rec-halo{ animation:none }
  .so-scan{ transform: translateY(28px) }
  .so-rec{ opacity:1 }
}

/* Table actions render as compact rounded-rectangle buttons (not text links). */
/* Action buttons mirror the landing-page CTAs: ghost outline (secondary) + white solid (primary). */
.adm-link {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  border: 1px solid var(--adm-outline-line); background: var(--adm-outline-bg); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--adm-outline-ink);
  width: 150px; height: 39px; padding: 8px 18px; border-radius: 8px; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.adm-link:hover { background: var(--adm-outline-bg-hover); border-color: var(--adm-outline-line); color: var(--adm-outline-ink); }
.adm-link:disabled { opacity: .5; cursor: default; }
/* Disabled coverage button: keep it visually inert (no hover feedback). */
.adm-link:disabled:hover { background: var(--adm-outline-bg); border-color: var(--adm-outline-line); color: var(--adm-outline-ink); }
.adm-link--gold:disabled:hover { background: var(--adm-solid-bg); border-color: var(--adm-solid-bg); color: var(--adm-solid-text); }
/* Primary action (assign / start-continue coverage): white solid, like the hero's white CTA. */
.adm-link--gold { background: var(--adm-solid-bg); border-color: var(--adm-solid-bg); color: var(--adm-solid-text); font-weight: 500; }
.adm-link--gold:hover { background: var(--adm-solid-bg-hover); border-color: var(--adm-solid-bg-hover); color: var(--adm-solid-text); }
/* Secondary/cancel: quieter outline. */
.adm-link--muted { background: transparent; color: var(--adm-muted); font-weight: 600; }
.adm-link--muted:hover { color: #CD2E07; border-color: #CD2E07; }
/* Destructive: red outline. */
.adm-link--danger { background: transparent; color: #C0392B; border-color: rgba(192,57,43,.4); }
.adm-link--danger:hover { background: rgba(192,57,43,.08); border-color: rgba(192,57,43,.6); color: #C0392B; }
html[data-theme="dark"] .adm-link--danger { color: #e57368; border-color: rgba(229,115,104,.4); }
html[data-theme="dark"] .adm-link--danger:hover { background: rgba(229,115,104,.12); color: #e57368; }


/* Assignee cell: circular letter-avatar / empty "add me" icon */
.adm-av {
  width: 36px; height: 36px; border-radius: 50%; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  color: #fff; border: none; padding: 0; cursor: pointer;
  transition: transform .12s, box-shadow .12s, border-color .15s, color .15s;
}
.adm-av--static { cursor: default; }
button.adm-av:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.adm-av--add {
  background: transparent; color: var(--adm-muted);
  border: 1.5px dashed var(--adm-outline-line);
}
.adm-av--add:hover { color: #C9A24B; border-color: #C9A24B; box-shadow: none; transform: none; }
/* Primary + co-reader avatars sit side by side, slightly overlapped. */
.adm-assignee__row { display: inline-flex; align-items: center; gap: 6px; }

/* Language toggle (ar / en) */
.adm-lang { display: flex; gap: 2px; background: var(--adm-input-bg); border: 1px solid var(--adm-border); padding: 3px; border-radius: 10px; }
.adm-lang button { flex: 1; text-align: center; border: 0; background: transparent; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--adm-muted); padding: 5px 10px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.adm-lang button.on { background: var(--adm-surface); color: var(--adm-text); }
.adm-lang button:hover:not(.on) { color: var(--adm-text); }
.adm-login__lang { justify-content: center; margin: 0 auto 18px; width: max-content; }

.adm-create { background: var(--adm-surface); border-radius: 12px; box-shadow: var(--adm-shadow); padding: 22px; margin-top: 24px; max-width: 520px; }
.adm-create h3 { margin: 0 0 16px; font-size: 17px; font-weight: 800; }

@media (max-width: 1000px) {
  .adm-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .adm { flex-direction: column; }
  .adm-fold { display: none; }
  .adm.is-nav-collapsed .adm-fold--open { display: none; }
  .adm-side {
    width: auto; height: auto; position: static; flex-direction: row; flex-wrap: wrap;
    align-items: center; gap: 8px 14px; padding: 12px 16px;
    border-inline-start: none; border-bottom: 1px solid var(--adm-border);
  }
  .adm-side__brand { padding: 0; }
  .adm-nav { flex-direction: row; flex: 1; gap: 4px; }
  .adm-side__foot { margin-top: 0; flex-direction: row; align-items: center; padding-top: 0; border-top: none; gap: 10px; }
}
@media (max-width: 560px) {
  .adm-panel { padding: 18px 16px; }
  .adm-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .adm-side { flex-direction: column; align-items: stretch; }
  .adm-nav { flex-direction: column; }
  .adm-side__foot { flex-direction: column; align-items: stretch; }
}

/* ====================== SCRIPT SUBMISSION PAGE ====================== */
.submit-page {
  min-height: 100vh;
  background: var(--bg);
  color: #fff;
  padding: 120px 20px 80px;
}
@media (max-width: 768px) {
  .submit-page { padding: 96px 28px 56px; }
  .sub-card__body { padding: 26px 20px 30px; }
}
.submit-page .nav { align-items: center; }

.sub-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* decorative film icons — same treatment as the menu overlay, fixed behind the form */
.sub-decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sub-decor-img { position: absolute; opacity: .14; filter: grayscale(1) brightness(1.6); user-select: none; }
.sub-decor-chair   { top: 8%;  right: 6%;  width: 150px; }
.sub-decor-reel    { top: 42%; left: 4%;   width: 190px; }
.sub-decor-camera  { bottom: 4%; left: 5%;  width: 280px; }
.sub-decor-clapper { bottom: 8%; right: 7%; width: 120px; }
@media (max-width: 640px) {
  .sub-decor-chair   { width: 90px;  top: 6%;  right: 4%; }
  .sub-decor-reel    { width: 110px; top: 38%; left: -10px; }
  .sub-decor-camera  { width: 160px; bottom: 2%; left: -10px; }
  .sub-decor-clapper { width: 72px;  bottom: 6%; right: 4%; }
}

/* the form card */
.sub-card {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.sub-card__head {
  background: var(--gold);
  color: #1a1206;
  text-align: center;
  padding: 22px 24px;
}
.sub-card__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  opacity: .75;
  margin-bottom: 4px;
}
.sub-card__title { font-family: var(--font-head); font-size: 26px; font-weight: 700; }

.sub-card__body {
  background: #f5f4f1;
  color: #1a1a1a;
  padding: 28px 24px 32px;
}

.sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.sub-field--full { grid-column: 1 / -1; }
@media (max-width: 768px) { .sub-grid { grid-template-columns: 1fr; } }

.sub-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 8px;
}
.sub-field label .req { color: var(--red); }
.sub-field label .opt { color: #999; font-weight: 400; }

.sub-field input,
.sub-field select,
.sub-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #d8d6d0;
  color: #1a1a1a;
  border-radius: 8px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 15px;
}
.sub-field input::placeholder,
.sub-field textarea::placeholder { color: #a3a09a; }
.sub-field input:focus,
.sub-field select:focus,
.sub-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(210,175,80,.2); }
.sub-field textarea { min-height: 96px; resize: vertical; }
.sub-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23555555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 38px;
}
.sub-field select option { background: #fff; color: #1a1a1a; }

.sub-err { color: var(--red); font-size: 13px; margin-top: 6px; display: none; }
.sub-field.invalid .sub-err { display: block; }
.sub-field.invalid input,
.sub-field.invalid select,
.sub-field.invalid textarea { border-color: var(--red); }
.sub-field.invalid .sub-drop { border-color: var(--red); }

.sub-hint { font-size: 13px; color: #8a877f; margin-top: 6px; line-height: 1.6; }

.sub-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: #7a776f;
  margin-top: 10px;
  line-height: 1.7;
}
.sub-note__icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: #a3a09a; }
.sub-note__link { color: var(--gold); text-decoration: underline; font-weight: 600; }
.sub-note__link:hover { color: #b8963f; }

/* Reassurance boxes around the submit button */
.sub-assure {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e0da;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 13.5px;
  color: #6a675f;
  line-height: 1.7;
}
.sub-grid + .sub-assure { margin-top: 32px; }
.sub-assure + .sub-submit { margin-top: 14px; }
.sub-submit + .sub-assure { margin-top: 14px; }
.sub-assure__icon { width: 18px; height: 18px; flex-shrink: 0; color: #9a978f; }

/* IP registration — radio buttons in a bordered box */
.sub-ipbox {
  display: flex;
  gap: 28px;
  background: #fff;
  border: 1px solid #d8d6d0;
  border-radius: 8px;
  padding: 14px 16px;
}
.sub-radio {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
}
.sub-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.sub-radio__dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c4c1ba;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s ease;
}
.sub-radio input:checked + .sub-radio__dot { border-color: var(--gold); }
.sub-radio input:checked + .sub-radio__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.sub-radio input:focus-visible + .sub-radio__dot { box-shadow: 0 0 0 3px rgba(210,175,80,.25); }

/* file dropzone */
.sub-drop {
  border: 2px dashed #cfccc4;
  border-radius: 12px;
  background: #fbfaf8;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
}
.sub-drop:hover,
.sub-drop.dragging { border-color: var(--gold); background: #fdfaf1; }
.sub-drop:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sub-drop.has-file { border-style: solid; border-color: var(--gold); background: #fdfaf1; }
.sub-drop__icon { width: 30px; height: 30px; color: #8a877f; margin: 0 auto 10px; }
.sub-drop.has-file .sub-drop__icon { color: var(--gold); }
.sub-drop__text { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: #3a3a3a; word-break: break-all; }
.sub-drop__hint { font-size: 12px; color: #9a978f; margin-top: 6px; }

.sub-submit {
  width: 100%;
  margin-top: 26px;
  background: #141414;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  padding: 14px;
  border-radius: 10px;
}
.sub-submit:hover { background: #000; }
.sub-submit:disabled { opacity: .6; cursor: default; }

.sub-foot { text-align: center; font-size: 12px; color: #8a877f; margin-top: 14px; line-height: 1.7; }

/* ===========================================================
   About Us / Readers page (readers.html) — dark theme
   =========================================================== */
.au { background: var(--bg); color: #fff; min-height: 100vh; }
.au .nav { background: transparent; box-shadow: none; position: fixed; top: 0; left: 0; right: 0; z-index: 20; }
.au .nav.scrolled { background: var(--bg); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }

/* ── HERO ── */
.au-hero { position: relative; width: 100%; height: 55vh; min-height: 400px; overflow: hidden; display: flex; }
.au-hero__bg {
  position: absolute; inset: 0;
  /* fill the viewport as a full-bleed hero; "cover" preserves the image
     aspect (no stretch); anchored a little below the top so a shorter
     box trims a bit off the very top (dark truss) as well as the bottom */
  background: #050505 url('../assets/aboutus-hero.jpg') center 36% / cover no-repeat;
}
.au-hero__shade {
  position: absolute; inset: 0;
  /* same dark-top / clear-middle / fade-to-bg transition as the landing
     page's hero, for a consistent look between the two hero sections;
     bottom stop is a partial-opacity version of --bg (not fully solid)
     so the photo still shows through a little in that band */
  background: linear-gradient(to bottom, rgba(0,0,0,.3), transparent, rgba(14,2,2,.88));
}
/* normal block below the hero (not inside it, since .au-hero has
   overflow:hidden and would clip anything pushed past its bottom edge) */
.au-hero__rule {
  margin: 24px clamp(24px, 7vw, 140px) 0; height: 1px; background: rgba(255,255,255,.22);
}
.au-hero__photo { display: none; }
.au-hero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: none; margin: 0; padding: 96px 56px 64px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: start;
  direction: ltr; /* physical columns: col 1 = left, col 2 = right */
}
.au-hero__title {
  grid-column: 2; justify-self: end; direction: rtl; text-align: right;
  font-family: var(--font-body); font-weight: 700; color: #fff;
  font-size: clamp(34px, 5vw, 56px); line-height: .98; letter-spacing: -0.01em;
}
/* normal block below the hero (sibling of .au-hero__rule below it), not
   an overlay -- sits naturally just above the divider line */
.au-hero__quote {
  margin: 24px clamp(24px, 7vw, 140px) 0; max-width: 320px; direction: rtl; text-align: right;
}
.au-hero__quote blockquote {
  font-family: var(--font-body); font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.85);
}
.au-hero__quote figcaption {
  font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px;
}
.au-hero__mark {
  grid-column: 1 / -1; justify-self: center; align-self: center;
  margin-top: clamp(40px, 8vw, 110px); width: 100%; max-width: 620px; text-align: center;
}
.au-hero__mark img { width: 100%; height: auto; margin: 0 auto; }

/* ── ABOUT / STORY ── */
/* all section content is right-aligned to a consistent 56px gutter that
   matches the hero, so every heading shares the same right edge */
.au-about { padding: clamp(56px, 9vw, 112px) 56px; }
.au-about__inner {
  max-width: 1120px; margin: 0 0 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: start;
  direction: ltr; /* physical columns: col 1 = left (body), col 2 = right (label) */
}
.au-about__label {
  grid-column: 2; grid-row: 1; direction: rtl; font-family: var(--font-head); font-weight: 600;
  font-size: 25px; line-height: 2; letter-spacing: .05em; color: rgba(255,255,255,.9); white-space: nowrap;
}
.au-about__label span { color: rgba(255,255,255,.9); }
.au-about__body { grid-column: 1; grid-row: 1; direction: rtl; max-width: 720px; }
.au-about__body p {
  font-family: var(--font-body); font-size: 17px; line-height: 2; color: rgba(255,255,255,.72);
  text-align: right; margin-bottom: 22px;
}
.au-about__body p:last-child { margin-bottom: 0; }

/* ── READERS TEAM ── */
.au-team { padding: clamp(24px, 4vw, 48px) 56px clamp(80px, 12vw, 140px); }
.au-team__title {
  font-family: var(--font-head); font-weight: 700; color: #fff; text-align: right;
  font-size: clamp(34px, 5vw, 56px); margin: 0 0 clamp(48px, 7vw, 88px);
}
.au-cards {
  max-width: 1040px; margin: 0 0 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 64px);
}
.au-card__photo {
  aspect-ratio: 3 / 4; overflow: hidden; background: transparent; margin: 0 0 24px auto;
  width: 80%; max-width: 320px;
}
.au-card__photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: grayscale(100%); }
.au-card__role {
  font-family: var(--font-body); font-size: 13px; color: var(--red);
  text-align: right; margin-bottom: 8px;
}
.au-card__name {
  font-family: var(--font-head); font-weight: 700; font-size: 24px; color: #fff;
  text-align: right; margin-bottom: 16px;
}
.au-card__bio {
  font-family: var(--font-body); font-size: 15px; line-height: 1.95; color: rgba(255,255,255,.62);
  text-align: right;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .au-hero__inner { padding: 120px 32px 48px; }
  .au-about { padding-left: 32px; padding-right: 32px; }
  .au-team { padding-left: 32px; padding-right: 32px; }
  .au-about__inner { grid-template-columns: 1fr; gap: 20px; }
  .au-about__label { grid-column: 1; grid-row: 1; text-align: right; }
  .au-about__body { grid-column: 1; grid-row: 2; }
  .au-cards { grid-template-columns: 1fr; max-width: 460px; gap: 48px; }
}
@media (max-width: 640px) {
  /* the hero was forced to 100vh even though the image (and text above
     it) don't need that much room, leaving a big empty gap before the
     divider. Stack image -> title -> quote -> rule in normal flow, sized
     to content, so the photo starts immediately below the nav instead of
     being pushed down by the title. .au-hero becomes a flex column and
     .au-hero__inner dissolves (display:contents) so the title/quote it
     wraps can be reordered independently. */
  .au-hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .au-hero__bg { display: none; }
  .au-hero__shade { display: none; }
  .au-hero__inner { display: contents; }
  .au-hero__photo { order: 1; display: block; width: 100%; aspect-ratio: 2200 / 1916;
    background: #050505 url('../assets/aboutus-hero.jpg') center center / cover no-repeat; }
  /* overlay the title on the photo's dark ceiling-truss band, above the
     light row and well clear of the SCENE ONE wordmark further down */
  .au-hero__title {
    position: absolute; top: 78px; right: 24px; left: auto; width: max-content;
    max-width: calc(100% - 160px); text-align: right;
    font-size: 26px; line-height: 1.15; text-shadow: 0 2px 14px rgba(0,0,0,.65); z-index: 5;
  }
  .au-hero__quote { order: 2; position: static; margin: 24px 24px 0; max-width: none; }
  .au-hero__rule { order: 3; position: static; margin: 32px 24px 0; }
  .au-about, .au-team { padding-left: 24px; padding-right: 24px; }
}
