/* PUC Investment Bank — Brand stylesheet
   Brand spec (PUC Investment Bank Logo Guidelines 2026):
     Primary colour:  #2F32C2 (corporate blue)
     Gradient colour: #113491 (deep navy)
     Typeface:        Poppins (Latin) / LiHei Pro (CJK)
*/

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* PUCIB brand colours (--puc-purple kept as alias for backwards compatibility) */
  --puc-blue: #2F32C2;
  --puc-deep: #113491;
  --puc-purple: #2F32C2;
  --puc-purple-soft: #e6e7f9;
  --puc-purple-tint: #f4f4fc;
  --ink: #1a1a1a;
  --ink-2: #404040;
  --ink-3: #6b6b6b;
  --line: #e5e5ea;
  --bg: #ffffff;
  --bg-alt: #fbfbfd;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px rgba(17,52,145,0.08);
  --shadow-lg: 0 18px 48px rgba(17,52,145,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --gap: 1.25rem;
  --container: 1180px;
  --header-h: 105px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- RTL / Arabic support ---------- */
html[lang="ar"], html[lang="ar"] body {
  font-family: 'Cairo', 'Poppins', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { text-align: right; }
html[dir="rtl"] .section-head p, html[dir="rtl"] .hero .lead { text-align: right; }
html[dir="rtl"] .text-center { text-align: center; }
html[dir="rtl"] .nav { flex-direction: row-reverse; }
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
html[dir="rtl"] .nav a.active::after { left: auto; right: 0; }
html[dir="rtl"] ul.brand-list li { padding: .55rem 1.6rem .55rem 0; }
html[dir="rtl"] ul.brand-list li::before { left: auto; right: 0; }
html[dir="rtl"] .leader > .role-pill,
html[dir="rtl"] .leader > h3,
html[dir="rtl"] .leader > .leader-sub,
html[dir="rtl"] .leader > p { text-align: right; }
html[dir="rtl"] .form label { text-align: right; }
html[dir="rtl"] .footer .footer-brand p { text-align: right; }
html[dir="rtl"] .stats { text-align: right; }
html[dir="rtl"] table.brand thead th,
html[dir="rtl"] table.brand tbody td { text-align: right; }
html[dir="rtl"] .disclaimer { border-left: none; border-right: 3px solid var(--puc-blue); padding: 1.4rem 1.4rem 1.4rem 1.6rem; }
html[dir="rtl"] .contact-info a { text-decoration: underline; }

a { color: var(--puc-purple); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--puc-deep); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; font-weight: 600; }

p { margin-bottom: 0.85rem; color: var(--ink-2); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 2rem 0; }
.section-tight { padding: 1.25rem 0; }
.bg-alt { background: var(--bg-alt); }
.bg-tint { background: var(--puc-purple-tint); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex; align-items: center;
}

.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
}

.logo { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.logo img {
  height: 75px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.logo span { font-weight: 600; color: var(--ink); letter-spacing: -0.01em; font-size: 1.05rem; }
@media (max-width: 880px) {
  .logo img { height: 40px; }
}
@media (max-width: 480px) {
  .logo img { height: 30px; }
}

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  color: var(--ink-2); font-size: .95rem; font-weight: 500;
  position: relative; padding: .35rem 0;
}
.nav a:hover { color: var(--puc-purple); }
.nav a.active {
  color: var(--puc-purple);
}
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--puc-purple); border-radius: 2px;
}

.lang-dropdown { position: relative; display: inline-block; }
.lang-toggle {
  background: var(--puc-purple-soft);
  color: var(--puc-deep);
  border: none; cursor: pointer;
  padding: .45rem 1rem .45rem .85rem;
  border-radius: 999px;
  font-family: inherit; font-size: .85rem; font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .2s ease;
  display: inline-flex; align-items: center; gap: .35rem;
}
.lang-toggle::after {
  content: ''; display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: .15rem; opacity: 0.7;
}
.lang-toggle:hover { background: #d8dbf5; }
.lang-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: .35rem; min-width: 140px;
  z-index: 60;
  display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left;
  padding: .55rem .85rem;
  border: none; background: transparent;
  font-family: inherit; font-size: .9rem; font-weight: 500;
  color: var(--ink); cursor: pointer; border-radius: var(--radius-sm);
  transition: background .15s ease;
}
.lang-menu button:hover { background: var(--puc-purple-soft); }
.lang-menu button[aria-checked="true"] { background: var(--puc-purple-soft); color: var(--puc-deep); font-weight: 600; }
.lang-menu button[aria-checked="true"]::after {
  content: '✓'; font-weight: 700; font-size: .9rem; color: var(--puc-blue);
}
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .lang-menu button { text-align: right; }

