/* ============================================================
   BARAKAH — Cinematic luxury experience
   Light "ivory & gold" art-directed system · trilingual EN/FR/AR
   Fonts: Playfair Display / Cormorant / Inter / Noto Arabic
   ============================================================ */

:root {
  /* Paper / surfaces */
  --paper:   #f7f3ea;
  --paper-2: #f1eadc;
  --paper-3: #ece2cf;
  --white:   #ffffff;

  /* Ink */
  --ink:      #16130e;
  --ink-2:    #322c22;
  --ink-soft: #685e4d;
  --ink-faint:#9b9078;

  /* Gold */
  --gold:        #b08d3c;
  --gold-deep:   #876722;
  --gold-bright: #e0c885;
  --gold-pale:   #f0e2bd;
  --gold-grad:   linear-gradient(135deg, #f0e2bd 0%, #d8bd7e 26%, #b08d3c 52%, #876722 74%, #e0c885 100%);
  --gold-metal:  linear-gradient(160deg, #fbf2d8 0%, #d9bd7c 18%, #a87f2c 38%, #f4e7c0 52%, #9a7423 68%, #d8bd7e 86%, #f7eed2 100%);

  /* Lines */
  --line:      rgba(22, 19, 14, 0.10);
  --line-soft: rgba(22, 19, 14, 0.055);
  --line-gold: rgba(176, 141, 60, 0.30);

  /* Shadows — layered, realistic */
  --sh-sm: 0 1px 2px rgba(50,40,20,.04), 0 4px 12px rgba(50,40,20,.05);
  --sh:    0 4px 8px rgba(50,40,20,.05), 0 18px 40px -16px rgba(50,40,20,.28);
  --sh-lg: 0 8px 16px rgba(50,40,20,.06), 0 50px 90px -30px rgba(50,40,20,.42);
  --sh-glow: 0 30px 80px -30px rgba(176,141,60,.5);

  /* Type */
  --serif:  'Playfair Display', Georgia, serif;
  --accent: 'Cormorant', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;

  --maxw: 1320px;
  --nav-h: 88px;

  /* Easing */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lux:cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Per-page accent (overridden by body[data-theme]) */
  --accent-1: #d8bd7e;
  --accent-2: #b08d3c;
  --amb-1: rgba(224, 200, 133, 0.5);
  --amb-2: rgba(176, 141, 60, 0.28);
}

/* per-page atmospheres */
body[data-theme="gold"]     { --accent-1:#f0d68a; --accent-2:#b8862c; --amb-1:rgba(240,214,138,.55); --amb-2:rgba(184,134,44,.3); }
body[data-theme="minerals"] { --accent-1:#cfd6d8; --accent-2:#7d8a8f; --amb-1:rgba(207,214,216,.45); --amb-2:rgba(125,138,143,.28); }
body[data-theme="trading"]  { --accent-1:#aebfcf; --accent-2:#566b86; --amb-1:rgba(174,191,207,.4);  --amb-2:rgba(86,107,134,.26); }
body[data-theme="consult"]  { --accent-1:#d9c7a0; --accent-2:#9c7f52; --amb-1:rgba(217,199,160,.4);  --amb-2:rgba(70,60,46,.4);   }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 400; line-height: 1.7;
  overflow-x: hidden; letter-spacing: 0.003em;
  cursor: auto;
}
::selection { background: rgba(176,141,60,.22); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ============ AMBIENT (fixed, shifts on scroll) ============ */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--paper); overflow: hidden; }
.ambient::before, .ambient::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
  transition: transform .6s linear, opacity .6s linear;
}
.ambient::before {
  width: 70vw; height: 70vw; top: var(--amb-y1, -10%); left: var(--amb-x1, -5%);
  background: radial-gradient(circle, var(--amb-1), transparent 62%); opacity: .8;
}
.ambient::after {
  width: 64vw; height: 64vw; bottom: var(--amb-y2, -12%); right: var(--amb-x2, -8%);
  background: radial-gradient(circle, var(--amb-2), transparent 62%); opacity: .75;
}
.ambient__grain {
  position: absolute; inset: 0; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ CUSTOM CURSOR ============ */
.cursor { position: fixed; top: 0; left: 0; z-index: 10002; pointer-events: none; mix-blend-mode: difference; will-change: transform; }
.cursor__dot { position: fixed; width: 6px; height: 6px; border-radius: 50%; background: #d8bd7e; transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), opacity .3s; }
.cursor__ring { position: fixed; width: 38px; height: 38px; border: 1px solid rgba(216,189,126,.8); border-radius: 50%; transform: translate(-50%,-50%); transition: width .35s var(--ease), height .35s var(--ease), border-color .35s, opacity .35s, background .35s; }
.cursor--hover .cursor__ring { width: 64px; height: 64px; background: rgba(216,189,126,.12); border-color: transparent; }
.cursor--hover .cursor__dot { opacity: 0; }
.cursor--down .cursor__ring { width: 28px; height: 28px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } body { cursor: auto; } }

/* ============ SCROLL PROGRESS ============ */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1001; transform: scaleX(0); transform-origin: left; background: var(--gold-grad); }
[dir="rtl"] .progress { transform-origin: right; }

/* ============ CINEMATIC LOADER ============ */
.loader { position: fixed; inset: 0; z-index: 10000; background: var(--paper); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.6rem; }
.loader.done { pointer-events: none; }
.loader__panel { position: absolute; inset: 0; background: var(--paper); transform-origin: top; }
.loader__mark { position: relative; z-index: 2; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: .5em; padding-left: .5em; overflow: hidden; display: flex; }
.loader__mark .ch { display: inline-block; transform: translateY(110%); }
.loader__mark .gold { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.loader__bar { position: relative; z-index: 2; width: 220px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.loader__pct { position: relative; z-index: 2; font-size: .7rem; letter-spacing: .3em; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* ============ PAGE WIPE (cross-page) ============ */
.page-wipe { position: fixed; inset: 0; z-index: 9999; background: var(--ink); transform: scaleY(0); transform-origin: bottom; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.page-wipe.in  { animation: wipeIn .55s var(--ease-io) forwards; }
.page-wipe.out { transform: scaleY(1); transform-origin: top; animation: wipeOut .65s var(--ease-io) forwards; }
.page-wipe__mark { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .5em; padding-left:.5em; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0; }
.page-wipe.in .page-wipe__mark { animation: markFlash .55s ease forwards; }
@keyframes wipeIn { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes wipeOut { from { transform: scaleY(1); transform-origin: top; } to { transform: scaleY(0); transform-origin: top; } }
@keyframes markFlash { 0%{opacity:0;} 50%{opacity:1;} 100%{opacity:0;} }

/* ============ TYPE UTILITIES ============ */
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold-deep); }
.metal-text { background: var(--gold-metal); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: metalflow 8s linear infinite; }
@keyframes metalflow { to { background-position: 200% center; } }
.italic { font-style: italic; font-family: var(--accent); font-weight: 500; }

.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem;
}
.eyebrow::before { content:""; width: 34px; height: 1px; background: var(--gold); }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }

.title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.08; letter-spacing: -.018em; color: var(--ink);
  text-wrap: balance;
}
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 11vw, 9rem); line-height: .92; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.lead { font-size: 1.1rem; font-weight: 400; line-height: 1.78; color: var(--ink-soft); text-wrap: pretty; max-width: 65ch; }

/* ============ NAV ============ */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 1000; transition: background .55s var(--ease), box-shadow .55s, border-color .55s, backdrop-filter .55s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(247,243,234,.85); backdrop-filter: blur(12px) saturate(135%); -webkit-backdrop-filter: blur(12px) saturate(135%); border-bottom: 1px solid var(--line); box-shadow: var(--sh-sm); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; transition: padding .55s var(--ease); }
.nav.scrolled .nav__inner { padding: .9rem 2.4rem; }
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .34em; color: var(--ink); padding-inline-start: .34em; }
.nav__diamond { width: 11px; height: 11px; background: var(--gold-metal); transform: rotate(45deg); box-shadow: 0 0 14px rgba(176,141,60,.55); flex-shrink: 0; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a { font-size: .82rem; font-weight: 500; letter-spacing: .05em; color: var(--ink-soft); position: relative; padding: .4rem 0; transition: color .35s var(--ease); }
.nav__links a::after { content:""; position: absolute; inset-inline-start: 0; bottom: 0; width: 0; height: 1.5px; background: var(--gold-grad); transition: width .4s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1.3rem; }

/* premium language selector */
.lang { position: relative; }
.lang__toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: none; cursor: pointer; font-size: .76rem; font-weight: 600; letter-spacing: .12em; color: var(--ink); padding: .4rem .2rem; }
.lang__toggle .globe { width: 15px; height: 15px; fill: none; stroke: var(--gold-deep); stroke-width: 1.4; }
.lang__toggle .chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.lang.open .lang__toggle .chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 12px); inset-inline-end: 0; min-width: 168px;
  background: rgba(255,255,255,.75); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-lg); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top right;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
[dir="rtl"] .lang__menu { transform-origin: top left; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang__menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: none; cursor: pointer; padding: .7rem .8rem; border-radius: 8px; text-align: start; transition: background .3s var(--ease); }
.lang__menu button .l-name { font-size: .9rem; color: var(--ink); }
.lang__menu button .l-native { font-size: .78rem; color: var(--ink-faint); }
.lang__menu button:hover { background: rgba(176,141,60,.08); }
.lang__menu button.active .l-name { color: var(--gold-deep); font-weight: 600; }
.lang__menu button.active::after { content: "✓"; color: var(--gold-deep); font-size: .8rem; }

/* language crossfade */
.lang-fade { transition: opacity .4s var(--ease), filter .4s var(--ease); }
.lang-switching .lang-fade { opacity: 0; filter: blur(3px); }

.nav__cta { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); padding: .7rem 1.3rem; border-radius: 100px; transition: all .45s var(--ease); position: relative; overflow: hidden; white-space: nowrap; }
.nav__cta::before { content:""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.nav__cta:hover { color: var(--paper); }
.nav__cta:hover::before { transform: translateY(0); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 26px; height: 2px; background: var(--ink); transition: all .4s var(--ease); border-radius: 2px; }
.nav__burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg);} .nav__burger.open span:nth-child(2){opacity:0;} .nav__burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}

