/* يوتير v4 — inspired by Thmanyah + Kalamashii, dark Saudi editorial */
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../assets/fonts/thmanyahserifdisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../assets/fonts/thmanyahserifdisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../assets/fonts/thmanyahserifdisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --surface: #ffffff;
  --fg: #0a0a0a;
  --muted: #666666;
  --line: rgba(10, 10, 10, 0.10);
  --line-strong: rgba(10, 10, 10, 0.18);
  --accent: #1ed760;
  --accent-2: #12a84a;
  --accent-ink: #04140a;
  --accent-soft: rgba(30, 215, 96, 0.12);
  --banner: #0b7a3a;
  --banner-deep: #085c2c;
  --graphite: #1a1c1a;
  --ticker: #111111;
  --ticker-fg: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --font-display: "Thmanyah Serif Display", "Thmanyah Sans", serif;
  --font-body: "Thmanyah Sans", system-ui, sans-serif;
  --max: 1180px;
  --narrow: 720px;
  --header: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], .hero { scroll-margin-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--accent); }
strong { font-weight: 700; }

.skip {
  position: absolute; inset-inline-start: 16px; top: -80px;
  background: #fff; color: #000; padding: 8px 16px; border-radius: 8px; z-index: 100;
}
.skip:focus { top: 16px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.container.narrow { width: min(100% - 40px, var(--narrow)); }

.brand-mark {
  font-family: var(--font-display);
  font-weight: 900; font-size: 26px;
  letter-spacing: -0.02em; line-height: 1; color: var(--fg);
}
.footer-brand { font-size: 24px; margin-bottom: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #2af072; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); background: rgba(10,10,10,0.03); }
.btn-pill-light {
  background: #fff; color: var(--fg);
  min-height: 42px; padding: 0 20px; font-size: 14px; font-weight: 700;
  border-radius: 999px;
}
.btn-pill-light:hover { background: #f3f3f3; }
.btn-ghost-light {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* Ticker */
.ticker { background: var(--ticker); color: #f2f2f2; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.ticker-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; min-height: 42px; padding: 10px 0;
}
.ticker p { margin: 0; color: #f2f2f2; line-height: 1.45; }
.ticker a { color: #5cff95; font-weight: 800; white-space: nowrap; }
.ticker a:hover { text-decoration: underline; }
.ticker-sep {
  display: inline-block; width: 5px; height: 5px; margin-inline: 8px;
  background: var(--accent); transform: rotate(45deg); vertical-align: middle;
}

/* Header — Kalamashii centred nav on white */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 16px;
}
.nav-links { display: flex; justify-content: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(10,10,10,0.05); }
.nav-links a[aria-current="page"],
.nav-links a.is-active {
  color: var(--fg);
  background: rgba(10,10,10,0.06);
}
.menu-btn {
  display: none; background: transparent; color: var(--fg);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; cursor: pointer;
}

/* ========== Thmanyah-style hero banner ========== */
.hero { padding: 24px 0 12px; }
.hero-banner {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--banner) 0%, var(--banner-deep) 72%, #064a24 100%);
  color: #fff;
  box-shadow: 0 18px 50px rgba(8, 70, 35, 0.14);
}
.hero-banner-copy {
  padding: clamp(40px, 5.5vw, 64px) clamp(32px, 4.5vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 3;
}
.hero-kicker {
  margin: 0 0 16px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
}
.hero-banner h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.18; font-weight: 900;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 12em;
}
.hero-lead {
  margin: 0 0 28px;
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.84);
  max-width: 34em;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-trust li { display: flex; flex-direction: column; gap: 3px; min-width: 7.5rem; }
.hero-trust .t-val {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: #fff; line-height: 1.35;
}
.hero-trust .t-val.accent { color: #c8ffd8; }
.hero-trust .t-lbl { font-size: 12px; color: rgba(255,255,255,0.62); line-height: 1.4; }

.hero-banner-media {
  position: relative;
  min-height: 320px;
  background: rgba(0,0,0,0.12);
  overflow: hidden;
}
.hero-banner-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(270deg, rgba(8,70,35,0.55) 0%, rgba(8,70,35,0.12) 22%, transparent 42%);
}
.hero-banner-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  position: absolute; inset: 0;
}
.hero-banner-media .hero-shot {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .7s var(--ease);
}
.hero-banner-media .hero-shot.active { opacity: 1; }
.hero-banner-media .hero-shot img {
  filter: none;
}

/* Sections */
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(36px, 4vw, 56px) 0; }
.section-soft { background: var(--bg-soft); }
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 14px; font-weight: 700;
}
.section-head { margin-bottom: 36px; max-width: 40rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 16px; max-width: none;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.22; font-weight: 900;
  letter-spacing: -0.02em;
}

/* Editorial list — Thmanyah article rows */
.ed-list { display: flex; flex-direction: column; gap: 0; }
.ed-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
  color: inherit; background: transparent; border-inline: 0; border-top: 0;
  width: 100%; cursor: default;
  transition: background .2s;
}
.ed-row:first-child { border-top: 1px solid var(--line); }
.ed-row:hover { background: rgba(10,10,10,0.015); }
.ed-thumb {
  width: 200px; height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ed-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.ed-row:hover .ed-thumb img { transform: scale(1.04); }
.ed-thumb .ed-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-soft);
  display: grid; place-items: center;
}
.ed-thumb .ed-icon svg {
  width: 28px; height: 28px; stroke: var(--accent-2); fill: none; stroke-width: 1.7;
}
.ed-body h3 {
  margin: 4px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 900; line-height: 1.28;
  letter-spacing: -0.015em;
}
.ed-body p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 38em; }
.ed-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  font-size: 13px; color: var(--muted);
}
.ed-meta .badge {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700;
}
.ed-meta a { color: var(--accent-2); font-weight: 700; }
.ed-meta a:hover { text-decoration: underline; }

