/* ==========================================================================
   IPH — “New (refined)” website style
   Active only when <body class="theme-new"> (Dashboard → Settings → Website style).
   Choosing “Classic” there turns this file off completely.
   Brand rules kept: IPH colours, Montserrat (EN) / Noto Kufi Arabic (AR).
   ========================================================================== */

/* ---------- new-style-only elements ---------- */
.theme-new .nx-intro.nx-only, .theme-new .nx-cta.nx-only { display: block !important; }
.theme-new .hero-scroll.nx-only { display: block !important; }
.theme-new .to-top.nx-only { display: grid !important; }

/* ---------- general rhythm ---------- */
.theme-new .section { padding: 120px 0; }
.theme-new .sec-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 600; letter-spacing: -.015em; }
html[dir="rtl"] .theme-new .sec-head h2 { letter-spacing: 0; font-weight: 700; }
.theme-new .label { font-size: .74rem; letter-spacing: .28em; }
html[dir="rtl"] .theme-new .label { letter-spacing: 0; font-size: .9rem; }
.theme-new .btn { letter-spacing: .06em; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.theme-new .site-header { height: 96px; background: linear-gradient(180deg, rgba(53, 20, 31, .62) 0%, rgba(53, 20, 31, .25) 60%, transparent 100%); }
.theme-new .site-header::after { opacity: 0; }
.theme-new .header-inner { padding: 0 clamp(18px, 3.5vw, 56px); gap: 32px; }
.theme-new .brand { height: 58px; }
.theme-new .main-nav > ul { gap: clamp(14px, 1.7vw, 30px); }
.theme-new .main-nav > ul > li > a { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 36px 0; }
html[dir="rtl"] .theme-new .main-nav > ul > li > a { font-size: .92rem; letter-spacing: 0; text-transform: none; }
.theme-new .main-nav > ul > li > a::after { bottom: 26px; height: 1.5px; transform-origin: center; background: var(--gold); }
.theme-new .main-nav > ul > li > a:hover { color: var(--champagne); }
/* drop-downs */
.theme-new .sub { border-top: 0; padding: 12px 0; min-width: 260px; box-shadow: 0 24px 60px rgba(53, 20, 31, .18); }
.theme-new .sub::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--logo-grad); }
.theme-new .sub a { position: relative; padding: 11px 26px; transition: padding .2s, background .2s, color .2s; }
.theme-new .sub a::before { content: ''; position: absolute; inset-inline-start: 0; top: 10px; bottom: 10px; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .2s; }
.theme-new .sub a:hover { padding-inline-start: 32px; }
.theme-new .sub a:hover::before { transform: scaleY(1); }
/* actions */
.theme-new .contact-btn { border-color: var(--gold); color: var(--white); padding: 11px 22px; }
.theme-new .contact-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.theme-new .lang-switch { border: 1px solid rgba(255, 255, 255, .35); padding: 7px 12px; font-size: .78rem; }
.theme-new .lang-switch:hover { border-color: var(--gold); }
/* scrolled header: frosted white with gold hairline */
.theme-new .site-header.solid { height: 78px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px rgba(53, 20, 31, .07); }
.theme-new .site-header.solid::after { opacity: 1; height: 2px; background: var(--logo-grad); }
.theme-new .site-header.solid .brand { height: 48px; }
.theme-new .site-header.solid .main-nav > ul > li > a { padding: 27px 0; }
.theme-new .site-header.solid .main-nav > ul > li > a::after { bottom: 18px; }
.theme-new .site-header.solid .main-nav > ul > li > a:hover { color: var(--bronze); }
.theme-new .site-header.solid .contact-btn { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.theme-new .site-header.solid .contact-btn:hover { background: var(--deep); }
.theme-new .site-header.solid .lang-switch { border-color: var(--line); }
.theme-new .tabs-bar { top: 78px; }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.theme-new .slide-overlay { background: radial-gradient(ellipse at center, rgba(53, 20, 31, .25) 0%, rgba(53, 20, 31, .55) 75%), linear-gradient(0deg, rgba(53, 20, 31, .75) 0%, transparent 35%) !important; }
.theme-new .slide-brand .slide-overlay { background: none !important; }
.theme-new .hero-tagline { display: flex; align-items: center; gap: 22px; font-size: clamp(1rem, 1.9vw, 1.55rem); font-weight: 500; letter-spacing: .38em; color: var(--champagne); }
.theme-new .hero-tagline::before, .theme-new .hero-tagline::after { content: ''; width: clamp(28px, 5vw, 70px); height: 1px; background: var(--gold); flex: none; }
html[dir="rtl"] .theme-new .hero-tagline { letter-spacing: 0; font-size: clamp(1.15rem, 2.2vw, 1.8rem); }
.theme-new .btn-hero { padding: 15px 36px; border-color: rgba(196, 154, 108, .9); }
.theme-new .hero-arrow { width: 50px; height: 50px; border-color: rgba(255, 255, 255, .3); background: rgba(53, 20, 31, .15); }
.theme-new .hero-scroll { position: absolute; z-index: 5; left: 50%; bottom: 34px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .65); border-radius: 14px; }
.theme-new .hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: nx-scroll 1.8s ease-in-out infinite; }
@keyframes nx-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   HOME — “Who we are” intro (new section)
   ========================================================================== */