.mobile-menu { position: fixed; inset: 0; z-index: 999; background: rgba(247,243,234,.98); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.mobile-menu__links a { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); }
.mobile-menu__tag { font-family: var(--accent); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 1.05rem 2rem; border-radius: 100px; cursor: pointer; transition: transform .5s var(--ease-lux), box-shadow .5s, background .5s, color .5s, border-color .5s; position: relative; overflow: hidden; border: 1px solid transparent; will-change: transform; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
[dir="rtl"] .btn svg { transform: scaleX(-1); } [dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(5px); }
.btn--gold { background: var(--gold-grad); background-size: 200% 200%; color: #2a2008; box-shadow: 0 12px 34px -10px rgba(176,141,60,.6); animation: goldshift 7s ease infinite; }
@keyframes goldshift { 0%,100%{background-position:0% 50%;} 50%{background-position:100% 50%;} }
.btn--gold:hover { box-shadow: 0 18px 46px -10px rgba(176,141,60,.75); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { box-shadow: var(--sh); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--full { width: 100%; justify-content: center; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--nav-h) 2rem 5rem; overflow: hidden; isolation: isolate; }
.hero__layer { position: absolute; inset: 0; z-index: 0; will-change: transform; }

/* light rays */
.hero__rays { position: absolute; top: 48%; left: 50%; width: 160vmax; height: 160vmax; transform: translate(-50%,-50%); z-index: 0; opacity: .5; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(224,200,133,.0) 0deg, rgba(224,200,133,.16) 2deg, rgba(224,200,133,0) 5deg, rgba(224,200,133,0) 12deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 60%); mask: radial-gradient(circle, #000 0%, transparent 60%);
  animation: rays 60s linear infinite; }
@keyframes rays { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* volumetric fog */
.hero__fog { position: absolute; inset: -10%; z-index: 0; filter: blur(60px); opacity: .8; }
.hero__fog i { position: absolute; border-radius: 50%; }
.hero__fog i:nth-child(1){ width:48vw;height:48vw; top:2%; left:6%; background: radial-gradient(circle, var(--amb-1), transparent 60%); animation: fog1 26s var(--ease) infinite alternate; }
.hero__fog i:nth-child(2){ width:42vw;height:42vw; bottom:0; right:4%; background: radial-gradient(circle, var(--gold-pale), transparent 62%); opacity:.7; animation: fog2 32s var(--ease) infinite alternate; }
.hero__fog i:nth-child(3){ width:30vw;height:30vw; top:34%; right:26%; background: radial-gradient(circle, var(--amb-2), transparent 60%); animation: fog1 38s var(--ease) infinite alternate; }
@keyframes fog1 { to { transform: translate(8%,10%) scale(1.18); } }
@keyframes fog2 { to { transform: translate(-10%,-8%) scale(1.12); } }

/* conic rings */
.hero__ring { position: absolute; top: 50%; left: 50%; aspect-ratio: 1; transform: translate(-50%,-52%); border-radius: 50%; z-index: 0; }
.hero__ring--1 { width: min(80vw,820px); opacity: .55; background: conic-gradient(from 0deg, transparent, rgba(176,141,60,.55), transparent 28%, transparent 60%, rgba(224,200,133,.55), transparent 92%); -webkit-mask: radial-gradient(circle, transparent 60%, #000 60.4%, #000 61.4%, transparent 61.9%); mask: radial-gradient(circle, transparent 60%, #000 60.4%, #000 61.4%, transparent 61.9%); animation: ringspin 34s linear infinite; }
.hero__ring--2 { width: min(62vw,620px); opacity: .42; background: conic-gradient(from 120deg, transparent, rgba(224,200,133,.5), transparent 40%); -webkit-mask: radial-gradient(circle, transparent 58%, #000 58.4%, #000 59.1%, transparent 59.7%); mask: radial-gradient(circle, transparent 58%, #000 58.4%, #000 59.1%, transparent 59.7%); animation: ringspin 46s linear infinite reverse; }
@keyframes ringspin { to { transform: translate(-50%,-52%) rotate(360deg); } }

.hero__canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* ============ LIQUID-GOLD SHADER (fullscreen WebGL) ============ */
.hero__shader { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; }
/* When the shader is live: hide redundant atmospheric layers AND stop their animations entirely (perf). */
.has-gold-shader .hero__rays { display: none; }
.has-gold-shader .hero__fog  { display: none; }
.has-gold-shader .hero__ring--1 { opacity: .22; mix-blend-mode: overlay; animation: none; }
.has-gold-shader .hero__ring--2 { opacity: .16; mix-blend-mode: overlay; animation: none; }
@media (prefers-reduced-motion: reduce) { .hero__shader { display: none; } }

/* ============ WORDMARK HOVER — clean gold glow (no chromatic / no purple) ============ */
.hero__wordmark { transition: text-shadow .55s var(--ease-lux), letter-spacing .55s var(--ease-lux); }
.hero__wordmark:hover { letter-spacing: .018em; text-shadow:
  0 0 18px rgba(212, 184, 115, .35),
  0 0 42px rgba(176, 141, 60, .22); }
@media (prefers-reduced-motion: reduce) {
  .hero__wordmark:hover { text-shadow: none; letter-spacing: .01em; }
}

.hero__content { position: relative; z-index: 3; max-width: 1100px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 1rem; font-size: .73rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.8rem; }
.hero__eyebrow::before, .hero__eyebrow::after { content:""; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.hero__wordmark { position: relative; font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 10.5vw, 9rem); line-height: .92; letter-spacing: .005em; color: var(--ink); display: inline-block; white-space: nowrap; }
.hero__wordmark .ch { display: inline-block; transform: translateY(118%) rotate(6deg); opacity: 0; will-change: transform; }
/* metallic sheen sweep */
.hero__wordmark::after { content: attr(data-text); position: absolute; inset: 0; background: linear-gradient(105deg, transparent 36%, rgba(255,248,224,.95) 49%, rgba(216,189,126,.6) 52%, transparent 64%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 7s ease-in-out 2.8s infinite; pointer-events: none; letter-spacing: .015em; }
@keyframes sheen { 0%{background-position: 170% 0;} 50%,100%{background-position: -70% 0;} }
/* reflection */
.hero__reflection { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem,10.5vw,9rem); line-height:.92; letter-spacing:.005em; white-space: nowrap; transform: scaleY(-1); margin-top: -.18em; background: linear-gradient(to bottom, rgba(22,19,14,.09), transparent 52%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-mask: linear-gradient(to bottom, #000, transparent 45%); mask: linear-gradient(to bottom, #000, transparent 45%); pointer-events: none; user-select: none; }

.hero__tagline { font-family: var(--accent); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 3vw, 2.2rem); color: var(--gold-deep); letter-spacing: .01em; margin-bottom: 1.6rem; }
.hero__sub { max-width: 600px; margin: 0 auto 2.6rem; font-size: 1.08rem; color: var(--ink-soft); line-height: 1.8; }
.hero__actions { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-faint); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:""; position: absolute; top:0; left:0; width:100%; height:40%; background: var(--gold); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0%{transform:translateY(-100%);} 100%{transform:translateY(250%);} }

/* ============ SECTION SHELL & CONTINUITY ============ */
/* Default sections are constrained to maxw. Full-bleed sections (those with backgrounds)
   stretch edge-to-edge of the viewport but keep their content within maxw via padding. */
.section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 9rem 2.4rem; }

/* Full-bleed: span full viewport, content stays centred in maxw via gutter padding */
#services, #about, #team, #faq, #contact,
.stats-band, .philosophy, .section--gold-band, .cta-band,
.dhero, .ops-band {
  max-width: none;
  padding-inline: max(2.4rem, calc((100vw - var(--maxw)) / 2));
}

.section--wide { max-width: none; }
.section--wide > .inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 820px; margin-bottom: 4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
/* soft glow seams between sections for continuity */
.seam { position: relative; height: 0; }
.seam::before { content:""; position: absolute; left: 50%; transform: translateX(-50%); width: 80vw; max-width: 1100px; height: 420px; top: -210px; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at center, var(--amb-2), transparent 70%); opacity: .5; filter: blur(40px); }

/* ============ MANIFESTO (editorial storytelling) ============ */
.manifesto { position: relative; padding: 10rem 2.4rem; overflow: hidden; }
.manifesto__inner { max-width: 1100px; margin: 0 auto; }
.manifesto__line { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink-faint); }
.manifesto__line .w { color: var(--ink); }
.manifesto__line em { font-family: var(--accent); font-style: italic; color: var(--gold-deep); }
.manifesto__sig { margin-top: 3rem; display: flex; align-items: center; gap: 1rem; font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.manifesto__sig::before { content:""; width: 48px; height: 1px; background: var(--gold); }

/* ============ PORTAL PILLARS ============ */
.portals { position: relative; }
.portals__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.portal {
  position: relative; display: block; min-height: 480px; aspect-ratio: 3 / 4;
  border-radius: 12px; overflow: hidden;
  background: #0f0c07; color: var(--paper); isolation: isolate;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease-out;
  box-shadow: var(--sh);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
/* Spotlight: when one portal is hovered, the others become translucent/faded
   while the hovered one pops with a warm gold glow. */
.portals__grid:hover .portal {
  opacity: .28; filter: saturate(.65) brightness(.92); transform: scale(.985);
}
.portals__grid:hover .portal:hover {
  opacity: 1; filter: none;
  transform: translateY(-14px) scale(1.02);
  box-shadow: var(--sh-lg), 0 0 60px -10px rgba(232, 200, 133, .55);
  z-index: 2;
}

/* Photographic scene — image set per-portal via inline style (var --bg) */
.portal__scene {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg, #0f0c07) center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease-lux), filter 1.6s var(--ease-lux);
  filter: saturate(.95) brightness(.85);
}
.portal:hover .portal__scene { transform: scale(1.08); filter: saturate(1.04) brightness(.95); }
/* Strong bottom-up gradient so text always reads, lighter top so the image breathes */
.portal__scene::after {
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,7,5,.96) 0%, rgba(8,7,5,.78) 28%, rgba(8,7,5,.32) 60%, rgba(8,7,5,.10) 100%),
    linear-gradient(to bottom, rgba(8,7,5,.30) 0%, transparent 25%);
}

/* Subtle light sweep on hover (lower intensity now that the photo carries texture) */
.portal__sweep { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,250,235,.10) 50%, transparent 62%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease-lux); }
.portal:hover .portal__sweep { transform: translateX(120%); }

.portal__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; padding: 2.1rem 1.9rem 2rem; }
.portal__num { font-family: var(--accent); font-size: 1rem; font-weight: 600; letter-spacing: .1em; color: var(--accent-1); }
.portal__body h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--paper); margin: .4rem 0 .65rem; letter-spacing: -.005em; }
.portal__body p { font-size: .92rem; color: rgba(247,243,234,.78); line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s var(--ease-lux), opacity .45s var(--ease), margin .55s var(--ease-lux); }
.portal:hover .portal__body p { max-height: 140px; opacity: 1; margin-bottom: 1.1rem; }

.portal__enter { display: inline-flex; align-items: center; gap: .55rem; font-size: .73rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-1); }
.portal__enter svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.portal:hover .portal__enter svg { transform: translateX(6px); }
[dir="rtl"] .portal__enter svg { transform: scaleX(-1); } [dir="rtl"] .portal:hover .portal__enter svg { transform: scaleX(-1) translateX(6px); }

.portal__line { position: absolute; top: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-1), transparent); transform: scaleX(0); transition: transform .6s var(--ease-lux); z-index: 4; }
.portal:hover .portal__line { transform: scaleX(1); }

/* ============ STATS — light champagne band (no more black) ============ */
.stats-band {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(232,200,133,.18), transparent 70%),
    linear-gradient(135deg, var(--paper-2), var(--paper-3) 60%, var(--paper-2));
  border-block: 1px solid var(--line-gold);
}
.stats-band::before {
  /* slow drifting gold orb behind the stats */
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  top: -30%; left: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,184,115,.32), transparent 65%);
  filter: blur(40px); animation: statsDrift 22s var(--ease) infinite alternate;
}
.stats-band::after {
  content: ""; position: absolute; z-index: -1; width: 50vw; height: 50vw; max-width: 580px; max-height: 580px;
  bottom: -30%; right: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,60,.22), transparent 65%);
  filter: blur(40px); animation: statsDrift 28s var(--ease) infinite alternate-reverse;
}
@keyframes statsDrift { to { transform: translate(8%, 6%) scale(1.12); } }