.nav-toggle {
  background: none; border: none; padding: .4rem; cursor: pointer; display: none;
  color: var(--ink); font-size: 1.5rem;
}

@media (max-width: 880px) {
  :root { --header-h: 70px; }
  .site-header .container { gap: .5rem; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem; gap: .85rem;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* Language dropdown sits in the header next to the hamburger (outside the nav).
     Floating dropdown menu — taps land cleanly because parent nav is no longer involved. */
  .lang-toggle {
    padding: .35rem .65rem .35rem .85rem;
    font-size: .8rem;
    -webkit-tap-highlight-color: rgba(47, 50, 194, 0.15);
  }
  .lang-menu {
    min-width: 160px;
    right: -8px;     /* nudge to align with hamburger column */
  }
  .lang-menu button {
    padding: .85rem 1rem;
    font-size: 1rem;
    -webkit-tap-highlight-color: rgba(47, 50, 194, 0.15);
  }
  html[dir="rtl"] .lang-menu { right: auto; left: -8px; }
}

@media (max-width: 480px) {
  .site-header .container { gap: .35rem; }
  .lang-toggle { padding: .3rem .55rem .3rem .7rem; font-size: .75rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: inherit; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .18s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--puc-blue), var(--puc-deep));
  color: #fff; box-shadow: 0 8px 24px rgba(47,50,194,0.25);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(47,50,194,0.32); }
.btn-secondary {
  background: white; color: var(--puc-deep); border-color: var(--line);
}
.btn-secondary:hover { background: var(--puc-purple-tint); color: var(--puc-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 2.5rem 0 2.5rem;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(47,50,194,0.10) 0%, transparent 60%),
    radial-gradient(900px 460px at 0% 110%, rgba(17,52,145,0.08) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff, #fbfbfd);
}
.hero h1 { max-width: 22ch; margin-bottom: 1.25rem; }
.hero-slogan {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--puc-blue), var(--puc-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--puc-deep);
  margin: 0.4rem 0 1.5rem;
}
.hero .lead {
  font-size: 1.18rem; max-width: 64ch; color: var(--ink-2); margin-bottom: 2rem;
}
.hero .pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; border-radius: 999px;
  background: var(--puc-purple-soft); color: var(--puc-deep);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero .cta-row { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-secondary { padding: 2.5rem 0; }

/* ---------- Section heading ---------- */
.section-head { margin-bottom: 1.75rem; }
.section-head .eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--puc-purple); margin-bottom: .85rem;
}
.section-head h2 { margin-bottom: .75rem; }
.section-head p { font-size: 1.05rem; max-width: 62ch; color: var(--ink-3); }

/* ---------- Pillar grid ---------- */
.grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,50,194,0.20);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--puc-blue), var(--puc-deep));
  color: white; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-weight: 700; font-size: 1.05rem;
}
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-3); font-size: .95rem; margin-bottom: 0; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: linear-gradient(135deg, var(--puc-blue), var(--puc-deep));
  color: white; padding: 2.4rem; border-radius: var(--radius);
}
.stats .stat .num { font-size: 2.1rem; font-weight: 700; line-height: 1; margin-bottom: .35rem; }
.stats .stat .label { font-size: .92rem; opacity: 0.92; }