/* 3-col editorial cards (steps / links) */
.ed-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ed-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0;
  background: transparent;
}
.ed-card .ed-card-media {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0faf3, #e8f6ec);
  border: 1px solid rgba(30,215,96,0.18);
  display: grid; place-items: center;
}
.ed-card .ed-card-media .n {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 900;
  color: var(--accent-2); line-height: 1;
  letter-spacing: -0.03em;
}
.ed-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; line-height: 1.35;
}
.ed-card p { margin: 0; color: var(--muted); font-size: 15px; }
.ed-card .ed-meta { margin-top: 4px; }
.ed-card a.ed-card-link {
  display: flex; flex-direction: column; gap: 12px;
  color: inherit;
}
.ed-card a.ed-card-link:hover h3 { color: var(--accent-2); }

/* Featured Saqr — large Thmanyah featured article */
.ed-featured {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 8px 0;
}
.ed-featured-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 48px;
}
.ed-featured-media img { width: min(100%, 220px); height: auto; object-fit: contain; }
.ed-featured-copy .kicker {
  margin: 0 0 10px; color: var(--accent-2);
  font-size: 14px; font-weight: 700;
}
.ed-featured-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900; line-height: 1.25;
}
.ed-featured-copy .desc {
  margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.65;
}
.ed-featured-copy .features {
  display: flex; flex-direction: column; gap: 8px;
  margin: 0 0 22px;
}
.ed-featured-copy .features li {
  position: relative; padding-inline-start: 16px;
  color: var(--muted); font-size: 14px; line-height: 1.5;
}
.ed-featured-copy .features li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* Works — Thmanyah article grid + graphite frames */
.works-featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px 24px;
}
.work-card {
  display: flex; flex-direction: column; gap: 14px;
  border: none; background: transparent; padding: 0;
  text-align: start; color: inherit; font: inherit; cursor: pointer;
}
.work-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.work-card.work-lead { grid-row: span 2; }
.work-media {
  background: #111111;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(10,10,10,0.2);
  box-shadow: 0 10px 28px rgba(10,10,10,0.08);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.work-card:hover .work-media {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(10,10,10,0.12);
}
.work-media-inner {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
}
.work-lead .work-media-inner { aspect-ratio: 1; }
.work-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: saturate(0.75);
  transition: filter .35s var(--ease), transform .5s var(--ease);
  display: block;
}
.work-card:hover .work-img {
  filter: saturate(0.92);
  transform: scale(1.025);
}
.work-meta h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; line-height: 1.35;
}
.work-lead .work-meta h3 { font-size: 24px; }
.work-meta .sub { color: var(--muted); font-size: 13px; }
.pill-live { display: none !important; }