.stats-inner { max-width: var(--maxw); margin: 0 auto; padding: 2rem 2.4rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; position: relative; z-index: 1; }
.stat { text-align: center; position: relative; padding: 1.4rem 0; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.stat:not(:last-child)::after { content:""; position: absolute; inset-inline-end: -1rem; top: 18%; height: 64%; width: 1px; background: var(--line-gold); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2.4rem,4.6vw,3.8rem); font-weight: 500; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: .7rem; }
.stat__label { font-size: .73rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

/* ============ WHO WE ARE (editorial asymmetry) ============ */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 5rem; align-items: end; }
.pillars5 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pillar5 { background: rgba(255,255,255,.5); backdrop-filter: blur(4px); padding: 2rem 1.6rem; position: relative; transition: background .5s var(--ease); }
.pillar5:nth-child(5) { grid-column: 1 / -1; }
.pillar5::before { content:""; position: absolute; top:0; inset-inline-start:0; width:100%; height:2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: inline-start; transition: transform .5s var(--ease); }
.pillar5:hover { background: rgba(255,255,255,.8); }
.pillar5:hover::before { transform: scaleX(1); }
.pillar5__index { font-family: var(--accent); font-size: 1rem; font-weight: 600; color: var(--gold-deep); }
.pillar5 h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); margin: .7rem 0 .6rem; }
.pillar5 p { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }

/* ============ PHILOSOPHY ============ */
.philosophy { position: relative; padding: 11rem 2.4rem; text-align: center; overflow: hidden; }
.philosophy__inner { max-width: 1040px; margin: 0 auto; position: relative; z-index: 1; }
.philosophy__quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.8rem,4.2vw,3.3rem); line-height: 1.34; color: var(--ink); letter-spacing: -.01em; }
.philosophy__attr { margin-top: 2rem; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }

/* ============ TEAM ============ */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; }
.member { background: rgba(255,255,255,.6); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 10px; padding: 2.2rem 1.9rem 2.4rem; transition: transform .6s var(--ease-lux), box-shadow .6s, border-color .6s; }
.member:hover { transform: translateY(-10px); box-shadow: var(--sh); border-color: var(--line-gold); }
.member__portrait { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--paper-2), var(--paper-3)); border: 1px solid var(--line-gold); margin-bottom: 1.4rem; box-shadow: inset 0 2px 8px rgba(255,255,255,.6), 0 6px 18px -8px rgba(60,48,24,.35); }
.member__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-lux); }
.member:hover .member__portrait img { transform: scale(1.06); }
.member__portrait span { font-family: var(--serif); font-size: 1.55rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Vision statement above team grid */
.vision { max-width: 880px; margin: 0 auto 4rem; text-align: center; padding-block: 1.4rem; border-block: 1px solid var(--line-gold); }
.vision__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.vision__quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; color: var(--ink); letter-spacing: -.005em; }
.vision__quote .gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.member h3 { font-family: var(--serif); font-size: 1.26rem; font-weight: 500; color: var(--ink); margin-bottom: .35rem; }
.member__role { display: block; font-size: .71rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .9rem; }
.member p { font-size: .87rem; color: var(--ink-soft); line-height: 1.6; }

/* ============ FAQ ============ */
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.8rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-family: var(--serif); font-size: clamp(1.1rem,2vw,1.42rem); font-weight: 500; color: var(--ink); transition: color .35s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-deep); }
.faq__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content:""; position: absolute; top: 50%; left: 50%; background: var(--gold-deep); transition: transform .4s var(--ease); }
.faq__icon::before { width: 16px; height: 1.6px; transform: translate(-50%,-50%); }
.faq__icon::after { width: 1.6px; height: 16px; transform: translate(-50%,-50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__answer { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq__item[open] .faq__answer { max-height: 360px; }
.faq__answer p { padding-bottom: 1.8rem; max-width: 820px; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }

/* ============ CONTACT ============ */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact__lead { margin: 1.6rem 0 2.8rem; max-width: 460px; }
.contact__details { list-style: none; display: flex; flex-direction: column; gap: 1.6rem; }
.contact__details li { display: flex; flex-direction: column; gap: .35rem; padding-inline-start: 1.3rem; border-inline-start: 2px solid var(--line-gold); }
.contact__label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.contact__value { font-size: 1rem; color: var(--ink); }
.contact__form { display: flex; flex-direction: column; gap: 1.5rem; background: rgba(255,255,255,.62); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 2.6rem; box-shadow: var(--sh); }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 1.3rem 0 .65rem; font-family: var(--sans); font-size: 1rem; color: var(--ink); transition: border-color .4s var(--ease); resize: none; }
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field label { position: absolute; inset-inline-start: 0; top: 1.3rem; font-size: 1rem; color: var(--ink-faint); pointer-events: none; transition: all .35s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label, .label--select { top: -.1rem; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep); }
.contact__note { font-size: .9rem; color: var(--gold-deep); min-height: 1.2rem; }

/* ============ DIVISION HERO (editorial, asymmetric) ============ */
.dhero { position: relative; padding: calc(var(--nav-h) + 3rem) 2.4rem 3.4rem; overflow: hidden; min-height: 0; display: flex; align-items: center; }
.dhero__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; width: 100%; }
.dhero__crumb { display: inline-flex; align-items: center; gap: .6rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.2rem; }
.dhero__crumb a { color: var(--gold-deep); }
.dhero__num { font-family: var(--accent); font-size: .95rem; font-weight: 600; letter-spacing: .16em; color: var(--gold-deep); display: block; margin-bottom: .7rem; }
.dhero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.022em; color: var(--ink); margin-bottom: 1.1rem; }
.dhero__lead { font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft); max-width: 520px; margin-bottom: 1.6rem; }
.dhero__visual { position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: #0f0c07; box-shadow: var(--sh-lg); display: flex; align-items: center; justify-content: center; isolation: isolate; }
.dhero__visual .scene { position: absolute; inset: 0; z-index: 0; }
.dhero__visual .scene::after { content:""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, transparent, rgba(8,6,4,.7)); }
.dhero__visual[data-theme] .scene { background: radial-gradient(70% 60% at 50% 32%, var(--accent-2), #0d0a06 72%); }
.dhero__sweep { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,250,235,.1) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 9s ease-in-out 1s infinite; }

.art { position: relative; width: 56%; aspect-ratio: 1; z-index: 1; }
.art--coin { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6dd, #f4e6c0 14%, #e8c874 34%, #c9a227 58%, #8a6410 82%, #4a3408 100%); box-shadow: 0 0 110px rgba(201,162,39,.6), inset -18px -18px 50px rgba(74,44,18,.7), inset 14px 14px 34px rgba(255,246,221,.45); animation: float 6s var(--ease) infinite alternate; }
.art--coin::after { content:"✦"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; color: rgba(74,44,18,.4); }
.art--crystal { background: linear-gradient(135deg, rgba(228,234,236,.95), rgba(150,168,172,.7) 45%, rgba(70,86,90,.8)); clip-path: polygon(50% 0, 88% 26%, 78% 100%, 22% 100%, 12% 26%); box-shadow: 0 0 90px rgba(180,200,205,.4); animation: float 7s var(--ease) infinite alternate; }
.art--crystal::after { content:""; position: absolute; inset: 0; background: linear-gradient(70deg, transparent 42%, rgba(255,255,255,.5) 50%, transparent 58%); clip-path: inherit; }
.art--ring { border: 2px solid rgba(174,191,207,.8); border-radius: 50%; box-shadow: 0 0 90px rgba(120,150,190,.5), inset 0 0 56px rgba(120,150,190,.25); animation: float 6.5s var(--ease) infinite alternate; }
.art--ring::before { content:""; position: absolute; inset: 24%; border: 1px solid rgba(174,191,207,.5); border-radius: 50%; }
.art--ring::after { content:""; position: absolute; inset: -6%; border-top: 1px solid rgba(174,191,207,.35); border-radius: 50%; transform: rotate(30deg); }
.art--arch { width: 50%; aspect-ratio: .78; border: 2px solid rgba(217,199,160,.8); border-bottom: none; border-radius: 999px 999px 0 0; box-shadow: 0 0 80px rgba(180,150,90,.4), inset 0 0 56px rgba(180,150,90,.18); align-self: flex-end; animation: float 7s var(--ease) infinite alternate; }
.art--arch::before { content:""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 56%; height: 64%; border: 1px solid rgba(217,199,160,.5); border-bottom: none; border-radius: 999px 999px 0 0; }
@keyframes float { to { transform: translateY(-20px); } }

/* division sub-sections */
.offer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.offer { background: rgba(255,255,255,.6); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 10px; padding: 2.2rem 2rem; transition: transform .6s var(--ease-lux), box-shadow .6s, border-color .6s; }
.offer:hover { transform: translateY(-8px); box-shadow: var(--sh); border-color: var(--line-gold); }
.offer__n { font-family: var(--accent); font-size: 1.2rem; font-weight: 600; color: var(--gold-deep); }
.offer h3 { font-family: var(--serif); font-size: 1.34rem; font-weight: 500; color: var(--ink); margin: .7rem 0; }
.offer p { font-size: .92rem; color: var(--ink-soft); line-height: 1.7; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 2.8rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; inset-inline-start: 0; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-pale); font-weight: 600; }
.step h3 { font-family: var(--serif); font-size: 1.18rem; color: var(--ink); margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

/* CTA band — light gold/cream (no more dark/black) */
.cta-band { position: relative; text-align: center; padding: 8rem 2.4rem; color: var(--ink); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(232,200,133,.30), transparent 75%),
    linear-gradient(135deg, var(--paper), var(--paper-2) 60%, var(--paper-3));
  border-block: 1px solid var(--line-gold);
}
.cta-band__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem,4.6vw,3.6rem); line-height: 1.1; margin-bottom: 1.4rem; color: var(--ink); letter-spacing: -.015em; }
.cta-band p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 2.4rem; }
.cta-band__glow { position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 60vw; height: 60vw; max-width: 760px; background: radial-gradient(circle, rgba(212,184,115,.5), transparent 62%); filter: blur(50px); animation: statsDrift 24s var(--ease) infinite alternate; z-index: -1; }

/* ============ FOOTER ============ */
.footer { position: relative; background: var(--paper-2); border-top: 1px solid var(--line); padding: 6rem 2.4rem 2.4rem; overflow: hidden; }
.footer__big { max-width: var(--maxw); margin: 0 auto 4rem; font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 13vw, 11rem); line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px var(--line-gold); text-align: center; user-select: none; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 4rem; }
.footer__brand { display: flex; flex-direction: column; gap: .4rem; }
.footer__name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .3em; color: var(--ink); margin-top: .6rem; }
.footer__tag { font-family: var(--accent); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); margin-top: .5rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer__col { display: flex; flex-direction: column; gap: .85rem; }
.footer__col h4 { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .4rem; font-weight: 700; }
.footer__col a, .footer__col span { font-size: .9rem; color: var(--ink-soft); transition: color .3s; }
.footer__col a:hover { color: var(--gold-deep); }
.footer__base { max-width: var(--maxw); margin: 4rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--ink-faint); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-mask { overflow: hidden; }
.reveal-mask > * { transform: translateY(112%); transition: transform 1.2s var(--ease-lux); }
.reveal-mask.in > * { transform: translateY(0); }