/* ---------- Two-column ---------- */
.two-col {
  display: grid; gap: 3rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.brand {
  width: 100%; border-collapse: collapse; font-size: .92rem;
}
table.brand thead {
  background: linear-gradient(135deg, var(--puc-blue), var(--puc-deep));
}
table.brand thead th {
  text-align: left; padding: .9rem 1rem; color: white; font-weight: 600;
}
table.brand tbody td {
  padding: .85rem 1rem; border-top: 1px solid var(--line); color: var(--ink-2);
}
table.brand tbody tr:nth-child(even) { background: var(--bg-alt); }
table.brand .highlight { color: var(--puc-deep); font-weight: 600; }

/* ---------- Leadership cards ---------- */
.leader {
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; transition: box-shadow .18s ease, transform .18s ease;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.leader:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.leader-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  display: block;
  border-bottom: 1px solid var(--line);
}
.leader > .role-pill,
.leader > h3,
.leader > .leader-sub,
.leader > p { margin-left: 1.8rem; margin-right: 1.8rem; }
.leader > .role-pill { margin-top: 1.6rem; }
.leader > p:last-child { margin-bottom: 1.8rem; }
.leader .role-pill {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px;
  background: var(--puc-purple-soft); color: var(--puc-deep); margin-bottom: 1rem;
}
.leader h3 { margin-bottom: .35rem; }
.leader .leader-sub { color: var(--ink-3); font-size: .92rem; margin-bottom: 1rem; }
.leader p { font-size: .92rem; color: var(--ink-2); margin-bottom: 0; }

/* ---------- Partner cards ---------- */
.partner-card {
  background: white;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; height: 100%;
  display: flex; flex-direction: column; gap: .8rem;
}
.partner-card .role { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--puc-purple); font-weight: 600; }
.partner-card h3 { color: var(--ink); }
.partner-card p { font-size: .94rem; color: var(--ink-3); margin-bottom: 0; }

/* ---------- Forms ---------- */
.form {
  display: grid; gap: 1rem; max-width: 640px;
}
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: .35rem;
}
.form input, .form textarea, .form select {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--ink);
  background: white; transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--puc-blue);
  box-shadow: 0 0 0 3px rgba(47,50,194,0.15);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .form-hint { font-size: .82rem; color: var(--ink-3); margin-top: .25rem; }
.form-status {
  display: none; padding: .9rem 1rem; border-radius: var(--radius-sm);
  font-size: .9rem; margin-top: .5rem;
}
.form-status.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; display: block; }
.form-status.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; display: block; }

/* ---------- Contact info card ---------- */
.contact-info {
  background: linear-gradient(135deg, var(--puc-blue), var(--puc-deep));
  color: white; padding: 2.5rem; border-radius: var(--radius); height: 100%;
}
.contact-info h3 { color: white; margin-bottom: .35rem; }
.contact-info p, .contact-info .info-value { color: white; }
.contact-info .info-block { margin-bottom: 1.5rem; }
.contact-info .info-block:last-child { margin-bottom: 0; }
.contact-info .info-label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  opacity: 0.85; margin-bottom: .35rem;
}
.contact-info .info-value { font-size: 1rem; opacity: 0.95; }
.contact-info a { color: white; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--puc-blue), var(--puc-deep));
  color: white; padding: 2.5rem 2rem; border-radius: var(--radius-lg);
  text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 56ch; margin: 0 auto 1.6rem; }
.cta-banner .btn-primary {
  background: white; color: var(--puc-deep); box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.cta-banner .btn-primary:hover { color: var(--puc-deep); }

/* ---------- Footer ---------- */
.footer {
  background: #0f0f17; color: #c5c5cf; padding: 2.5rem 0 1.5rem;
  margin-top: 2.5rem;
}
.footer .container { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 880px) { .footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer .container { grid-template-columns: 1fr; } }
.footer .footer-brand img { height: 55px; width: auto; max-width: none; object-fit: contain; margin-bottom: 1.4rem; }
.footer .footer-slogan {
  margin-top: .8rem;
  font-style: italic;
  font-weight: 600;
  color: #c5c8e6;
  font-size: .95rem;
  letter-spacing: .01em;
}
.footer .footer-brand p { color: #8a8a96; font-size: .88rem; }
.footer h4 { color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; font-weight: 600; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .55rem; }
.footer a { color: #c5c5cf; font-size: .92rem; }
.footer a:hover { color: white; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #25252f;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: #6b6b78; font-size: .82rem;
}

/* ---------- Disclaimer block ---------- */
.disclaimer {
  background: #f6f6f9; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  font-size: .82rem; color: var(--ink-3);
  border-left: 3px solid var(--puc-purple);
}

/* ---------- Page hero (smaller, for inner pages) ---------- */
.page-hero {
  padding: 2.5rem 0 2rem;
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(47,50,194,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg-alt));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .7rem; }
.page-hero p { font-size: 1.1rem; max-width: 64ch; color: var(--ink-3); }
.page-hero .pill { margin-bottom: 1rem; }

/* ---------- Lists ---------- */
ul.brand-list { list-style: none; padding: 0; }
ul.brand-list li {
  padding: .55rem 0 .55rem 1.6rem; position: relative;
  color: var(--ink-2);
}
ul.brand-list li::before {
  content: '';
  position: absolute; left: 0; top: 1.05rem; width: .45rem; height: .45rem;
  border-radius: 50%; background: var(--puc-purple);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ============================================================
   Lifestyle imagery — hero background, image bands, media-card
   ============================================================ */

/* Hero with photographic background */
.hero.hero-image {
  background: none;
  position: relative;
  padding: 2rem 0 2.5rem;
  isolation: isolate;
}
.hero.hero-image::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    image-set(
      url('../img/lifestyle/hero-1x.jpg?v=20260519d') 1x,
      url('../img/lifestyle/hero-2x.jpg?v=20260519d') 2x);
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}
.hero.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.82) 35%,
      rgba(255,255,255,0.45) 60%,
      rgba(255,255,255,0.05) 95%);
  z-index: -1;
}
html[dir="rtl"] .hero.hero-image::after {
  background:
    linear-gradient(260deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.82) 35%,
      rgba(255,255,255,0.45) 60%,
      rgba(255,255,255,0.05) 95%);
}