/* Before / After — wide horizontal compare */
.ba-feature {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
}
.ba-head { max-width: 40rem; }
.ba-kicker {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-size: 14px; font-weight: 700;
}
.ba-feature h3,
.ba-head h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px); font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.ba-head p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.ba-compare { width: 100%; }
.ba-labels {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 12px;
  direction: ltr; /* match stage: before left, after right */
}
.ba-pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: #111; color: #fff;
  font-size: 13px; font-weight: 700;
}
.ba-pill-accent { background: var(--accent); color: var(--accent-ink); }
.ba-stage {
  position: relative;
  display: grid;
  grid-template-columns: var(--pos) 0px 1fr;
  gap: 0;
  width: 100%;
  height: clamp(480px, 52vw, 620px);
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(10,10,10,0.18);
  box-shadow: 0 12px 32px rgba(10,10,10,0.1);
  direction: ltr;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  --pos: 50%;
}
.ba-panel {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #111;
}
.ba-panel {
  display: flex; align-items: stretch; justify-content: center;
}
.ba-panel img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: top center;
  display: block;
  pointer-events: none;
  background: #111;
}
.ba-panel-before img { filter: saturate(0.9); }
.ba-pill-in {
  position: absolute; top: 16px; z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.ba-panel-before .ba-pill-in { left: 16px; }
.ba-panel-after .ba-pill-in { right: 16px; }
.ba-labels { display: none; }
.ba-handle {
  position: relative;
  width: 0;
  z-index: 3;
  pointer-events: none;
}
.ba-handle::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -2px;
  width: 4px; background: #fff;
}
.ba-handle span {
  position: absolute; top: 50%; left: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.ba-handle span::before,
.ba-handle span::after {
  content: "";
  position: absolute; top: 50%;
  width: 0; height: 0;
  border-style: solid;
  transform: translateY(-50%);
}
.ba-handle span::before {
  left: 10px;
  border-width: 6px 7px 6px 0;
  border-color: transparent #111 transparent transparent;
}
.ba-handle span::after {
  right: 10px;
  border-width: 6px 0 6px 7px;
  border-color: transparent transparent transparent #111;
}

/* Partners */
.partners {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px 40px; align-items: center;
}
.partner {
  display: flex; align-items: center; justify-content: center;
  height: 64px; min-width: 120px; opacity: 0.8;
  transition: opacity .2s;
}
.partner:hover { opacity: 1; }
.partner img { height: 36px; width: auto; max-width: 150px; object-fit: contain; }
.partner img.invert { filter: brightness(0); opacity: 0.8; height: 32px; }
.partner img[src$=".png"], .partner img[src$=".jpg"] {
  height: 40px; filter: none !important; opacity: 1;
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 4px; color: var(--muted); font-size: 15px; }

/* CTA */
.cta-band {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--banner);
  color: #fff;
}
.cta-inner { text-align: center; max-width: 600px; margin-inline: auto; }
.cta-band h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 900;
}
.cta-band p { margin: 0 0 24px; color: rgba(255,255,255,0.78); font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.site-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px; margin-bottom: 32px;
}
.footer-note { color: var(--muted); font-size: 14px; max-width: 34ch; margin: 0; }
.site-footer h3 { margin: 0 0 14px; font-size: 13px; font-weight: 700; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--muted); font-size: 14px; }
.site-footer a:hover { color: var(--fg); }
.footer-legal {
  padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px;
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between;
}

/* Modals */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 24px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.4); backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative; width: min(100%, 960px);
  max-height: min(90vh, 860px); overflow: auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 24px 64px rgba(10,10,10,0.14);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.modal-head h2 {
  margin: 0; font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  font-size: 22px; cursor: pointer; line-height: 1;
}
.modal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.modal-filters button {
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.modal-filters button.active { background: var(--fg); color: #fff; border-color: var(--fg); }
.modal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.lb-panel { width: min(100%, 720px); text-align: center; }
.lb-panel h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 20px; font-weight: 900; }
.lb-panel #lbMeta { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.lb-x { position: absolute; top: 12px; inset-inline-end: 12px; }
#lbStage img {
  margin-inline: auto; max-height: 70vh;
  border-radius: 12px; border: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero-banner { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .hero-banner-media { min-height: 220px; max-height: 260px; order: -1; }
  .hero-banner-media::after {
    background: linear-gradient(180deg, transparent 35%, rgba(8,70,35,0.75) 100%);
  }
  .hero-banner-copy { padding-top: 8px; }
  .hero-trust { gap: 14px 20px; }
  .ed-row { grid-template-columns: 112px 1fr; gap: 18px; }
  .ed-thumb { width: 112px; height: 112px; }
  .ed-grid-3 { grid-template-columns: 1fr; }
  .works-featured { grid-template-columns: 1fr 1fr; }
  .work-card.work-lead { grid-row: auto; }
  .work-lead .work-media { aspect-ratio: 4/3; }
  .ed-featured { grid-template-columns: 1fr; }
  .ed-featured-media { aspect-ratio: 16/10; padding: 32px; }
  .ba-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    gap: 4px;
    cursor: default;
    background: #111;
  }
  .ba-handle { display: none; }
  .ba-panel { height: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links, #navCta { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; inset-inline: 0; top: var(--header);
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; gap: 2px;
  }
  .menu-btn { display: inline-flex; }
  .nav { grid-template-columns: 1fr auto; }
  .works-featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .ticker-inner { justify-content: center; text-align: center; gap: 4px 12px; padding: 8px 0; }
  .ticker { font-size: 13px; }
  .ticker-extra { display: none; }
}