/* ============ RTL ============ */
[dir="rtl"] { letter-spacing: 0; }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero__eyebrow, [dir="rtl"] .nav__links a, [dir="rtl"] .stat__label,
[dir="rtl"] .contact__label, [dir="rtl"] .footer__col h4, [dir="rtl"] .portal__enter, [dir="rtl"] .btn,
[dir="rtl"] .member__role, [dir="rtl"] .dhero__crumb, [dir="rtl"] .nav__cta, [dir="rtl"] .manifesto__sig { letter-spacing: .04em; }
[dir="rtl"] .hero__wordmark, [dir="rtl"] .hero__reflection, [dir="rtl"] .loader__mark, [dir="rtl"] .page-wipe__mark,
[dir="rtl"] .footer__name, [dir="rtl"] .footer__big, [dir="rtl"] .nav__brand-text { direction: ltr; unicode-bidi: isolate; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .portals__grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 2.6rem 2rem; }
  .stat:not(:last-child)::after { display: none; }
  .offer-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .dhero__inner, .about__grid, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .dhero__visual { max-width: 420px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .nav__inner, .hero { padding-inline: 1.4rem; }
  .section { padding: 5.5rem 1.4rem; }
  .portals__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .team-grid, .offer-grid, .steps { grid-template-columns: 1fr; }

  /* Mobile portal optimizations */
  .portal { min-height: 360px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease-out, opacity 0.3s ease-out; }
  .portals__grid:hover .portal { opacity: 1; filter: none; transform: none; }
  .portals__grid:hover .portal:hover { opacity: 1; filter: none; transform: scale(0.98); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
  .portal:active { transform: scale(0.96); }
  .portal__body p { max-height: 100px; transition: max-height 0.4s var(--ease-lux), opacity 0.3s var(--ease); }
  .portal__body { padding: 1.6rem 1.2rem 1.5rem; }
  .portal__body h3 { font-size: 1.3rem; margin: 0.3rem 0 0.4rem; }
  .portal__body p { font-size: 0.85rem; }
  .portal__enter { font-size: 0.65rem; }
  .portal__enter svg { width: 14px; height: 14px; }

  .pillars5 { grid-template-columns: 1fr 1fr; gap: 1px; }
  .pillar5 { padding: 1rem .9rem; }
  .pillar5:nth-child(5) { grid-column: auto; }
  .pillar5__index { font-size: .8rem; }
  .pillar5 h3 { font-size: 1rem; margin: .4rem 0 .3rem; }
  .pillar5 p { font-size: .78rem; line-height: 1.45; }
  .pillar5::before, .pillar5:hover { animation: none !important; transition: none !important; }
  .pillar5:hover { background: rgba(255,255,255,.5); }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; justify-content: center; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
}

/* ============================================================
   v2 PASS — Brand mark, rich division pages, materials, tags,
   positioning callouts, hero background video.
   ============================================================ */

/* Brand: stacked BARAKAH / GROUP wordmark */
.brand-stack { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-stack .brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .34em; color: var(--ink); padding-inline-start: .34em; }
.brand-stack .brand__sub  { font-family: var(--sans); font-weight: 600; font-size: .58rem; letter-spacing: .42em; color: var(--gold-deep); padding-inline-start: .42em; margin-top: .4rem; opacity: .85; text-transform: uppercase; }
[dir="rtl"] .brand-stack { direction: ltr; unicode-bidi: isolate; }

/* B-medallion logo (uses <use href="#b-mark"/>) */
.b-mark { display: block; flex-shrink: 0; }
.b-mark--nav    { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(176,141,60,.32)); transition: transform .5s var(--ease-lux), filter .5s var(--ease-lux); }
.nav__brand:hover .b-mark--nav { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 6px 18px rgba(176,141,60,.5)); }
.b-mark--foot   { width: 56px; height: 56px; filter: drop-shadow(0 6px 18px rgba(176,141,60,.35)); }
.b-mark--loader { width: 96px; height: 96px; margin-inline: auto; filter: drop-shadow(0 8px 28px rgba(176,141,60,.55)); animation: bmFloat 4s var(--ease) infinite alternate; }
@keyframes bmFloat { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-6px) rotate(1deg); } }
.loader__brand { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
[dir="rtl"] .b-mark--nav { transform: scaleX(1); }

/* ===========================================================
   ANIMATED FOOTER LOGO — halo · pulse · float · sheen
   =========================================================== */
/* Footer B medallion — clean, no glow */
.b-mark-wrap--foot {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  margin-bottom: .4rem;
}
.b-mark-wrap--foot::before,
.b-mark-wrap--foot::after { display: none; }
.b-mark-wrap--foot .b-mark--foot {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 12px rgba(176,141,60,0.3));
  transition: transform .5s var(--ease-lux), filter .5s var(--ease-lux);
}
.b-mark-wrap--foot:hover .b-mark--foot {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 18px rgba(176,141,60,0.5));
}


/* ============================================================
   ENRICHMENT: warm color + animation
   • Trading "Five verticals" cards
   • Leadership team cards
   • Contact section + form + button
   ============================================================ */

/* -------- A. TRADING — Five verticals cards -------- */
.vert {
  position: relative;
  overflow: hidden;
  animation: vertRise .9s var(--ease-lux) backwards;
}
.vert[data-stagger="0"] { animation-delay: .05s; }
.vert[data-stagger="1"] { animation-delay: .15s; }
.vert[data-stagger="2"] { animation-delay: .25s; }
.vert[data-stagger="3"] { animation-delay: .35s; }
.vert[data-stagger="4"] { animation-delay: .45s; }

/* gold top stripe that fills on hover */
.vert::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-lux);
  z-index: 2;
}
.vert:hover::before { transform: scaleX(1); }

/* warm radial glow that appears on hover */
.vert::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 50% 0%, rgba(224,200,133,0.18), transparent 70%);
  opacity: 0;
  transition: opacity .6s var(--ease-lux);
}
.vert:hover::after { opacity: 1; }

/* enhanced lift with warm shadow */
.vert:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px -22px rgba(176,141,60,0.45), 0 12px 28px -16px rgba(22,19,14,0.18);
  border-color: rgba(176,141,60,0.55);
}

/* icon: continuous gentle breathing + gold tint and lift on hover */
.vert__icon {
  transition: transform .6s var(--ease-lux), stroke .4s var(--ease), filter .5s var(--ease);
  animation: vertIconBreath 5s ease-in-out infinite;
  transform-origin: center;
}
.vert:hover .vert__icon {
  transform: scale(1.14) rotate(-6deg);
  stroke: var(--gold);
  filter: drop-shadow(0 6px 12px rgba(176,141,60,0.55));
}

/* number "01..05" with metallic shimmer */
.vert__n {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: letter-spacing .5s var(--ease);
  animation: goldshift 8s ease infinite;
}
.vert:hover .vert__n { letter-spacing: .22em; }

/* tag pills: fill with gold on hover */
.tag {
  position: relative;
  overflow: hidden;
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tag:hover {
  background: var(--gold-grad);
  border-color: transparent;
  color: #2a2008;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(176,141,60,.5);
}

@keyframes vertRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vertIconBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

/* -------- B. LEADERSHIP team cards -------- */
.team-grid .member {
  position: relative;
  overflow: hidden;
  animation: memberRise 1s var(--ease-lux) backwards;
}
.member[data-stagger="0"] { animation-delay: .08s; }
.member[data-stagger="1"] { animation-delay: .18s; }
.member[data-stagger="2"] { animation-delay: .28s; }
.member[data-stagger="3"] { animation-delay: .38s; }

/* top gold stripe revealed on hover */
.member::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright) 50%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .7s var(--ease-lux);
  z-index: 2;
}
.member:hover::before { transform: scaleX(1); }

/* warm radial highlight on hover */
.member::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 50% 0%, rgba(224,200,133,0.18), transparent 75%);
  opacity: 0;
  transition: opacity .6s var(--ease-lux);
}
.member:hover::after { opacity: 1; }

/* lift with richer shadow */
.member:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -22px rgba(176,141,60,0.5), 0 14px 30px -18px rgba(22,19,14,0.18);
  border-color: rgba(176,141,60,0.6);
}

/* portrait: conic gold halo behind, soft shimmer on initials */
.member__portrait {
  position: relative;
  isolation: isolate;
  transition: transform .6s var(--ease-lux);
}
.member__portrait::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--gold-bright),
    var(--gold-pale),
    var(--gold),
    var(--gold-bright));
  filter: blur(11px);
  opacity: 0;
  z-index: -1;
  transition: opacity .6s var(--ease-lux);
  animation: memberHaloSpin 7s linear infinite;
}
.member:hover .member__portrait::before { opacity: .6; }
.member:hover .member__portrait { transform: scale(1.07) rotate(-2deg); }

.member__portrait span {
  background-size: 200% auto;
  animation: goldshift 6s ease infinite;
}

/* role: animated underline that grows on hover */
.member__role {
  position: relative;
  padding-bottom: .45rem;
}
.member__role::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 22px;
  height: 1.2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .6s var(--ease-lux);
}
.member:hover .member__role::after { width: 80px; }

@keyframes memberRise {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes memberHaloSpin { to { transform: rotate(360deg); } }

/* -------- C. CONTACT — section + form + button -------- */
#contact { position: relative; overflow: hidden; }

/* floating warm orbs in background — life + color */
#contact::before, #contact::after { display: none; }

/* ensure content sits above the orbs */
.contact-inner { position: relative; z-index: 1; }

/* contact list items: animated gold rail + hover slide */
.contact__details li {
  position: relative;
  border-inline-start: 2px solid transparent !important; /* override */
  transition: padding-inline-start .5s var(--ease-lux);
}
.contact__details li::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-bright), var(--gold-deep));
  transform: scaleY(.45);
  transform-origin: top;
  transition: transform .6s var(--ease-lux);
  border-radius: 2px;
}
.contact__details li:hover::before { transform: scaleY(1); }
.contact__details li:hover { padding-inline-start: 1.7rem; }
.contact__details li:hover .contact__label { color: var(--gold); transition: color .4s var(--ease); }

/* form: subtle glow when focused inside */
.contact__form {
  position: relative;
  transition: box-shadow .6s var(--ease-lux);
}
.contact__form:focus-within {
  box-shadow: var(--sh), 0 0 0 1px rgba(176,141,60,0.4), 0 0 48px -12px rgba(176,141,60,0.35);
}

/* field underline grows from center on focus */
.field::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.8px;
  background: var(--gold-grad);
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .55s var(--ease-lux);
  pointer-events: none;
  animation: goldshift 6s ease infinite;
}
.field:focus-within::after { transform: scaleX(1); }

/* SEND ENQUIRY button: sheen sweep + soft pulse */
.contact__form .btn--gold {
  position: relative;
  overflow: hidden;
}
.contact__form .btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,250,220,0.65) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: 200% 0;
  animation: btnSheen 3.6s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}
.contact__form .btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px -10px rgba(176,141,60,.8);
}
@keyframes btnSheen {
  0%, 100% { background-position: 200% 0; }
  60%      { background-position: -120% 0; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .vert, .member,
  .vert__icon,
  .member__portrait::before,
  .member__portrait span,
  #contact::before,
  #contact::after,
  .field::after,
  .contact__form .btn--gold::after { animation: none !important; }
}


/* ===========================================================
   v2: DRAMATIC upgrade — animation + color
   • 3D perspective tilt on cards
   • Animated conic-gradient borders
   • Vivid colored aurora on footer logo
   • Particle dots in contact background
   • "Area of Interest" label spacing fix
   =========================================================== */

/* Establish perspective on the grid containers so 3D tilt looks real */
.team-grid, .verticals { perspective: 1200px; }

/* ----- A. TRADING vertical cards : 3D tilt + vivid multi-color glow ----- */
.vert {
  transform-style: preserve-3d;
  will-change: transform;
  background: rgba(255,255,255,.65);
}
/* upgrade top stripe — brighter, with continuous pulse glow */
.vert::before {
  background-image: linear-gradient(90deg,
    transparent 0%,
    #ffd97a 30%,
    #fff6d8 50%,
    #ffd97a 70%,
    transparent 100%) !important;
  height: 2.5px !important;
  animation: stripeGleam 2.6s ease-in-out infinite;
}
@keyframes stripeGleam {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(255,217,122,.5)); }
  50%      { filter: drop-shadow(0 0 11px rgba(255,217,122,1)); }
}
.vert:hover {
  transform: translateY(-14px) rotateX(4deg) rotateY(-3deg) scale(1.02);
  box-shadow:
    0 0 0 1.5px rgba(255,217,122,0.55),
    0 0 0 4px rgba(176,141,60,0.18),
    0 38px 80px -22px rgba(176,141,60,0.65),
    0 18px 38px -18px rgba(22,19,14,0.22);
}