.theme-new .nx-intro { background: var(--white); }
.theme-new .nx-intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.theme-new .nx-intro-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 600; line-height: 1.2; margin: 6px 0 22px; }
.theme-new .nx-intro-text .lead { color: var(--ink); opacity: .85; margin-bottom: 32px; max-width: 56ch; }
.theme-new .nx-intro-btns { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.theme-new .nx-intro-btns .more-link { margin: 0; }
.theme-new .nx-intro-media { position: relative; }
.theme-new .nx-intro-img { aspect-ratio: 4 / 4.6; background-size: cover; background-position: center; box-shadow: 0 40px 80px rgba(53, 20, 31, .18); }
.theme-new .nx-intro-media::before { content: ''; position: absolute; inset: -22px -22px 22px 22px; border: 1px solid var(--gold); z-index: -1; }
html[dir="rtl"] .theme-new .nx-intro-media::before { inset: -22px 22px 22px -22px; }
.theme-new .nx-intro-badge { position: absolute; inset-inline-start: -36px; bottom: 36px; background: var(--deep); color: var(--champagne); padding: 22px 28px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 20px 40px rgba(53, 20, 31, .3); border-inline-start: 3px solid var(--gold); }
.theme-new .nx-intro-badge b { font: 700 2.4rem/1 var(--font); color: var(--gold); }
.theme-new .nx-intro-badge span { font-size: .85rem; }

/* ==========================================================================
   HOME — key figures on deep burgundy
   ========================================================================== */
.theme-new .numbers { background: radial-gradient(ellipse at 20% 0%, #5b2537 0%, var(--deep) 60%); color: var(--champagne); position: relative; overflow: hidden; }
.theme-new .numbers::before { content: ''; position: absolute; inset: 0; opacity: .07; background:
  repeating-linear-gradient(45deg, transparent 0 46px, var(--gold) 46px 47px),
  repeating-linear-gradient(-45deg, transparent 0 46px, var(--gold) 46px 47px); }
.theme-new .numbers .container { position: relative; }
.theme-new .numbers .sec-head h2 { color: var(--white); }
.theme-new .numbers .sec-head.center .label::before, .theme-new .numbers .sec-head.center .label::after { background: var(--gold); }
.theme-new .figs { border-color: rgba(232, 212, 188, .18); }
.theme-new .fig + .fig::before { background: rgba(232, 212, 188, .2); }
.theme-new .fig { padding: 46px 16px; }
.theme-new .fig-v, .theme-new .fig-v .count, .theme-new .fig:nth-child(odd) .fig-v .count { color: var(--gold); }
.theme-new .fig-v { font-weight: 600; font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
.theme-new .fig-v small { color: var(--champagne); }
.theme-new .fig-l { color: var(--champagne); opacity: .85; letter-spacing: .04em; }

/* ==========================================================================
   HOME — footprint, subsidiaries, media center
   ========================================================================== */
.theme-new .footprint .lmap { border: 0; box-shadow: 0 30px 60px rgba(53, 20, 31, .14); }
.theme-new .fp-list li { border-bottom-color: rgba(149, 106, 70, .18); }
.theme-new .fp-row { padding: 16px 14px; }
.theme-new .subs { background: var(--white); }
.theme-new .logo-grid { border: 0; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.theme-new .logo-tile { border: 1px solid rgba(149, 106, 70, .16); background: var(--white); box-shadow: 0 10px 30px rgba(53, 20, 31, .05); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.theme-new .logo-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(53, 20, 31, .12); border-color: var(--gold); background: var(--white); }
.theme-new .media-center { background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%); }

/* ==========================================================================
   CALL-TO-ACTION band (above footer, every page)
   ========================================================================== */
.theme-new .nx-cta { position: relative; padding: 96px 0; color: var(--white); background: linear-gradient(90deg, rgba(53, 20, 31, .94) 0%, rgba(79, 32, 48, .82) 55%, rgba(53, 20, 31, .7) 100%), url('../img/bn-waterfront.jpg') center 60% / cover no-repeat; }
html[dir="rtl"] .theme-new .nx-cta { background: linear-gradient(270deg, rgba(53, 20, 31, .94) 0%, rgba(79, 32, 48, .82) 55%, rgba(53, 20, 31, .7) 100%), url('../img/bn-waterfront.jpg') center 60% / cover no-repeat; }
.theme-new .nx-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.theme-new .nx-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 600; max-width: 20ch; margin: 0; }
.theme-new .nx-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.theme-new .site-footer { background: radial-gradient(ellipse at 85% 0%, #4a1c2c 0%, var(--deep) 55%); }
.theme-new .footer-lines { height: 2px; }
.theme-new .footer-grid { padding-top: 90px; padding-bottom: 64px; gap: clamp(32px, 4vw, 64px); }
.theme-new .f-logo { height: 76px; }
.theme-new .site-footer h4 { color: var(--gold); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid rgba(232, 212, 188, .14); }
html[dir="rtl"] .theme-new .site-footer h4 { letter-spacing: 0; font-size: .9rem; text-transform: none; }
.theme-new .site-footer li { margin-bottom: 12px; }
.theme-new .site-footer ul a { color: rgba(232, 212, 188, .82); transition: color .2s, transform .2s; }
.theme-new .site-footer ul a:hover { color: var(--white); transform: translateX(4px); }
html[dir="rtl"] .theme-new .site-footer ul a:hover { transform: translateX(-4px); }
.theme-new .social a { width: 42px; height: 42px; border-color: rgba(196, 154, 108, .45); }
.theme-new .news-form { border-bottom: 1px solid rgba(232, 212, 188, .35); margin-bottom: 30px; flex-wrap: nowrap; }
.theme-new .news-form input { border: 0; background: transparent; padding: 14px 2px; }
.theme-new .news-form .btn { background: transparent; color: var(--gold); padding: 14px 4px; }
.theme-new .news-form .btn:hover { color: var(--white); background: transparent; }
.theme-new .news-form .form-msg { position: absolute; margin-top: 56px; }
.theme-new .news-form { position: relative; }
.theme-new .legal { padding: 20px 0; border-top-color: rgba(232, 212, 188, .1); }
.theme-new .legal-inner { align-items: center; }
.theme-new .to-top { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(196, 154, 108, .55); background: transparent; color: var(--gold); place-items: center; margin-inline-start: auto; margin-inline-end: 18px; transition: background .2s, color .2s; }
.theme-new .to-top .ic { transform: rotate(-90deg); width: 16px; height: 16px; }
.theme-new .to-top:hover { background: var(--gold); color: var(--deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .theme-new .site-header { height: 84px; }
  .theme-new .main-nav > ul > li > a, html[dir="rtl"] .theme-new .main-nav > ul > li > a { padding: 16px 0; font-size: .9rem; }
  .theme-new .main-nav { top: 78px; }
  .theme-new .nx-intro-grid { grid-template-columns: 1fr; }
  .theme-new .nx-intro-media { max-width: 520px; }
}
@media (max-width: 760px) {
  .theme-new .section { padding: 80px 0; }
  .theme-new .site-header { height: 74px; }
  .theme-new .brand { height: 44px; }
  .theme-new .hero-tagline { letter-spacing: .22em; gap: 12px; }
  .theme-new .hero-scroll { display: none !important; }
  .theme-new .nx-intro-badge { inset-inline-start: 12px; bottom: 12px; padding: 16px 20px; }
  .theme-new .nx-intro-badge b { font-size: 1.8rem; }
  .theme-new .nx-intro-media::before { display: none; }
  .theme-new .nx-cta { padding: 64px 0; }
  .theme-new .news-form .form-msg { position: static; margin-top: 10px; }
  .theme-new .news-form { flex-wrap: wrap; }
}

/* figures stay on one line, even with 6+ figures */
.theme-new .fig-v { white-space: nowrap; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.theme-new .fig-v small { font-size: .42em; }
@media (min-width: 1101px) { .theme-new .figs { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); } }

/* ==========================================================================
   HERO MOTION — curtain wipe, gold edge, settling zoom, staged text
   ========================================================================== */
.theme-new .slide { opacity: 1; visibility: hidden; transition: none; clip-path: inset(0 0 0 100%); }
html[dir="rtl"] .theme-new .slide { clip-path: inset(0 100% 0 0); }
.theme-new .slide.active { visibility: visible; z-index: 3; clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1); }
.theme-new .slide.leaving { visibility: visible; z-index: 2; clip-path: inset(0 0 0 0); }
/* outgoing photo dims and drifts back */
.theme-new .slide.leaving .slide-bg { animation: none; transform: scale(1.02); filter: brightness(.55); transition: transform 1.5s cubic-bezier(.77, 0, .18, 1), filter 1.5s ease; }
/* incoming photo starts close and slowly settles (cinematic zoom-out) */
.theme-new .slide.active .slide-bg { animation: nx-settle 9s cubic-bezier(.2, .6, .2, 1) forwards; }
@keyframes nx-settle { from { transform: scale(1.16); } to { transform: scale(1.02); } }
.theme-new .hero.is-paused .slide.active .slide-bg { animation-play-state: paused; }
/* gold line riding the curtain edge */
.theme-new .slide.active::after { content: ''; position: absolute; z-index: 6; top: 0; bottom: 0; width: 2px; left: 0; background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--champagne) 50%, var(--gold) 80%, transparent); box-shadow: 0 0 24px rgba(196, 154, 108, .7); animation: nx-edge 1.5s cubic-bezier(.77, 0, .18, 1) forwards; pointer-events: none; }
@keyframes nx-edge { 0% { left: 100%; opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
html[dir="rtl"] .theme-new .slide.active::after { animation-name: nx-edge-rtl; }
@keyframes nx-edge-rtl { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
/* no wipe/edge on the very first paint */
.theme-new .hero:not(.nx-moved) .slide.active { transition: none; }
.theme-new .hero:not(.nx-moved) .slide.active::after { display: none; }

/* tagline: letters spread in from a soft blur; gold lines grow from the text */
.theme-new .slide .hero-tagline { opacity: 0; transform: none; }
.theme-new .slide.active .hero-tagline { animation: nx-tag 1.8s cubic-bezier(.2, .7, .2, 1) .55s both; }
@keyframes nx-tag { from { opacity: 0; letter-spacing: .9em; filter: blur(10px); } to { opacity: 1; letter-spacing: .38em; filter: blur(0); } }
html[dir="rtl"] .theme-new .slide.active .hero-tagline { animation-name: nx-tag-ar; }
@keyframes nx-tag-ar { from { opacity: 0; transform: translateY(14px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.theme-new .hero-tagline::before { transform-origin: right; }
.theme-new .hero-tagline::after { transform-origin: left; }
html[dir="rtl"] .theme-new .hero-tagline::before { transform-origin: left; }
html[dir="rtl"] .theme-new .hero-tagline::after { transform-origin: right; }
.theme-new .slide.active .hero-tagline::before, .theme-new .slide.active .hero-tagline::after { animation: nx-line 1.1s cubic-bezier(.2, .7, .2, 1) 1.3s both; }
@keyframes nx-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* button rises in after the title */
.theme-new .slide.active .hero-cta > * { animation: nx-rise 1s cubic-bezier(.2, .7, .2, 1) 1.15s both; }
@keyframes nx-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.theme-new .btn-hero { position: relative; overflow: hidden; z-index: 0; }
.theme-new .btn-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.77, 0, .18, 1); }
html[dir="rtl"] .theme-new .btn-hero::before { transform-origin: right; }
.theme-new .btn-hero:hover { background: rgba(53, 20, 31, .35); color: var(--deep); }
.theme-new .btn-hero:hover::before { transform: scaleX(1); }

/* branded slide: logo breathes in, rings draw themselves */
.theme-new .slide-brand.active .hero-logo { animation: nx-logo 1.6s cubic-bezier(.2, .7, .2, 1) .4s both; }
@keyframes nx-logo { from { opacity: 0; transform: scale(.9); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.theme-new .slide-brand .brand-rings rect { stroke-dasharray: 1800; stroke-dashoffset: 1800; }
.theme-new .slide-brand.active .brand-rings rect { animation: nx-draw 2.6s cubic-bezier(.4, 0, .2, 1) forwards; }
.theme-new .slide-brand.active .brand-rings rect:nth-child(3) { animation-delay: .15s; }
.theme-new .slide-brand.active .brand-rings rect:nth-child(4) { animation-delay: .3s; }
.theme-new .slide-brand.active .brand-rings rect:nth-child(5) { animation-delay: .45s; }
.theme-new .slide-brand.active .brand-rings rect:nth-child(6) { animation-delay: .6s; }
@keyframes nx-draw { to { stroke-dashoffset: 0; } }

/* counter rolls; arrows fill on hover */
.theme-new .counter b { display: inline-block; }
.theme-new .counter b.tick { animation: nx-tick .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes nx-tick { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
.theme-new .hero-arrow { transition: background .3s, border-color .3s, color .3s, transform .3s; }
.theme-new .hero-arrow:hover { transform: translateY(-50%) scale(1.08); }
.theme-new .ind span { height: 1.5px; }

/* header + first slide entrance on page load */
@media (min-width: 1101px) {
  .theme-new .site-header .header-inner > * { animation: nx-down .9s cubic-bezier(.2, .7, .2, 1) both; }
  .theme-new .site-header .main-nav { animation-delay: .1s; }
  .theme-new .site-header .header-actions { animation-delay: .2s; }
}
@keyframes nx-down { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.theme-new .hero-controls { animation: nx-rise 1s cubic-bezier(.2, .7, .2, 1) 1.4s both; }

/* ==========================================================================
   Reduced motion (device asks for less animation, e.g. Windows “Animation effects” off):
   keep gentle fades, drop zoom / wipe / blur.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  /* hide only inactive slides; the RTL selector is here just to cancel the wipe (it's more specific than .slide.active) */
  .theme-new .slide, html[dir="rtl"] .theme-new .slide { clip-path: none !important; }
  .theme-new .slide { opacity: 0; visibility: hidden; }
  .theme-new .slide.active { opacity: 1; visibility: visible; transition: opacity 1.2s ease !important; transition-duration: 1.2s !important; }
  .theme-new .slide.leaving { opacity: 1; visibility: visible; }
  .theme-new .slide.active::after { display: none; }
  .theme-new .slide .slide-bg, .theme-new .slide.active .slide-bg, .theme-new .slide.leaving .slide-bg { animation: none !important; transform: none !important; filter: none !important; }
  .theme-new .slide.active .hero-tagline, html[dir="rtl"] .theme-new .slide.active .hero-tagline,
  .theme-new .slide.active .hero-logo, .theme-new .slide.active .hero-cta > *, .theme-new .hero-controls {
    animation: nx-fade 1.2s ease .3s both !important; animation-duration: 1.2s !important; }
  .theme-new .slide.active .hero-tagline::before, .theme-new .slide.active .hero-tagline::after { animation: none !important; transform: none; }
  .theme-new .slide-brand .brand-rings rect { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .theme-new .counter b.tick { animation: nx-fade .5s ease both !important; animation-duration: .5s !important; }
  .theme-new .reveal { opacity: 1; transform: none; }
}
@keyframes nx-fade { from { opacity: 0; } to { opacity: 1; } }

/* title on one line on desktop; outgoing slide fades its text instead of cutting it */
.theme-new .hero-tagline { max-width: min(92vw, 1180px); }
@media (min-width: 761px) { .theme-new .hero-tagline { white-space: nowrap; } }
.theme-new .slide.leaving .hero-tagline, .theme-new .slide.leaving .hero-logo, .theme-new .slide.leaving .hero-cta > * { opacity: 1; animation: nx-out .7s ease forwards !important; }
@keyframes nx-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .theme-new .slide.leaving .hero-tagline, .theme-new .slide.leaving .hero-logo, .theme-new .slide.leaving .hero-cta > * { animation-duration: .7s !important; } }

/* RTL: current and outgoing slides must be fully visible (the hidden RTL start state is more specific) */
html[dir="rtl"] .theme-new .slide.active, html[dir="rtl"] .theme-new .slide.leaving { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   Update 2026-10-28 — shorter footer band, lighter key figures
   ========================================================================== */
/* 1) footer call-to-action band: compact, one line */
.theme-new .nx-cta { padding: 46px 0; }
.theme-new .nx-cta .label { margin-bottom: 6px; }
.theme-new .nx-cta h2 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); max-width: none; }
.theme-new .nx-cta-btns .btn { padding: 12px 24px; }
@media (max-width: 760px) { .theme-new .nx-cta { padding: 36px 0; } }

/* 3) key figures: ivory background, white cards, burgundy numbers, gold accents */
.theme-new .numbers { background: linear-gradient(180deg, var(--ivory) 0%, #fbf8f4 100%); color: var(--ink); }
.theme-new .numbers::before { opacity: .35; background:
  repeating-linear-gradient(45deg, transparent 0 46px, var(--champagne) 46px 47px),
  repeating-linear-gradient(-45deg, transparent 0 46px, var(--champagne) 46px 47px);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); }
.theme-new .numbers .sec-head h2 { color: var(--burgundy); }
.theme-new .numbers .sec-head.center .label::before, .theme-new .numbers .sec-head.center .label::after { background: var(--gold); }
.theme-new .figs { border: 0; gap: 18px; }
.theme-new .fig { background: var(--white); padding: 40px 18px 34px; border-top: 3px solid var(--gold); box-shadow: 0 14px 34px rgba(53, 20, 31, .07); transition: transform .35s var(--ease), box-shadow .35s; }
.theme-new .fig:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(53, 20, 31, .13); }
.theme-new .fig + .fig::before { display: none; }
.theme-new .fig-v, .theme-new .fig-v .count, .theme-new .fig:nth-child(odd) .fig-v .count { color: var(--burgundy); }
.theme-new .fig-v { font-weight: 700; }
.theme-new .fig-v small { color: var(--gold); font-weight: 600; }
.theme-new .fig-v::after { content: ''; display: block; width: 32px; height: 2px; margin: 16px auto 0; background: var(--gold); transition: width .35s var(--ease); }
.theme-new .fig:hover .fig-v::after { width: 56px; }
.theme-new .fig-l { color: var(--ink); opacity: .78; letter-spacing: .02em; }
@media (max-width: 1100px) { .theme-new .figs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .theme-new .figs { grid-template-columns: repeat(2, 1fr); gap: 12px; } .theme-new .fig { padding: 28px 12px 24px; } }

/* company logo grid: even rows (5 per row on desktop) */
.theme-new .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1100px; margin: 0 auto; }
.theme-new .logo-tile { aspect-ratio: auto; min-height: 170px; justify-content: center; }
@media (max-width: 1100px) { .theme-new .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .theme-new .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .theme-new .logo-tile { min-height: 150px; } }

/* key figures: numbers scale with the card width so they never overflow (6+ figures, any screen) */
.theme-new .fig { container-type: inline-size; padding-inline: 10px; min-width: 0; }
.theme-new .fig-v { font-size: clamp(1.5rem, 22cqw, 3.2rem); letter-spacing: -.015em; }
.theme-new .fig-v small { font-size: .4em; margin-inline-start: 1px; vertical-align: .55em; }
.theme-new .fig-l { font-size: clamp(.78rem, 7.2cqw, .9rem); }

/* footer subscribe: the thank-you line replaces the field (no overlap with the contact list) */
.theme-new .news-form { flex-wrap: wrap; }
.theme-new .news-form input { flex: 1 1 0; min-width: 0; }
.theme-new .news-form .form-msg { position: static; margin: 0; padding: 0 2px 12px; line-height: 1.5; }
.theme-new .news-form.done input, .theme-new .news-form.done .btn { display: none; }
.theme-new .news-form.done .form-msg { padding: 14px 2px; }

/* phone/tablet menu: the frosted header must not trap the fixed menu panel inside it */
@media (max-width: 1100px) {
  body.theme-new.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body.theme-new.menu-open { overflow: hidden; }
  .theme-new .main-nav { top: 78px; }
}