/* Full-bleed image band with overlay text */
.image-band {
  position: relative;
  min-height: 220px;
  display: flex; align-items: center;
  padding: 1.5rem 0;
  background-size: cover;
  background-position: center;
  color: white;
  isolation: isolate;
  overflow: hidden;
}
.image-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(17,52,145,0.78) 0%,
    rgba(47,50,194,0.55) 45%,
    rgba(0,0,0,0.30) 100%);
  z-index: -1;
}
.image-band .container { position: relative; z-index: 1; }
.image-band .eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,0.82); margin-bottom: .85rem;
}
.image-band h2 {
  color: white;
  max-width: 22ch;
  margin: 0 0 .85rem;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}
.image-band p {
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  font-size: 1.05rem;
  margin: 0;
}
.image-band--corridor {
  background-image:
    image-set(
      url('../img/lifestyle/corridor-1x.jpg') 1x,
      url('../img/lifestyle/corridor-2x.jpg') 2x);
}
.image-band--services {
  background-image:
    image-set(
      url('../img/lifestyle/services-1x.jpg') 1x,
      url('../img/lifestyle/services-2x.jpg') 2x);
}
.image-band--compliance {
  background-image:
    image-set(
      url('../img/lifestyle/compliance-1x.jpg') 1x,
      url('../img/lifestyle/compliance-2x.jpg') 2x);
}
.image-band--why-labuan {
  background-image:
    image-set(
      url('../img/lifestyle/why-labuan-1x.jpg') 1x,
      url('../img/lifestyle/why-labuan-2x.jpg') 2x);
}
.image-band--about {
  background-image:
    image-set(
      url('../img/lifestyle/about-1x.jpg') 1x,
      url('../img/lifestyle/about-2x.jpg') 2x);
}
.image-band--partners {
  background-image:
    image-set(
      url('../img/lifestyle/mission-1x.jpg') 1x,
      url('../img/lifestyle/mission-2x.jpg') 2x);
}

/* Photo card sitting inside a two-col layout (mission section) */
.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.media-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.media-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(17,52,145,0.18) 100%);
  pointer-events: none;
}

/* CTA banner with photographic background */
.cta-banner.cta-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    image-set(
      url('../img/lifestyle/cta-1x.jpg') 1x,
      url('../img/lifestyle/cta-2x.jpg') 2x);
  background-size: cover;
  background-position: center 35%;
}
.cta-banner.cta-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(17,52,145,0.85) 0%,
    rgba(47,50,194,0.55) 60%,
    rgba(0,0,0,0.45) 100%);
  z-index: -1;
}

/* Stats strip — compact variant under the mission two-col */
.stats-strip {
  margin-top: 2.5rem;
}

@media (max-width: 880px) {
  .hero.hero-image::before { background-position: center 30%; }
  /* Mobile: stronger near-opaque white overlay so body copy stays readable
     when the full-width text overlays the image. The image becomes a subtle
     texture, not a dominant element. */
  .hero.hero-image::after {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.92) 50%,
        rgba(255,255,255,0.85) 85%,
        rgba(255,255,255,0.65) 100%);
  }
  html[dir="rtl"] .hero.hero-image::after {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.96) 0%,
        rgba(255,255,255,0.92) 50%,
        rgba(255,255,255,0.85) 85%,
        rgba(255,255,255,0.65) 100%);
  }
  .image-band { min-height: 220px; padding: 2rem 0; }
  .image-band h2 { font-size: 1.5rem; }
}