/* sparkle dots floating up on hover (3 dots) */
.vert::after {
  /* keep prior radial glow + add floating sparkle */
  background:
    radial-gradient(2px 2px at 18% 78%, rgba(224,200,133,.9), transparent 60%),
    radial-gradient(2px 2px at 72% 88%, rgba(255,236,180,.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 95%, rgba(176,141,60,.9), transparent 60%),
    radial-gradient(120% 60% at 50% 0%, rgba(224,200,133,0.20), transparent 70%) !important;
  background-repeat: no-repeat !important;
  animation: vertSparkle 3.5s ease-in-out infinite;
  opacity: 0;
}
.vert:hover::after { opacity: 1; }
@keyframes vertSparkle {
  0%, 100% { background-position: 18% 78%, 72% 88%, 40% 95%, 50% 0%; opacity: .5; }
  50%      { background-position: 18% 28%, 72% 18%, 40% 8%,  50% 0%; opacity: 1; }
}

/* ----- B. LEADERSHIP cards : 3D tilt + neon-warm halo ----- */
.member {
  transform-style: preserve-3d;
  will-change: transform;
}
.member:hover {
  transform: translateY(-16px) rotateX(5deg) rotateY(-4deg) scale(1.025);
  box-shadow:
    0 42px 84px -22px rgba(176,141,60,0.62),
    0 22px 44px -18px rgba(22,19,14,0.22),
    0 0 0 1px rgba(255,236,180,0.45) inset;
}
/* Animated conic ring around the portrait — way more vivid */
.member__portrait::before {
  inset: -8px !important;
  background:
    conic-gradient(from 0deg,
      #ffd97a, #f0e2bd, #b08d3c, #e0c885,
      #876722, #f7e8b0, #ffd97a) !important;
  filter: blur(8px) !important;
  opacity: .45 !important;
  animation: memberHaloSpin 5s linear infinite !important;
}
.member:hover .member__portrait::before { opacity: .95 !important; filter: blur(6px) !important; }

/* Portrait bg becomes a vivid gold gradient on hover */
.member__portrait {
  transition: transform .55s var(--ease-lux), background .6s var(--ease-lux), border-color .6s var(--ease-lux);
}
.member:hover .member__portrait {
  background: linear-gradient(145deg, #fff4cc, #eccc7a 35%, #bc8d3a 80%);
  border-color: rgba(255,236,180,.85);
}
.member:hover .member__portrait span {
  -webkit-text-fill-color: #2a2008 !important;
  background: none !important;
}

/* Card top stripe — keep but make it brighter and continuously gleam */
.member::before {
  background: linear-gradient(90deg, transparent, #ffd97a 30%, #fff6d8 50%, #ffd97a 70%, transparent) !important;
  height: 2.5px !important;
  filter: drop-shadow(0 0 6px rgba(255,217,122,.7));
}

/* ----- C. CONTACT section : particle field + brighter glow ----- */
#contact {
  background:
    radial-gradient(800px 500px at 12% 18%, rgba(255,236,180,0.18), transparent 60%),
    radial-gradient(900px 600px at 88% 82%, rgba(224,200,133,0.16), transparent 65%);
}
/* floating gold particles */
.contact-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(224,200,133,.65), transparent 60%),
    radial-gradient(2px 2px at 84% 18%, rgba(255,236,180,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 28% 88%, rgba(176,141,60,.55), transparent 60%),
    radial-gradient(2px 2px at 76% 72%, rgba(224,200,133,.55), transparent 60%),
    radial-gradient(1px 1px at 48% 38%, rgba(255,236,180,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 92% 48%, rgba(176,141,60,.55), transparent 60%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: contactDrift 14s ease-in-out infinite alternate;
  z-index: 0;
  opacity: .65;
}
.contact__intro, .contact__form { position: relative; z-index: 1; }
@keyframes contactDrift {
  0%   { transform: translateY(0)    translateX(0); }
  100% { transform: translateY(-14px) translateX(8px); }
}

/* Contact form gets brighter focus halo */
.contact__form:focus-within {
  box-shadow:
    var(--sh),
    0 0 0 1.5px rgba(176,141,60,0.55),
    0 0 60px -8px rgba(224,200,133,0.55) !important;
}

/* ----- D. AREA OF INTEREST — BULLETPROOF grid layout fix -----
   The native <select> ignores padding-top and vertically-centers its value,
   so absolute label-positioning overlaps it. Solution: use grid on the .field,
   force label into row 1 and select into row 2. They can NEVER overlap. */
.field:has(.label--select) {
  display: grid !important;
  grid-template-rows: auto auto;
  row-gap: .35rem;
  padding-top: .35rem;
}
.field:has(.label--select) .label--select {
  /* break out of absolute positioning — become a real grid row */
  position: static !important;
  top: auto !important;
  inset-inline-start: auto !important;
  display: block;
  grid-row: 1;
  margin: 0;
  font-size: .66rem !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: var(--gold-deep) !important;
  line-height: 1.1;
  pointer-events: none;
}
.field:has(.label--select) select {
  grid-row: 2;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding: .35rem 1.6rem .65rem 0 !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23876722' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right .15rem center !important;
  background-size: 14px 14px !important;
  cursor: pointer;
}
[dir="rtl"] .field:has(.label--select) select {
  background-position: left .15rem center !important;
  padding: .35rem 0 .65rem 1.6rem !important;
}
/* Underline (::after animated focus line) sits at the field bottom — keep it */
.field:has(.label--select)::after { grid-row: 2; align-self: end; }

/* Footer logo — no aurora/glow overrides here */

/* ----- F. respect reduced motion for the new layer ----- */
@media (prefers-reduced-motion: reduce) {
  .vert:hover, .member:hover { transform: none; }
  .vert::before, .vert::after,
  .contact-inner::after { animation: none !important; }
}


/* ===========================================================
   DARK LEADERSHIP SECTION — gallery-of-portraits on deep ink
   =========================================================== */
#team {
  background: linear-gradient(180deg, #1a160e 0%, #100c08 50%, #1a160e 100%);
  position: relative;
  /* full-bleed: break out of .section's max-width + horizontal padding */
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  padding: 6rem 2.4rem;
  overflow: hidden;
  isolation: isolate;
}
/* Re-center the inner content (since #team is now full-bleed) */
#team .section-head, #team .team-grid {
  max-width: var(--maxw);
  margin-inline: auto;
}
/* Warm gold ambient orbs that drift on the dark backdrop */
#team::before, #team::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
#team::before {
  top: -18%;
  inset-inline-start: -10%;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle, rgba(232,155,90,0.32), transparent 65%);
  animation: teamOrb1 24s ease-in-out infinite alternate;
}
#team::after {
  bottom: -18%;
  inset-inline-end: -10%;
  width: 38vw;
  height: 38vw;
  background: radial-gradient(circle, rgba(176,141,60,0.30), transparent 65%);
  animation: teamOrb2 28s ease-in-out infinite alternate;
}
@keyframes teamOrb1 { to { transform: translate(10%, 6%) scale(1.18); } }
@keyframes teamOrb2 { to { transform: translate(-8%, -10%) scale(1.20); } }
/* hairline gold seam on top + bottom edges */
#team::before, #team::after { z-index: 0; }
#team .section-head, #team .team-grid { position: relative; z-index: 1; }

/* Section head — light treatment, gold title gradient */
#team .eyebrow {
  color: #e0c885;
}
#team .eyebrow::before { background: #b08d3c; }
#team .title {
  background: linear-gradient(180deg, #fff6d8 0%, #d9bd7c 60%, #b08d3c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* fallback so older browsers still show light gold */
  color: #f0e2bd;
}

/* Member cards on dark — translucent ink panels with gold rim */
#team .member {
  background: linear-gradient(160deg, rgba(38,30,16,0.78), rgba(20,16,10,0.92));
  border: 1px solid rgba(176,141,60,0.28);
  backdrop-filter: blur(10px);
  color: #e8e1cf;
}
#team .member h3 {
  color: #f4ebd2;
}
#team .member__role {
  color: #e0c885;
}
#team .member p {
  color: #b8ad94;
}

/* Portrait base on dark: warm-tinted dark with gold ring */
#team .member__portrait {
  background: linear-gradient(145deg, #2c2412, #15110a);
  border-color: rgba(255,217,122,0.5);
  box-shadow:
    inset 0 2px 8px rgba(255,236,180,0.10),
    0 2px 14px rgba(0,0,0,0.4);
}
#team .member__portrait span {
  /* keep gold gradient; brighter on dark */
  background: linear-gradient(180deg, #fff4cc, #eccc7a, #b08d3c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hover: card brightens, portrait fully gold */
#team .member:hover {
  background: linear-gradient(160deg, rgba(58,46,22,0.92), rgba(34,26,14,0.96));
  border-color: rgba(255,217,122,0.55);
  box-shadow:
    0 42px 84px -22px rgba(255,217,122,0.42),
    0 22px 44px -18px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,236,180,0.35) inset;
}
#team .member:hover .member__portrait {
  background: linear-gradient(145deg, #fff4cc, #eccc7a 35%, #bc8d3a 80%);
  border-color: rgba(255,236,180,0.95);
}
#team .member:hover .member__portrait span {
  -webkit-text-fill-color: #2a2008 !important;
  background: none !important;
}

/* Top stripe — brighter on dark */
#team .member::before {
  background: linear-gradient(90deg, transparent, #ffd97a 30%, #fff6d8 50%, #ffd97a 70%, transparent) !important;
  filter: drop-shadow(0 0 8px rgba(255,217,122,.95));
}
/* Radial warm halo above the card on hover */
#team .member::after {
  background: radial-gradient(80% 60% at 50% 0%, rgba(255,217,122,0.18), transparent 75%) !important;
}

/* Portrait halo conic — more vivid on dark */
#team .member__portrait::before {
  opacity: .55 !important;
  filter: blur(10px) saturate(1.3) !important;
}
#team .member:hover .member__portrait::before {
  opacity: 1 !important;
}

/* Hero background video — LIGHT cream + gold-dust loop matching the rest of the site.
   Sits above the cream paper, below the wordmark. Cream fallback gradient if video fails. */
.hero__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  background: radial-gradient(80% 70% at 50% 50%, var(--paper) 0%, var(--paper-2) 60%, var(--paper-3) 100%);
}
/* Very light scrim — just a touch of warmth in the centre so the wordmark contrast pops slightly */
.hero__video-scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(247,243,234,0.30) 0%, rgba(247,243,234,0.10) 50%, transparent 80%);
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } .hero__video-scrim { display: none; } }
/* On mobile we still skip the video for bandwidth — the CSS shader/atmosphere is rich enough */
@media (max-width: 900px), (pointer: coarse) { .hero__video, .hero__video-scrim { display: none; } }

/* Division hero — image-led */
.dhero__photo { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: #0f0c07; box-shadow: var(--sh-lg); }
.dhero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dhero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,7,5,.34), transparent 60%); pointer-events: none; }
.dhero__photo .dhero__sweep { z-index: 3; }

/* Stat strip (under dhero copy) */
.stat-strip { display: flex; gap: 2.6rem; flex-wrap: wrap; margin-top: 2.4rem; }
.stat-strip .ss { display: flex; flex-direction: column; gap: .35rem; }
.stat-strip .ss__v { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; letter-spacing: .005em; }
.stat-strip .ss__l { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

/* Ghost letter (oversized faint typographic moment) */
.ghost-letter { position: absolute; font-family: var(--serif); font-weight: 700; font-size: clamp(8rem, 28vw, 22rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(176,141,60,.18); user-select: none; pointer-events: none; letter-spacing: -.05em; top: 50%; transform: translateY(-50%); inset-inline-start: -1.5rem; z-index: 0; }

/* Division ops grid — rich operations list (numbered, larger than offer grid) */
.ops-band { position: relative; }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.ops-grid > * { padding: 2.6rem 2.2rem; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .55s var(--ease); }
.ops-grid > *:nth-child(2n) { border-inline-end: none; }
.ops-grid > *:hover { background: rgba(176,141,60,.04); }
.ops-grid .op__n { font-family: var(--accent); font-size: .98rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-deep); }
.ops-grid .op__t { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin: .8rem 0 .9rem; letter-spacing: -.005em; }
.ops-grid .op__d { font-size: .98rem; color: var(--ink-soft); line-height: 1.75; max-width: 56ch; }

/* Materials grid (minerals page) */
.mat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.mat { position: relative; background: var(--ink); color: var(--paper); aspect-ratio: 4/5; border-radius: 12px; padding: 2rem 1.6rem; overflow: hidden; isolation: isolate; }
.mat::before { content:""; position: absolute; inset: 0; z-index: -1; }
.mat--bauxite::before  { background: radial-gradient(70% 60% at 50% 30%, #4a3818, #0c0905 75%); }
.mat--iron::before     { background: radial-gradient(70% 60% at 50% 30%, #45221a, #0d0807 75%); }
.mat--copper::before   { background: radial-gradient(70% 60% at 50% 30%, #5a2c14, #0e0907 75%); }
.mat--lithium::before  { background: radial-gradient(70% 60% at 50% 30%, #2c3a45, #0a0b0e 75%); }
.mat__sym { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: rgba(224,200,133,.55); letter-spacing: -.02em; line-height: 1; }
.mat__n { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--paper); margin: 1.4rem 0 .6rem; }
.mat__d { font-size: .9rem; color: rgba(247,243,234,.7); line-height: 1.65; }

/* Verticals grid (trading) — 5 cards with tag chips */
.vgrid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; }
.vert { background: rgba(255,255,255,.55); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 12px; padding: 2rem 1.4rem 1.6rem; transition: transform .55s var(--ease-lux), box-shadow .55s, border-color .55s; display: flex; flex-direction: column; }
.vert:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--line-gold); }
.vert__icon { width: 32px; height: 32px; fill: none; stroke: var(--gold-deep); stroke-width: 1.4; margin-bottom: 1.2rem; }
.vert__n { font-family: var(--accent); font-size: .92rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-deep); }
.vert__t { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; color: var(--ink); margin: .35rem 0 .6rem; line-height: 1.2; letter-spacing: -.005em; }
.vert__d { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; flex: 1; margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line-gold); padding: .35rem .65rem; border-radius: 100px; background: rgba(255,255,255,.4); }

/* Consultancy grid — 4 cards with positioning + flow */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cv { position: relative; background: rgba(255,255,255,.55); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 14px; padding: 2.4rem 2.2rem; overflow: hidden; transition: transform .55s var(--ease-lux), box-shadow .55s, border-color .55s; }
.cv:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--line-gold); }
.cv__icon { width: 38px; height: 38px; fill: none; stroke: var(--gold-deep); stroke-width: 1.3; margin-bottom: 1.2rem; }
.cv__n { position: absolute; top: 1.5rem; inset-inline-end: 1.7rem; font-family: var(--accent); font-size: 1.5rem; font-weight: 600; color: var(--gold-pale); letter-spacing: -.01em; }
.cv__cat { font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.cv__t { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin: .55rem 0 .85rem; letter-spacing: -.005em; }
.cv__d { font-size: .94rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.3rem; }
.cv__flow { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cv__flow .label { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: .5rem; }
.cv__flow .text { font-family: var(--accent); font-style: italic; font-size: 1rem; color: var(--ink-2); line-height: 1.5; }

/* Positioning callout (above consultancy grid) */
.position { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; padding: 4rem 2.4rem; max-width: var(--maxw); margin: 0 auto 3.5rem; border-block: 1px solid var(--line-gold); align-items: center; }
.position__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--ink); line-height: 1.18; letter-spacing: -.01em; }
.position__title .gold-text { background: var(--gold-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.position__body { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.8; max-width: 60ch; }

/* Section headers used inside division pages (small variant) */
.ds-head { max-width: 760px; margin-bottom: 2.6rem; }
.ds-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--ink); letter-spacing: -.015em; text-wrap: balance; }
.ds-head p  { font-size: 1rem; color: var(--ink-soft); line-height: 1.7; margin-top: 1rem; max-width: 65ch; }

/* Updated nav — bigger gap, brand centre-stacked for division pages with the "Group" subtitle */
.nav__brand--stacked { gap: .6rem; }

@media (max-width: 1024px) {
  .ops-grid { grid-template-columns: 1fr; }
  .ops-grid > *:nth-child(odd)  { border-inline-end: none; }
  .mat-grid { grid-template-columns: repeat(2,1fr); }
  .vgrid    { grid-template-columns: repeat(2,1fr); }
  .cgrid    { grid-template-columns: 1fr; }
  .position { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.5rem 1.6rem; }
}
@media (max-width: 560px) {
  .mat-grid, .vgrid { grid-template-columns: 1fr; }
  .stat-strip { gap: 1.6rem; }
  .stat-strip .ss__v { font-size: 1.3rem; }
}

/* ============================================================
   SECTION ATMOSPHERES — distinct light backgrounds + animated gold
   accents per homepage section. All cream/champagne, no black.
   ============================================================ */

/* Services (portals) — Higgsfield gold-dust image with slow Ken Burns + orb drift */
#services { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.portals__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; opacity: .85; pointer-events: none; will-change: transform;
  animation: portalsKenBurns 38s var(--ease) infinite alternate;
}
@keyframes portalsKenBurns {
  0%   { transform: scale(1)    translate(0%,    0%); }
  100% { transform: scale(1.08) translate(-2%,  -1.5%); }
}
.portals__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 55%, rgba(247,243,234,0.50) 0%, rgba(247,243,234,0.30) 50%, transparent 90%),
    linear-gradient(180deg, rgba(247,243,234,0.55) 0%, transparent 18%, transparent 82%, rgba(241,234,220,0.65) 100%);
}
#services::before {
  content: ""; position: absolute; z-index: -1; width: 50vw; height: 50vw; max-width: 600px;
  top: -15%; right: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,184,115,.22), transparent 65%);
  filter: blur(70px); animation: secOrb 26s var(--ease) infinite alternate;
}
#services::after {
  content: ""; position: absolute; z-index: -1; width: 40vw; height: 40vw; max-width: 460px;
  bottom: -15%; left: -8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,141,60,.18), transparent 65%);
  filter: blur(70px); animation: secOrb 32s var(--ease) infinite alternate-reverse;
}
@keyframes secOrb { to { transform: translate(8%, 6%) scale(1.18); } }
@media (prefers-reduced-motion: reduce) {
  .portals__bg { animation: none; }
}

/* About — warm sand gradient + slowly rotating gold light fan from corner */
#about { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 50%, var(--paper-3) 100%);
}
#about::before {
  content: ""; position: absolute; z-index: -1; width: 130vw; height: 130vw; max-width: 1400px;
  top: -55%; left: -30%; border-radius: 50%;
  background: conic-gradient(from 220deg at 50% 50%,
    transparent 0deg, rgba(232,200,133,.10) 30deg, rgba(212,184,115,.22) 60deg,
    rgba(232,200,133,.10) 90deg, transparent 130deg, transparent 360deg);
  animation: spinSlow 90s linear infinite;
  -webkit-mask: radial-gradient(circle, #000, transparent 65%);
  mask: radial-gradient(circle, #000, transparent 65%);
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Team — gentle paper alternation + faint floating gold dots */
#team { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
}
#team::before, #team::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(212,184,115,.7), rgba(212,184,115,0) 70%);
  filter: blur(2px);
}
#team::before { width: 14px; height: 14px; top: 18%; left: 8%; animation: dotFloat 14s var(--ease) infinite alternate; }
#team::after  { width: 10px; height: 10px; bottom: 22%; right: 12%; animation: dotFloat 18s var(--ease) infinite alternate-reverse; }
@keyframes dotFloat { to { transform: translate(20px, -30px); opacity: .4; } }

/* FAQ — soft paper with side gold accent gradient strip */
#faq { position: relative; overflow: hidden; isolation: isolate;
  background: var(--paper);
}
#faq::before {
  content: ""; position: absolute; z-index: -1; top: 10%; bottom: 10%;
  inset-inline-start: 0; width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: .5;
}

/* Contact — warm cream with central glowing radial */
#contact { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
}
#contact::before {
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 800px;
  top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(232,200,133,.28), transparent 60%);
  filter: blur(60px); animation: secOrb 30s var(--ease) infinite alternate;
}

/* Higgsfield gold-light section accent (between portals + stats), set via .section--gold-band */
.section--gold-band { position: relative; isolation: isolate; min-height: 20vh; overflow: hidden;
  background: linear-gradient(180deg, var(--paper-2), var(--paper-3) 50%, var(--paper-2));
}
.section--gold-band__bg {
  position: absolute; inset: 0; z-index: -1; object-fit: cover; width: 100%; height: 100%;
  opacity: .85; mix-blend-mode: multiply;
}
.section--gold-band__inner {
  position: relative; max-width: 780px; margin: 0 auto; padding: 3rem 2.4rem; text-align: center;
}
.section--gold-band__mark { font-family: var(--accent); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--ink); line-height: 1.35; letter-spacing: -.005em; }
.section--gold-band__mark .gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section--gold-band__attr { margin-top: 1.6rem; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }

/* ============================================================
   DIVISION PAGES — section atmospheres (so gold animation flows
   through every page, not just the homepage).
   ============================================================ */

/* The division hero gets a soft animated gold orb at top-right */
.dhero { position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.dhero::before {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 720px;
  top: -22%; inset-inline-end: -10%; border-radius: 50%;
  background: radial-gradient(circle, var(--amb-1), transparent 65%);
  filter: blur(60px); animation: secOrb 28s var(--ease) infinite alternate;
  pointer-events: none;
}
.dhero::after {
  content: ""; position: absolute; z-index: -1; width: 40vw; height: 40vw; max-width: 480px;
  bottom: -18%; inset-inline-start: -8%; border-radius: 50%;
  background: radial-gradient(circle, var(--amb-2), transparent 65%);
  filter: blur(70px); animation: secOrb 34s var(--ease) infinite alternate-reverse;
  pointer-events: none;
}

/* Ops band — paper-2 with a slow rotating gold light-fan from corner */
.ops-band { position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}
.ops-band::before {
  content: ""; position: absolute; z-index: -1; width: 140vw; height: 140vw; max-width: 1400px;
  top: -50%; inset-inline-start: -30%; border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%,
    transparent 0deg, rgba(232,200,133,.10) 30deg, rgba(212,184,115,.18) 60deg,
    rgba(232,200,133,.10) 90deg, transparent 130deg, transparent 360deg);
  animation: spinSlow 95s linear infinite; pointer-events: none;
  -webkit-mask: radial-gradient(circle, #000, transparent 65%);
  mask: radial-gradient(circle, #000, transparent 65%);
}

/* Generic .section on division pages — subtle drift orb */
main .section:not(.ops-band):not(.stats-band):not(.philosophy):not(.portals):not(#services):not(#about):not(#team):not(#faq):not(#contact) {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--paper);
}
main .section:not(.ops-band):not(.stats-band):not(.philosophy):not(.portals):not(#services):not(#about):not(#team):not(#faq):not(#contact)::before {
  content: ""; position: absolute; z-index: -1; width: 50vw; height: 50vw; max-width: 580px;
  top: 35%; inset-inline-end: -8%; border-radius: 50%;
  background: radial-gradient(circle, var(--amb-1), transparent 65%);
  filter: blur(60px); animation: secOrb 30s var(--ease) infinite alternate;
  pointer-events: none;
}

/* ============ DHERO TABS (quick-view operations in the hero) ============ */
.dhero__tabs { margin-top: 2.2rem; max-width: 560px; }
.dhero__tabnav {
  display: flex; align-items: stretch; overflow-x: auto;
  border-bottom: 1px solid var(--line); margin-bottom: 1.4rem;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.dhero__tabnav::-webkit-scrollbar { height: 3px; }
.dhero__tabnav::-webkit-scrollbar-thumb { background: var(--line); }
.dhero__tab {
  position: relative; background: none; border: none; cursor: pointer;
  padding: .85rem 1.2rem; font-family: var(--sans);
  font-size: .73rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint);
  white-space: nowrap; transition: color .35s var(--ease);
  border-inline-end: 1px solid var(--line);
}
.dhero__tab:last-child { border-inline-end: none; }
.dhero__tab:hover { color: var(--ink); }
.dhero__tab.is-active { color: var(--ink); }
.dhero__tab.is-active::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -1px; height: 2px;
  background: var(--gold-grad); animation: tabUnderline .4s var(--ease-lux) both;
}
@keyframes tabUnderline { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); } }
.dhero__panels { position: relative; min-height: 130px; }
.dhero__panel {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.dhero__panel.is-active { opacity: 1; pointer-events: auto; transform: none; }
.dhero__panel p { font-size: .98rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; max-width: 56ch; }
.dhero__learn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); position: relative; padding-bottom: 3px;
}
.dhero__learn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .35s var(--ease); }
.dhero__learn::after { content:""; position: absolute; left:0; right:0; bottom:0; height: 1px; background: var(--gold-grad); transform: scaleX(.4); transform-origin: left; transition: transform .4s var(--ease); }
.dhero__learn:hover::after { transform: scaleX(1); }
.dhero__learn:hover svg { transform: translateX(5px); }
[dir="rtl"] .dhero__learn svg { transform: scaleX(-1); }
[dir="rtl"] .dhero__learn:hover svg { transform: scaleX(-1) translateX(5px); }

@media (max-width: 720px) {
  .dhero__tabs { max-width: 100%; }
  .dhero__tab { padding: .7rem .9rem; font-size: .66rem; }
  .dhero__panels { min-height: 160px; }
}

/* ===========================================================
   OPS-STACK — stacked frosted-glass operation rows
   (gold.html hero: Sourcing, JV, Export, Mine Acquisition)
   =========================================================== */
.ops-stack {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 2rem;
  max-width: 520px;
}

/* Each row is a frosted-glass card link */
.ops-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.3rem;
  border-radius: 12px;
  border: 1px solid rgba(176,141,60,0.22);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .55s var(--ease-lux),
    box-shadow .55s var(--ease-lux),
    border-color .55s var(--ease-lux),
    background .55s var(--ease-lux);
  /* staggered entrance */
  animation: opsRowIn .7s var(--ease-lux) backwards;
}
.ops-row--1 { animation-delay: .05s; }
.ops-row--2 { animation-delay: .15s; }
.ops-row--3 { animation-delay: .25s; }
.ops-row--4 { animation-delay: .35s; }

@keyframes opsRowIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Colored accent strip that fills from left on hover */
.ops-row::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ops-row-color, var(--gold-grad));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-lux), opacity .6s var(--ease-lux);
  z-index: -1;
}
/* Animated sheen sweep always running */
.ops-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 25%,
    rgba(255,250,220,0.55) 48%,
    rgba(255,236,180,0.35) 52%,
    transparent 75%);
  background-size: 220% 100%;
  background-position: 200% 0;
  border-radius: inherit;
  animation: opsRowSheen 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.ops-row--1::after { animation-delay: 0s; }
.ops-row--2::after { animation-delay: 1s; }
.ops-row--3::after { animation-delay: 2s; }
.ops-row--4::after { animation-delay: 3s; }

@keyframes opsRowSheen {
  0%, 100% { background-position: 200% 0; opacity: .6; }
  50%       { background-position: -100% 0; opacity: 1; }
}

/* Per-row accent colors */
.ops-row--1 { --ops-row-color: linear-gradient(135deg, rgba(255,217,122,0.45), rgba(176,141,60,0.35)); }
.ops-row--2 { --ops-row-color: linear-gradient(135deg, rgba(232,155,90,0.45), rgba(176,141,60,0.35)); }
.ops-row--3 { --ops-row-color: linear-gradient(135deg, rgba(176,141,60,0.45), rgba(134,103,34,0.35)); }
.ops-row--4 { --ops-row-color: linear-gradient(135deg, rgba(200,168,80,0.45), rgba(232,200,133,0.35)); }

/* Hover state */
.ops-row:hover {
  transform: translateX(8px) scale(1.015);
  border-color: rgba(255,217,122,0.65);
  background: rgba(255,255,255,0.96);
  box-shadow:
    0 0 0 1px rgba(255,217,122,0.4),
    0 18px 44px -16px rgba(176,141,60,0.55),
    0 4px 16px -8px rgba(22,19,14,0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.ops-row:hover::before { transform: scaleX(1); opacity: 1; }

/* Number badge */
.ops-row__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(176,141,60,0.45);
  background: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: .72rem;
  font-weight: 600;
  background-clip: text;
  -webkit-background-clip: unset;
  color: var(--gold-deep);
  letter-spacing: .06em;
  transition: background .5s var(--ease-lux), border-color .5s var(--ease-lux), transform .5s var(--ease-lux);
  position: relative;
  z-index: 1;
}
.ops-row:hover .ops-row__num {
  background: var(--gold-grad);
  -webkit-text-fill-color: #2a2008;
  border-color: rgba(255,217,122,0.8);
  transform: scale(1.12);
}

/* Label text */
.ops-row__label {
  flex: 1;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .45s var(--ease-lux), letter-spacing .45s var(--ease-lux);
  position: relative;
  z-index: 1;
}
.ops-row:hover .ops-row__label {
  color: var(--ink);
  letter-spacing: .16em;
}

/* Arrow icon */
.ops-row__arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(176,141,60,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .5s var(--ease-lux), border-color .5s var(--ease-lux), transform .5s var(--ease-lux), box-shadow .5s var(--ease-lux);
  position: relative;
  z-index: 1;
}
.ops-row__arrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.8;
  transition: transform .45s var(--ease-lux), stroke .45s var(--ease-lux);
}
.ops-row:hover .ops-row__arrow {
  background: var(--gold-grad);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 6px 18px -6px rgba(176,141,60,0.7);
}
.ops-row:hover .ops-row__arrow svg {
  stroke: #2a2008;
  transform: translateX(3px);
}

/* ── MINERALS — terracotta · rust · clay · slate ── */
.ops-row--m1 { --ops-row-accent: rgba(190,100,65,0.55);  border-color: rgba(190,100,65,0.28); }
.ops-row--m2 { --ops-row-accent: rgba(160,80,60,0.55);   border-color: rgba(160,80,60,0.28); }
.ops-row--m3 { --ops-row-accent: rgba(140,110,80,0.55);  border-color: rgba(140,110,80,0.28); }
.ops-row--m4 { --ops-row-accent: rgba(90,100,110,0.55);  border-color: rgba(90,100,110,0.28); }
.ops-row--m1::before { background: linear-gradient(135deg, rgba(190,100,65,0.42), rgba(220,150,100,0.28)); }
.ops-row--m2::before { background: linear-gradient(135deg, rgba(160,80,60,0.42),  rgba(200,120,90,0.28)); }
.ops-row--m3::before { background: linear-gradient(135deg, rgba(140,110,80,0.42), rgba(180,150,110,0.28)); }
.ops-row--m4::before { background: linear-gradient(135deg, rgba(90,100,110,0.42), rgba(130,145,160,0.28)); }
.ops-row--m1 .ops-row__num,
.ops-row--m2 .ops-row__num,
.ops-row--m3 .ops-row__num,
.ops-row--m4 .ops-row__num { color: #7a4030; border-color: rgba(190,100,65,0.5); }
.ops-stack--minerals .ops-row:hover .ops-row__num { background: linear-gradient(135deg,#e0896a,#b85a3c); -webkit-text-fill-color: #fff; border-color: transparent; }
.ops-stack--minerals .ops-row:hover .ops-row__arrow { background: linear-gradient(135deg,#e0896a,#b85a3c); }
.ops-stack--minerals .ops-row:hover .ops-row__arrow svg { stroke: #fff; }

/* ── TRADING — teal · forest · navy · sage · amber ── */
.ops-row--t1 { --ops-row-accent: rgba(32,140,130,0.55);  border-color: rgba(32,140,130,0.28); }
.ops-row--t2 { --ops-row-accent: rgba(48,110,78,0.55);   border-color: rgba(48,110,78,0.28); }
.ops-row--t3 { --ops-row-accent: rgba(38,80,130,0.55);   border-color: rgba(38,80,130,0.28); }
.ops-row--t4 { --ops-row-accent: rgba(92,128,78,0.55);   border-color: rgba(92,128,78,0.28); }
.ops-row--t5 { --ops-row-accent: rgba(176,141,60,0.55);  border-color: rgba(176,141,60,0.28); }
.ops-row--t1::before { background: linear-gradient(135deg, rgba(32,140,130,0.42), rgba(80,180,170,0.28)); }
.ops-row--t2::before { background: linear-gradient(135deg, rgba(48,110,78,0.42),  rgba(80,160,110,0.28)); }
.ops-row--t3::before { background: linear-gradient(135deg, rgba(38,80,130,0.42),  rgba(80,130,190,0.28)); }
.ops-row--t4::before { background: linear-gradient(135deg, rgba(92,128,78,0.42),  rgba(140,180,110,0.28)); }
.ops-row--t5::before { background: linear-gradient(135deg, rgba(176,141,60,0.42), rgba(220,185,100,0.28)); }
.ops-row--t1 .ops-row__num { color: #1a7a74; border-color: rgba(32,140,130,0.5); }
.ops-row--t2 .ops-row__num { color: #2d6848; border-color: rgba(48,110,78,0.5); }
.ops-row--t3 .ops-row__num { color: #254f82; border-color: rgba(38,80,130,0.5); }
.ops-row--t4 .ops-row__num { color: #506e40; border-color: rgba(92,128,78,0.5); }
.ops-row--t5 .ops-row__num { color: #876722; border-color: rgba(176,141,60,0.5); }
.ops-row--t1:hover .ops-row__num { background: linear-gradient(135deg,#20908a,#146058); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--t2:hover .ops-row__num { background: linear-gradient(135deg,#306e4e,#1e4e34); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--t3:hover .ops-row__num { background: linear-gradient(135deg,#2650a0,#1a3870); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--t4:hover .ops-row__num { background: linear-gradient(135deg,#5c804e,#3e5c30); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--t5:hover .ops-row__num { background: var(--gold-grad); -webkit-text-fill-color:#2a2008; border-color:transparent; }
.ops-row--t1:hover .ops-row__arrow { background: linear-gradient(135deg,#20908a,#146058); }
.ops-row--t2:hover .ops-row__arrow { background: linear-gradient(135deg,#306e4e,#1e4e34); }
.ops-row--t3:hover .ops-row__arrow { background: linear-gradient(135deg,#2650a0,#1a3870); }
.ops-row--t4:hover .ops-row__arrow { background: linear-gradient(135deg,#5c804e,#3e5c30); }
.ops-row--t5:hover .ops-row__arrow { background: var(--gold-grad); }
.ops-stack--trading .ops-row:hover .ops-row__arrow svg { stroke: #fff; }
.ops-row--t5:hover .ops-row__arrow svg { stroke: #2a2008; }

/* ── CONSULTANCY — indigo · teal · burgundy · emerald ── */
.ops-row--c1 { --ops-row-accent: rgba(78,58,160,0.55);  border-color: rgba(78,58,160,0.28); }
.ops-row--c2 { --ops-row-accent: rgba(20,130,120,0.55); border-color: rgba(20,130,120,0.28); }
.ops-row--c3 { --ops-row-accent: rgba(140,30,60,0.55);  border-color: rgba(140,30,60,0.28); }
.ops-row--c4 { --ops-row-accent: rgba(22,120,80,0.55);  border-color: rgba(22,120,80,0.28); }
.ops-row--c1::before { background: linear-gradient(135deg, rgba(78,58,160,0.42),  rgba(130,110,220,0.28)); }
.ops-row--c2::before { background: linear-gradient(135deg, rgba(20,130,120,0.42), rgba(60,180,170,0.28)); }
.ops-row--c3::before { background: linear-gradient(135deg, rgba(140,30,60,0.42),  rgba(200,70,100,0.28)); }
.ops-row--c4::before { background: linear-gradient(135deg, rgba(22,120,80,0.42),  rgba(50,180,120,0.28)); }
.ops-row--c1 .ops-row__num { color: #4a3ab0; border-color: rgba(78,58,160,0.5); }
.ops-row--c2 .ops-row__num { color: #147870; border-color: rgba(20,130,120,0.5); }
.ops-row--c3 .ops-row__num { color: #8c1e3c; border-color: rgba(140,30,60,0.5); }
.ops-row--c4 .ops-row__num { color: #167850; border-color: rgba(22,120,80,0.5); }
.ops-row--c1:hover .ops-row__num { background: linear-gradient(135deg,#6e50d8,#4a3ab0); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--c2:hover .ops-row__num { background: linear-gradient(135deg,#14887e,#0d5e56); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--c3:hover .ops-row__num { background: linear-gradient(135deg,#b02040,#7a1028); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--c4:hover .ops-row__num { background: linear-gradient(135deg,#16a060,#0e6e40); -webkit-text-fill-color:#fff; border-color:transparent; }
.ops-row--c1:hover .ops-row__arrow { background: linear-gradient(135deg,#6e50d8,#4a3ab0); }
.ops-row--c2:hover .ops-row__arrow { background: linear-gradient(135deg,#14887e,#0d5e56); }
.ops-row--c3:hover .ops-row__arrow { background: linear-gradient(135deg,#b02040,#7a1028); }
.ops-row--c4:hover .ops-row__arrow { background: linear-gradient(135deg,#16a060,#0e6e40); }
.ops-stack--consult .ops-row:hover .ops-row__arrow svg { stroke: #fff; }

/* RTL: flip arrow and reverse slide direction */
[dir="rtl"] .ops-row { animation-name: opsRowInRTL; }
[dir="rtl"] .ops-row:hover { transform: translateX(-8px) scale(1.015); }
[dir="rtl"] .ops-row__arrow svg { transform: scaleX(-1); }
[dir="rtl"] .ops-row:hover .ops-row__arrow svg { transform: scaleX(-1) translateX(3px); }
@keyframes opsRowInRTL {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ops-row, .ops-row::before, .ops-row::after { animation: none !important; transition: none !important; }
}

/* ============ PORTAL CLICK — elite ripple flash ============ */
.portal { position: relative; }
.portal::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(circle at center, rgba(232,200,133,.55), transparent 60%);
  opacity: 0; transform: scale(.6);
  transition: opacity .35s var(--ease-lux), transform .55s var(--ease-lux);
}
.portal:active::after { opacity: 1; transform: scale(1); transition-duration: .12s, .12s; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-mask > * { transform: none; }
  .hero__wordmark .ch, .loader__mark .ch { opacity: 1; transform: none; }
  .cursor { display: none; }
}


/* ===========================================================
   v3 — MAJOR animation upgrade + bigger, richer footer logo
   =========================================================== */

/* === A. FOOTER LOGO — clean, no glow, no aurora === */
/* Footer brand name styling boost */
.footer__name {
  background: linear-gradient(180deg, var(--ink) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: letter-spacing .8s var(--ease-lux);
}
.footer__brand:hover .footer__name {
  letter-spacing: .42em;
}
.footer__tag {
  position: relative;
  overflow: hidden;
}
.footer__tag::after {
  content: '';
  position: absolute;
  inset-block-end: -2px;
  inset-inline-start: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .8s var(--ease-lux);
}
.footer__brand:hover .footer__tag::after { width: 100%; }

/* === B. SCROLL-TRIGGERED reveal upgrades === */
/* All reveal items get a more cinematic entrance */
.reveal { transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux); }

/* Stagger pattern strengthened */
[data-stagger="0"].reveal { transition-delay: 0s; }
[data-stagger="1"].reveal { transition-delay: .08s; }
[data-stagger="2"].reveal { transition-delay: .16s; }
[data-stagger="3"].reveal { transition-delay: .24s; }
[data-stagger="4"].reveal { transition-delay: .32s; }

/* === C. SECTION TITLES — animated underline + shimmer === */
.title {
  position: relative;
  display: inline-block;
}
.section-head .title::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -.5rem;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-lux) .35s;
}
.section-head .title.in-view::after,
.in-view .title::after { transform: scaleX(1); }
.section-head.center .title::after { inset-inline: 0; margin-inline: auto; }

/* === D. EYEBROW shimmer — continuous gold flow === */
.eyebrow {
  background: linear-gradient(90deg, var(--gold-deep) 30%, var(--gold-bright) 50%, var(--gold-deep) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eyebrowFlow 6s linear infinite;
}
@keyframes eyebrowFlow {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

/* === E. LINKS — animated gold underline === */
.nav__links a {
  position: relative;
  overflow: visible;
}
.nav__links a:hover { color: var(--gold-deep) !important; }

/* === F. BUTTONS — animated gold border + ripple on hover === */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              rgba(255,236,180,0.6) 0%,
              transparent 50%);
  opacity: 0;
  transition: opacity .5s var(--ease-lux);
  pointer-events: none;
  z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn--gold:hover {
  transform: translateY(-3px);
  letter-spacing: .14em;
}
.btn { transition: transform .5s var(--ease-lux), letter-spacing .5s var(--ease-lux), box-shadow .5s var(--ease-lux); }

/* === G. STAT NUMBERS — animated count-up effect via continuous shimmer === */
.stat__num {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldshift 6s ease infinite;
  display: inline-block;
}
.stat:hover .stat__num { animation-duration: 2s; }
.stat { transition: transform .55s var(--ease-lux); }
.stat:hover { transform: translateY(-4px); }

/* === H. FAQ items — smoother open/close + gold glow on hover === */
.faq__item {
  transition: border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease-lux);
}
.faq__item:hover {
  border-color: var(--gold) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(240,226,189,.18)) !important;
  box-shadow: 0 18px 38px -18px rgba(176,141,60,.35);
}
.faq__item summary {
  position: relative;
  transition: color .4s var(--ease), padding-inline-start .5s var(--ease-lux);
}
.faq__item:hover summary { padding-inline-start: .5rem; color: var(--gold-deep); }
.faq__icon { transition: transform .55s var(--ease-lux), background .4s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }

/* === I. PORTAL CARDS — magnetic tilt on hover + gold sweep === */
.portal {
  transition: transform .6s var(--ease-lux), box-shadow .6s var(--ease-lux), border-color .6s var(--ease-lux);
  will-change: transform;
}
.portal:hover {
  transform: translateY(-12px) scale(1.015) rotateX(2deg);
  box-shadow:
    0 38px 80px -22px rgba(176,141,60,0.55),
    0 18px 38px -18px rgba(22,19,14,0.18);
  border-color: rgba(176,141,60,0.55);
}

/* === J. CONTACT card border conic-gradient sweep on focus === */
.contact__form::after { display: none; }

/* === K. SECTION DIVIDERS — animated gold hairlines === */
.section + .section,
.cta-band + .footer { position: relative; }
section + section::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 1.4s var(--ease-lux), inset-inline 1.4s var(--ease-lux);
  z-index: 5;
}

/* === L. HERO video parallax (subtle background shift on scroll) === */
.hero__video {
  transform: translateZ(0);
  will-change: transform;
}

/* === M. FOOTER colossal BARAKAH wordmark — animated metal shimmer === */
.footer__big {
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(176,141,60,0.18) 48%,
    rgba(232,155,90,0.22) 50%,
    rgba(176,141,60,0.18) 52%,
    transparent 70%) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: footerBigSheen 9s ease-in-out infinite;
}
@keyframes footerBigSheen {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -100% 0; }
}

/* === N. Member portrait <img> support (real photos) === */
.member__portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-lux), filter .7s var(--ease-lux);
}
.member:hover .member__portrait img {
  transform: scale(1.1);
  filter: brightness(1.06) saturate(1.12);
}
#team .member__portrait img {
  /* on dark bg — slight gold rim contrast */
  filter: brightness(.95) saturate(1.08);
}
#team .member:hover .member__portrait img {
  filter: brightness(1.08) saturate(1.2);
}

/* === O. Mineral/Vertical/Consultancy CARDS — entrance shimmer === */
.mat, .cv {
  transition: transform .6s var(--ease-lux), box-shadow .6s var(--ease-lux), border-color .6s var(--ease-lux);
  will-change: transform;
}
.mat:hover, .cv:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 28px 60px -22px rgba(176,141,60,0.45), 0 12px 28px -16px rgba(22,19,14,0.18);
  border-color: rgba(176,141,60,0.55);
}

/* === P. Cursor accent: gold hover halo on all interactive elements === */
a, button, .btn, .portal, .vert, .member, .cv, .mat, .faq__item {
  cursor: pointer;
}

/* === Q. Page entrance fade for everything (last touch) === */
body { animation: bodyFadeIn 1.2s var(--ease-lux) backwards; }
@keyframes bodyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Keep reduced motion sane */
@media (prefers-reduced-motion: reduce) {
  .stat__num, .eyebrow, .footer__big { animation: none !important; }
  .contact__form::after { display: none; }
  body { animation: none !important; }
}
