/* =========================================================================
   ASCEND AFRICA — Wealth Management
   "Rise. Preserve. Transcend."
   A bespoke design system. Navy. Champagne gold. Ivory. Stillness.
   ========================================================================= */

/* --------------------------------------------------------------- Webfont */
@font-face {
  font-family: "Mirage";
  src: url("/fonts/MirageRegular.woff2") format("woff2"),
       url("/fonts/MirageRegular.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- Tokens */
:root {
  --navy:        #0D1B2A;
  --navy-deep:   #091420;
  --navy-soft:   #11243a;
  --gold:        #C9A84C;
  --gold-light:  #E4CB84;
  --gold-deep:   #A8863A;
  --ivory:       #F5F0E8;
  --ivory-dim:   #cfc8bb;
  --charcoal:    #3A3A3A;
  --sage:        #6B7C6A;

  --ink-60:      rgba(245,240,232,.96);
  --ink-40:      rgba(245,240,232,.82);
  --ink-12:      rgba(245,240,232,.12);
  --ink-08:      rgba(245,240,232,.08);

  /* Type system, matched to the ASCEND print brochure:
     MADE Mirage sets display (titles, subtitles, numerals, pull-quotes).
     Barlow sets everything you actually read — body copy and micro-labels. */
  --serif:  "Mirage", Georgia, serif;
  --accent: "Mirage", Georgia, serif;   /* single display face — no second serif */
  --sans:   "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --ease:   cubic-bezier(.22, 1, .36, 1);
  --slow:   1.1s var(--ease);

  --maxw:   1240px;
  --gutter: clamp(1.4rem, 5vw, 5rem);

  --nav-h:  86px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--ivory);
  line-height: 1.75;
  font-weight: 400;
  font-size: 16.5px;
  letter-spacing: .001em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--navy); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border: 3px solid var(--navy-deep); border-radius: 10px; }

/* Faint film grain for depth */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------------------------------------------------------- Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede { font-family: var(--sans); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.68; color: var(--ink-60); font-weight: 400; }

.serif-italic { font-family: var(--accent); font-style: normal; color: var(--gold); }

/* The ASCEND line — the signature motif */
.aline {
  display: block;
  width: 64px; height: 1px;
  background: var(--gold);
  border: 0;
  transform-origin: left;
}
.aline--center { margin-inline: auto; transform-origin: center; }

/* draw-in animation when revealed (non-GSAP fallback) */
.reveal .aline { transform: scaleX(0); transition: transform 1.2s var(--ease) .15s; }
.reveal.in-view .aline { transform: scaleX(1); }

/* ---------------------------------------------------------- Layout utils */
.wrap   { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1480px; }
.section { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.bg-deep { background: var(--navy-deep); }
.bg-soft { background: var(--navy-soft); }

.center { text-align: center; }
.measure { max-width: 56ch; }
.measure-lg { max-width: 70ch; }

/* Scroll reveal base (IntersectionObserver fallback when GSAP is unavailable) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
/* When GSAP drives the page, it owns these transforms — kill the CSS transition. */
.gsap .reveal { transition: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
.reveal.d4 { transition-delay: .48s; }
.reveal.d5 { transition-delay: .60s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal .aline { transform: scaleX(1) !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--serif); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: color .5s var(--ease), background .5s var(--ease), letter-spacing .5s var(--ease);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); z-index: -1;
}
.btn:hover { color: var(--navy); letter-spacing: .26em; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn--solid { background: var(--gold); color: var(--navy); }
.btn--solid::before { background: var(--navy); }
.btn--solid:hover { color: var(--gold); }

.link-gold {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  font-weight: 500;
}
.link-gold .arr { transition: transform .45s var(--ease); }
.link-gold:hover .arr { transform: translateX(6px); }

/* ============================================================ NAVIGATION */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9,20,32,.97);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  height: 70px;
  border-bottom: 1px solid var(--ink-08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: flex; flex-direction: row; align-items: center; gap: .72rem; line-height: 1; text-decoration: none; }
.brand__logo { height: 54px; width: auto; transition: height .5s var(--ease); }
.nav.scrolled .brand__logo { height: 44px; }
.brand__mark { position: relative; display: block; width: 46px; height: 46px; overflow: hidden; flex: 0 0 auto; transition: width .5s var(--ease), height .5s var(--ease); }
.brand__mark img { position: absolute; width: 118px; max-width: none; height: auto; left: -34px; top: -4px; }
.nav.scrolled .brand__mark { width: 40px; height: 40px; }
.nav.scrolled .brand__mark img { width: 103px; left: -30px; top: -4px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--serif); font-size: 1.34rem; font-weight: 600; letter-spacing: .2em; color: var(--ivory); }
.brand__sub  { font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); margin-top: .34rem; font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__link {
  font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600;
  color: rgba(245,240,232,.9); position: relative; padding-block: .4rem;
  transition: color .4s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--ivory); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-deep); padding: .7rem 1.3rem; transition: border-color .4s, background .4s, color .4s; }
.nav__cta:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.nav__toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease), opacity .3s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.nav__drawer { position: fixed; inset: 0; background: var(--navy-deep); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.8rem; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); z-index: 999; }
.nav.open .nav__drawer { opacity: 1; pointer-events: auto; }
.nav__drawer a { font-family: var(--serif); font-size: 1.7rem; color: var(--ivory); }
.nav__drawer a:hover { color: var(--gold); }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(9,20,32,.55) 0%, rgba(9,20,32,.30) 35%, rgba(9,20,32,.82) 78%, var(--navy) 100%),
    linear-gradient(90deg, rgba(9,20,32,.88) 0%, rgba(9,20,32,.20) 55%);
}
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
@media (max-width: 560px) { .hero__video { display: none; } }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { margin-bottom: 2.2rem; opacity: 0; animation: fadeUp 1s var(--ease) .3s forwards; }
.hero h1 { font-size: clamp(2.9rem, 8.5vw, 7.2rem); line-height: 1.0; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(40px); }
.hero h1 .w1 { animation: fadeUp 1.1s var(--ease) .55s forwards; }
.hero h1 .w2 { animation: fadeUp 1.1s var(--ease) .85s forwards; color: var(--gold); }
.hero h1 .w3 { animation: fadeUp 1.1s var(--ease) 1.15s forwards; }
.hero__sub { max-width: 46ch; margin-top: 2.4rem; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--ink-60); font-weight: 300; opacity: 0; animation: fadeUp 1s var(--ease) 1.5s forwards; }
.hero__small { margin-top: 1.1rem; font-size: .82rem; letter-spacing: .04em; color: var(--ink-40); opacity: 0; animation: fadeUp 1s var(--ease) 1.7s forwards; }
.hero__cta { margin-top: 3rem; opacity: 0; animation: fadeUp 1s var(--ease) 1.9s forwards; }

@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* vertical floor tag */
.hero__floor {
  position: absolute; right: clamp(1.2rem, 3vw, 3rem); top: 50%; z-index: 2;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: .68rem; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-40);
  opacity: 0; animation: fadeUp 1s var(--ease) 2.1s forwards;
}
.hero__floor span { color: var(--gold); }

.scroll-cue { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .8rem; opacity: 0; animation: fadeUp 1s var(--ease) 2.2s forwards; }
.scroll-cue__line { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; top: -54px; left: 0; width: 1px; height: 54px; background: var(--ivory); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -54px; } 60%,100% { top: 54px; } }
.scroll-cue__txt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,240,232,.82); font-weight: 600; }

/* ============================================================ Section heads */
.shead { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.shead .eyebrow { display: inline-block; margin-bottom: 1.3rem; }
.shead h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.shead h2 .em { font-family: var(--accent); font-style: normal; color: var(--gold); }
.shead--center { text-align: center; }
.shead--center .aline { margin-inline: auto; }
.shead p { margin-top: 1.6rem; }

/* ============================================================ Origin / split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media--frame::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--ink-12); z-index: -1; }
.split__media .tag { position: absolute; bottom: -1px; left: -1px; background: var(--gold); color: var(--navy); padding: .9rem 1.4rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.prose p + p { margin-top: 1.3rem; }
.prose p { color: var(--ink-60); }
.prose strong { color: var(--ivory); font-weight: 500; }

/* ============================================================ Pull quote */
.quote { position: relative; text-align: center; overflow: hidden; }
.quote__bg { position: absolute; inset: 0; z-index: 0; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.quote__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(9,20,32,.5), var(--navy) 75%); }
.quote__inner { position: relative; z-index: 2; }
.quote blockquote { font-family: var(--accent); font-style: normal; font-size: clamp(1.5rem, 3.6vw, 2.9rem); line-height: 1.3; color: var(--ivory); max-width: 22ch; margin-inline: auto; }
.quote .mark { font-family: var(--serif); font-size: 5rem; color: var(--gold); line-height: 0; display: block; height: 2.2rem; }
.quote cite { display: block; margin-top: 2.4rem; font-family: var(--serif); font-style: normal; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* ============================================================ ASCEND acrostic */
.acro { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--ink-08); }
.acro__col { padding: 2.4rem 1.5rem; border-left: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); transition: background .6s var(--ease); position: relative; }
.acro__col:last-child { border-right: 1px solid var(--ink-08); }
.acro__col:hover { background: var(--navy-soft); }
.acro__letter { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); color: var(--gold); line-height: 1; margin-bottom: 1.3rem; transition: transform .6s var(--ease); }
.acro__col:hover .acro__letter { transform: translateY(-6px); }
.acro__word { font-family: var(--serif); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin-bottom: .9rem; font-weight: 500; }
.acro__meaning { font-size: .92rem; line-height: 1.6; color: var(--ink-60); }

/* ============================================================ Pillars */
.pillars { display: grid; gap: 1px; background: var(--ink-08); border: 1px solid var(--ink-08); }
.pillar {
  background: var(--navy); padding: clamp(2rem, 4vw, 3.4rem);
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start;
  transition: background .6s var(--ease); position: relative;
}
.pillar:hover { background: var(--navy-soft); }
.pillar__num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); letter-spacing: .1em; padding-top: .4rem; }
.pillar h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .7rem; }
.pillar__tag { font-family: var(--accent); font-style: normal; font-size: 1.15rem; color: var(--gold); margin-bottom: 1.1rem; }
.pillar p { color: var(--ink-60); font-size: .98rem; max-width: 52ch; }
.pillar__more { margin-top: 1.6rem; }

/* media pillar cards (with image) */
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.pcard { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; padding: clamp(1.8rem, 3vw, 2.8rem); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: 0; }
.pcard:hover img { transform: scale(1.07); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,20,32,.15) 0%, rgba(9,20,32,.55) 50%, rgba(9,20,32,.95) 100%); z-index: 1; }
.pcard__body { position: relative; z-index: 2; }
.pcard__num { font-family: var(--serif); color: var(--gold); font-size: 1rem; letter-spacing: .1em; }
.pcard h3 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); margin: .9rem 0 .5rem; }
.pcard__tag { font-family: var(--accent); font-style: normal; color: var(--gold); font-size: 1.1rem; margin-bottom: .9rem; }
.pcard p { color: var(--ink-60); font-size: .94rem; max-width: 42ch; }
.pcard .link-gold { margin-top: 1.4rem; }

/* ============================================================ Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-08); border-block: 1px solid var(--ink-08); }
.stat { background: var(--navy); padding: clamp(2.4rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--gold); line-height: 1; }
.stat__num .sfx { font-size: .5em; }
.stat__label { margin-top: 1.2rem; font-size: .82rem; letter-spacing: .04em; color: var(--ink-60); line-height: 1.5; }
.stat__label strong { color: var(--ivory); font-weight: 500; }

/* ============================================================ Values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.value { text-align: left; }
.value__mark { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); margin-bottom: 1.1rem; }
.value h3 { font-size: 1.25rem; margin-bottom: .9rem; }
.value .aline { margin-bottom: 1.1rem; }
.value p { font-size: .9rem; color: var(--ink-60); line-height: 1.6; }

/* ============================================================ CTA band */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--navy-deep), rgba(9,20,32,.6), var(--navy-deep)); }
.cta__inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 20ch; margin-inline: auto; }
.cta p { margin: 1.8rem auto 2.6rem; max-width: 52ch; color: var(--ink-60); }

/* ============================================================ Page hero (inner) */
.phero { position: relative; padding-top: calc(var(--nav-h) + clamp(5rem, 10vw, 9rem)); padding-bottom: clamp(4rem, 8vw, 7rem); min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transform: scale(1.05); animation: heroZoom 16s var(--ease) forwards; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,20,32,.40) 0%, rgba(9,20,32,.55) 55%, rgba(9,20,32,.92) 88%, var(--navy) 100%), linear-gradient(90deg, rgba(9,20,32,.85) 0%, rgba(9,20,32,.30) 60%, rgba(9,20,32,.1) 100%); }
.phero__inner { position: relative; z-index: 2; }
.phero .eyebrow { display: inline-block; margin-bottom: 1.4rem; }
.phero h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
.phero h1 .em { font-family: var(--accent); font-style: normal; color: var(--gold); }
.phero p { margin-top: 1.8rem; max-width: 58ch; }
.crumbs { position: relative; z-index: 2; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 2rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ============================================================ Service detail */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.svc--rev .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.svc__media .badge { position: absolute; top: 1.4rem; left: 1.4rem; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); background: rgba(9,20,32,.7); backdrop-filter: blur(6px); width: 78px; height: 78px; display: flex; align-items: center; justify-content: center; }
.svc h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: .6rem; }
.svc__tag { font-family: var(--accent); font-style: normal; font-size: 1.3rem; color: var(--gold); margin-bottom: 1.4rem; }
.feat { list-style: none; margin-top: 1.8rem; display: grid; gap: 1rem; }
.feat li { position: relative; padding-left: 1.8rem; color: var(--ink-60); font-size: .96rem; line-height: 1.6; }
.feat li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ============================================================ Programme table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--ink-08); }
table.prog { width: 100%; border-collapse: collapse; min-width: 720px; }
.prog th { text-align: left; font-family: var(--serif); font-weight: 500; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--ink-12); background: var(--navy-deep); }
.prog td { padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--ink-08); color: var(--ink-60); font-size: .9rem; vertical-align: top; }
.prog tr:hover td { background: var(--navy-soft); }
.prog td:first-child { color: var(--ivory); font-family: var(--serif); font-size: 1.05rem; }

/* ============================================================ Mandates */
.mandates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-08); border: 1px solid var(--ink-08); }
.mandate { background: var(--navy); padding: 2rem 1.6rem; transition: background .6s var(--ease); }
.mandate:hover { background: var(--navy-soft); }
.mandate__name { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .4rem; }
.mandate__ret { color: var(--gold); font-size: 1.6rem; font-family: var(--serif); }
.mandate__ret .sfx { font-size: .55em; color: var(--ink-60); }
.mandate__obj { font-size: .86rem; color: var(--ink-60); margin: 1rem 0 1.4rem; min-height: 3.2em; }
.mandate__alloc { font-size: .78rem; color: var(--ink-40); line-height: 1.8; border-top: 1px solid var(--ink-08); padding-top: 1rem; }

/* ============================================================ Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.member__photo { position: relative; overflow: hidden; margin-bottom: 1.8rem; }
.member__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(.25); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }
.member h3 { font-size: 1.7rem; }
.member__role { color: var(--gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin: .6rem 0 1.2rem; }
.member p { color: var(--ink-60); font-size: .95rem; }

/* ============================================================ Resources / cards grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.rcard { border: 1px solid var(--ink-08); overflow: hidden; transition: border-color .5s var(--ease), transform .6s var(--ease); }
.rcard:hover { border-color: var(--ink-12); transform: translateY(-5px); }
.rcard__media { overflow: hidden; aspect-ratio: 16/10; }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.rcard:hover .rcard__media img { transform: scale(1.06); }
.rcard__body { padding: 1.8rem; }
.rcard__kicker { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.rcard h3 { font-size: 1.35rem; margin: .9rem 0; }
.rcard p { font-size: .9rem; color: var(--ink-60); }

/* ============================================================ Media list */
.mlist { display: grid; gap: 0; border-top: 1px solid var(--ink-08); }
.mitem { display: grid; grid-template-columns: 116px 130px 1fr auto; gap: 2rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--ink-08); transition: padding-left .5s var(--ease); }
.mitem:hover { padding-left: 1rem; }
.mitem__thumb { width: 116px; height: 78px; overflow: hidden; }
.mitem__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mitem:hover .mitem__thumb img { transform: scale(1.08); }
.mitem__date { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.mitem h3 { font-size: 1.4rem; }
.mitem__type { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); }

/* ============================================================ Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.cinfo h3 { font-size: 1.05rem; letter-spacing: .04em; margin-bottom: .5rem; color: var(--gold); font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: .76rem; letter-spacing: .2em; }
.cinfo__block { padding-block: 1.6rem; border-bottom: 1px solid var(--ink-08); }
.cinfo__block:first-of-type { border-top: 1px solid var(--ink-08); }
.cinfo p { color: var(--ink-60); }
.cinfo a:hover { color: var(--gold); }

form.cform { display: grid; gap: 1.6rem; }
.field { position: relative; }
.field label { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); margin-bottom: .7rem; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink-12);
  color: var(--ivory); font-family: var(--sans); font-size: 1rem; font-weight: 300;
  padding: .7rem 0; transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-40); }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--navy-deep); }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.err { color: #d98c8c; font-size: .78rem; margin-top: .5rem; display: block; }
.flash { border: 1px solid var(--gold); background: rgba(201,168,76,.08); padding: 1.2rem 1.5rem; color: var(--gold); font-size: .9rem; margin-bottom: 1.5rem; }

/* ============================================================ Footer */
.footer { background: var(--navy-deep); padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 2px solid var(--gold-deep); }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2rem 2.5rem; padding-bottom: 3rem; }
.footer__brand .brand__name { font-size: 1.7rem; }
.footer__tag { font-family: var(--serif); color: var(--gold); font-size: .9rem; margin-top: .9rem; letter-spacing: .01em; }
.footer h4 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-weight: 600; }
.footer__col a, .footer__col p { display: block; color: rgba(245,240,232,.74); font-size: .9rem; margin-bottom: .65rem; transition: color .3s; line-height: 1.6; }
.footer__col a:hover { color: var(--ivory); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid var(--ink-08); font-size: .78rem; color: rgba(245,240,232,.62); }
.footer__bottom a:hover { color: var(--gold); }

/* ============================================================ Responsive */
@media (max-width: 1080px) {
  .acro { grid-template-columns: repeat(3, 1fr); }
  .acro__col:nth-child(3n+1) { border-left: 1px solid var(--ink-08); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .mandates { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .split, .split--rev, .svc, .svc--rev, .contact-grid { grid-template-columns: 1fr; }
  .svc--rev .svc__media { order: 0; }
  .pcards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .mitem { grid-template-columns: 1fr; gap: .6rem; }
  .hero__floor { display: none; }
}
@media (max-width: 560px) {
  .acro { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .mandates { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .field--2 { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 1rem; }
}

/* =========================================================================
   MOTION LAYER — GSAP / ScrollTrigger / Lenis enhancements
   Everything below is gated behind html.gsap so that, without JavaScript
   (or if a CDN fails), the static layout above renders fully and visibly.
   ========================================================================= */

/* Native scrolling avoids a permanent animation loop and stays responsive. */

/* ---- Preloader: a gold curtain that lifts to reveal the page ---------- */
.gsap .loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
}
.loader__mark { text-align: center; }
.loader__logo { height: clamp(74px, 13vw, 112px); width: auto; margin: 0 auto; opacity: 0; transform: scale(.92); }
.loader__name { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: .4em; color: var(--ivory); padding-left: .4em; opacity: 0; }
.loader__bar { width: 0; height: 1px; background: var(--gold); margin: 1.6rem auto 0; }
.loader__sub { margin-top: 1.4rem; font-size: .62rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); opacity: 0; }
.loader.done { pointer-events: none; }

/* ---- Split-text masks (per-word reveal) ------------------------------- */
.gsap .mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.gsap .mask .word { display: inline-block; will-change: transform; }

/* ---- Hero: GSAP owns the entrance; hide until timeline starts --------- */
.gsap .hero__inner { visibility: hidden; }
.gsap .hero h1 .w1, .gsap .hero h1 .w2, .gsap .hero h1 .w3,
.gsap .hero__eyebrow, .gsap .hero__sub, .gsap .hero__small, .gsap .hero__cta {
  animation: none !important; opacity: 1; transform: none; /* neutralise the CSS keyframes */
}
.gsap .hero__floor, .gsap .scroll-cue { animation: none !important; opacity: 1; }

/* parallax wrappers need a touch of overflow control */
.split__media, .svc__media, .pcard, .rcard__media, .quote__bg, .cta__bg, .phero__bg, .member__photo { overflow: hidden; }
.parallax-img { will-change: transform; }

/* clip-reveal for framed media */
.gsap .clip-reveal { clip-path: inset(0 0 100% 0); }

/* ---- Custom cursor (desktop, fine-pointer only) ----------------------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 10001; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; opacity: 0; }
.cursor { width: 42px; height: 42px; border: 1px solid var(--gold); transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease), opacity .4s; }
.cursor-dot { width: 5px; height: 5px; background: var(--gold); transform: translate(-50%, -50%); }
.cursor.is-hover { width: 74px; height: 74px; background: rgba(201,168,76,.10); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } body.has-cursor { cursor: auto; } }

/* ---- Magnetic buttons ------------------------------------------------- */
.magnetic { will-change: transform; }

/* ---- Global-reach marquee (light-page aware) -------------------------- */
.marquee { padding-block: clamp(3rem, 6vw, 5rem); border-block: 1px solid rgba(13,27,42,.08); overflow: hidden; position: relative; background: var(--ivory); }
.marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee__item { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px rgba(13,27,42,.16); text-stroke: 1.5px rgba(13,27,42,.16); padding-inline: 2.2rem; white-space: nowrap; transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease); }
.marquee__item .dot { color: var(--gold); -webkit-text-stroke: 0; margin-left: 2.2rem; }
.marquee:hover .marquee__item { color: var(--navy); -webkit-text-stroke-color: transparent; }

/* ---- Section-number watermark (big faint index) ----------------------- */
.watermark { position: absolute; top: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 5vw, 4rem); font-family: var(--serif); font-size: clamp(7rem, 18vw, 16rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--ink-08); pointer-events: none; z-index: 0; }
.section > .wrap, .section > .wrap--wide { position: relative; z-index: 1; }

/* reduced-motion users: strip the heavy stuff */
@media (prefers-reduced-motion: reduce) {
  .gsap .hero__inner { visibility: visible; }
  .gsap .reveal { opacity: 1; }
  .marquee__track { transform: none !important; }
}

/* =========================================================================
   MEGA-MENU · FLOATING WIDGET · SERVICE-DETAIL COMPONENTS
   ========================================================================= */

/* ---- Services mega-menu -------------------------------------------- */
.nav__item { position: static; display: flex; align-items: center; }
.nav__link--mega .caret { display: inline-block; margin-left: .35rem; transition: transform .4s var(--ease); font-size: 1.05em; }
.has-mega:hover .nav__link--mega .caret,
.has-mega.open .nav__link--mega .caret { transform: rotate(90deg); color: var(--gold); }

/* ---- Services mega — light left | cinematic right -------------------- */
.mega {
  position: fixed; left: 0; right: 0; top: var(--nav-h);
  background: #f7f5f0; /* warm cream — left-panel colour bleeds on wide viewports */
  border-top: 2px solid var(--gold-deep);
  box-shadow: 0 28px 70px rgba(0,0,0,.18), 0 2px 0 rgba(201,168,76,.12);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  z-index: 998;
}
.mega::before { content: ""; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }
.nav.scrolled .mega { top: 70px; }
.has-mega:hover .mega, .mega:hover, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }

/* Split grid: nav list (light) | image panel (dark) */
.mega__inner {
  max-width: 1480px; margin-inline: auto;
  display: grid; grid-template-columns: 340px 1fr;
  min-height: 380px;
}

/* Left: light panel, title-only list */
.mega__nav {
  background: #f7f5f0;
  padding: 1.8rem clamp(1.4rem, 2.5vw, 2.6rem);
  display: flex; flex-direction: column; gap: .8rem;
  border-right: 1px solid rgba(13,27,42,.08);
}
.mega__head-eye {
  font-size: .54rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .2rem;
}
.mega__nav-items { display: flex; flex-direction: column; flex: 1; }
.mega__nav-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .75rem 0; border-bottom: 1px solid rgba(13,27,42,.06);
  text-decoration: none; position: relative;
  overflow: hidden;
  transition: padding-left .35s var(--ease);
}
.mega__nav-item::before {
  content: ''; position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.mega__nav-item:hover,
.mega__nav-item.is-active { padding-left: .8rem; }
.mega__nav-item:hover::before,
.mega__nav-item.is-active::before { transform: scaleY(1); }

/* Thumbnail */
.mega__nav-thumb {
  width: 68px; height: 48px; object-fit: cover; border-radius: 6px;
  flex-shrink: 0; display: block;
  transition: transform .5s var(--ease), opacity .3s;
  opacity: .78;
}
.mega__nav-item:hover .mega__nav-thumb,
.mega__nav-item.is-active .mega__nav-thumb { opacity: 1; transform: scale(1.05); }

/* Text */
.mega__nav-num {
  font-size: .5rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); flex-shrink: 0; display: block; margin-bottom: .12rem;
}
.mega__nav-body { flex: 1; min-width: 0; }
.mega__nav-title {
  font-family: var(--serif); font-weight: 400; font-size: .98rem;
  color: rgba(13,27,42,.6); display: block;
  transition: color .3s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mega__nav-item:hover .mega__nav-title,
.mega__nav-item.is-active .mega__nav-title { color: var(--navy); }
.mega__nav-arr {
  margin-left: auto; color: var(--gold-deep); font-size: .78rem; flex-shrink: 0;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mega__nav-item:hover .mega__nav-arr,
.mega__nav-item.is-active .mega__nav-arr { opacity: 1; transform: none; }
.mega__nav-cta {
  font-size: .62rem; letter-spacing: .12em; color: var(--gold-deep); text-decoration: none;
  opacity: .55; transition: opacity .3s; padding-top: .3rem;
}
.mega__nav-cta:hover { opacity: 1; }

/* Right: full-bleed cinematic image panel */
.mega__vis { position: relative; overflow: hidden; }
.mega__vis-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s var(--ease);
}
.mega__vis-slide.is-active { opacity: 1; }
.mega__vis-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 6s linear; }
.mega__vis-slide.is-active img { transform: scale(1.04); }
.mega__vis-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(9,20,32,.05) 0%, rgba(9,20,32,.15) 35%, rgba(9,20,32,.82) 100%);
}
.mega__vis-cap { position: absolute; left: 2.2rem; bottom: 2rem; right: 2.2rem; z-index: 2; }
.mega__vis-n { font-size: .5rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .4rem; }
.mega__vis-cap h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.6rem); color: var(--ivory);
  margin: 0 0 .5rem; line-height: 1.2; max-width: 30ch;
}
.mega__vis-cap p {
  font-size: .8rem; color: rgba(245,240,232,.6);
  line-height: 1.55; max-width: 36ch; margin: 0;
}

/* Toolkit overrides — single col, light theme */
.mega__inner--tools {
  grid-template-columns: 1fr;
  min-height: auto;
  padding: 1.6rem var(--gutter) 1.8rem;
}
.mega__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(13,27,42,.07); }
.mega__head-cta { font-size: .7rem; letter-spacing: .06em; color: rgba(13,27,42,.4); text-decoration: none; transition: color .3s; background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; }
.mega__head-cta:hover { color: var(--gold-deep); }

/* Legacy selectors (unused but harmless) */
.mega__cards, .mega__card, .mega__media, .mega__num, .mega__go, .mega__feature, .mega__feature-copy { display: none; }

/* ---- Floating consultation widget ---------------------------------- */
.fab { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 900; opacity: 0; transform: translateY(22px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn { display: flex; align-items: center; gap: .9rem; background: rgba(9, 20, 32, .98); backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid var(--gold); padding: .65rem 1rem .65rem .65rem; box-shadow: 0 14px 34px rgba(0, 0, 0, .38); transition: background .35s var(--ease), transform .35s var(--ease); }
.fab__btn:hover { background: var(--gold); transform: translateY(-3px); }
.fab__mark { height: 40px; width: auto; }
.fab__icon { width: 38px; height: 38px; flex: 0 0 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--gold); font-size: 1.05rem; transition: color .5s, border-color .5s; }
.fab__btn:hover .fab__icon { color: var(--navy); border-color: var(--navy); }
.fab__text { display: flex; flex-direction: column; line-height: 1.25; }
.fab__sm { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; transition: color .5s; }
.fab__lg { font-size: .84rem; letter-spacing: .03em; color: var(--ivory); transition: color .5s; }
.fab__arr { color: var(--gold); transition: color .5s, transform .4s var(--ease); }
.fab__btn:hover .fab__sm, .fab__btn:hover .fab__lg, .fab__btn:hover .fab__arr { color: var(--navy); }
.fab__btn:hover .fab__arr { transform: translateX(4px); }
@media (max-width: 560px) { .fab__text { display: none; } .fab__btn { padding: .55rem; } }

/* ---- Service-detail bits ------------------------------------------- */
.phero--tall { padding-top: calc(var(--nav-h) + clamp(5rem, 11vw, 9rem)); padding-bottom: clamp(4rem, 9vw, 7rem); min-height: 74vh; display: flex; align-items: flex-end; }
.head-link { color: inherit; transition: color .4s var(--ease); }
.head-link:hover { color: var(--gold); }
.svc__media { display: block; }
.svc__actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; margin-top: 2rem; }
.feat--2 { grid-template-columns: 1fr 1fr; gap: 1rem 2.2rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.gtile { position: relative; overflow: hidden; aspect-ratio: 4 / 5; margin: 0; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gtile:hover img { transform: scale(1.07); }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(9,20,32,0) 38%, rgba(9,20,32,.9)); }
.gtile figcaption { position: absolute; left: 0; bottom: 0; padding: 1.7rem; z-index: 2; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--ivory); }
.gtile figcaption .aline { margin-bottom: .9rem; }

.tbl-title { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--gold); margin: 2.6rem 0 1.2rem; }
.tbl-title:first-of-type { margin-top: 0; }

.phil { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-08); border: 1px solid var(--ink-08); }
.philcard { background: var(--navy); padding: clamp(1.8rem, 3vw, 2.6rem); transition: background .6s var(--ease); }
.philcard:hover { background: var(--navy-soft); }
.philcard__num { font-family: var(--serif); color: var(--gold); font-size: 1rem; }
.philcard h3 { font-size: 1.45rem; margin-top: .5rem; }
.philcard .aline { margin: 1rem 0; }
.philcard p { color: var(--ink-60); font-size: .94rem; }

.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.market { border: 1px solid var(--ink-08); overflow: hidden; transition: border-color .5s var(--ease), transform .6s var(--ease); }
.market:hover { border-color: var(--ink-12); transform: translateY(-6px); }
.market__media { aspect-ratio: 16 / 11; overflow: hidden; }
.market__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.market:hover .market__media img { transform: scale(1.06); }
.market__body { padding: 1.9rem; }
.market__body h3 { font-size: 1.5rem; }
.market__body .aline { margin: 1rem 0; }
.market__body p { color: var(--ink-60); font-size: .92rem; margin-bottom: 1.3rem; }

.nav__drawer-sub { font-size: 1rem !important; color: var(--ink-60) !important; letter-spacing: .02em; }

@media (max-width: 980px) {
  .mega__inner { grid-template-columns: 280px 1fr; min-height: 300px; }
  .mega__inner--tools { grid-template-columns: 1fr; min-height: auto; }
}
@media (max-width: 860px) {
  .mega { display: none; } /* handled by drawer on mobile */
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr; }
  .phil { grid-template-columns: 1fr; }
  .markets { grid-template-columns: 1fr; }
  .feat--2 { grid-template-columns: 1fr; }
  .svc__actions { gap: 1.1rem; }
}

/* =========================================================================
   BROCHURE TYPE ALIGNMENT
   The print brochure sets MADE Mirage for display only; every letterspaced
   micro-label and every line of running copy is Barlow. These rules pull the
   remaining serif-set labels across, and give Barlow the weight it needs to
   hold up at small sizes and wide tracking.
   ========================================================================= */

.quote cite,
.acro__word,
.prog th,
.cinfo h3,
.btn {
  font-family: var(--sans);
  font-weight: 600;
}

.btn { letter-spacing: .18em; font-size: .74rem; }
.btn:hover { letter-spacing: .21em; }

.quote cite { letter-spacing: .2em; }
.acro__word { letter-spacing: .17em; }
.prog th    { letter-spacing: .15em; }
.cinfo h3   { letter-spacing: .17em; }

/* Running copy: Barlow, comfortable measure, never the display serif. */
p, li, dd, dt, blockquote p, figcaption, label, input, textarea, select, button {
  font-family: var(--sans);
}

p { line-height: 1.75; }

/* Barlow's lowercase is shorter than Mirage's, so ledes and intros need a
   touch more size and a touch less tracking to keep the same optical weight. */
.hero__sub { font-family: var(--sans); font-weight: 400; letter-spacing: 0; }

/* Display numerals, pull-quotes and the wordmark stay in Mirage. */
.brand__name, .loader__name,
.pillar__num, .pcard__num, .stat__num,
.quote blockquote, .marquee__item, .watermark {
  font-family: var(--serif);
}

/* =========================================================================
   BROCHURE MATERIALS
   The printed piece reads as luxurious because it has surface: warm uncoated
   stock and brushed gold foil. Flat hex fills are what make a page feel
   synthetic. These two layers put the material back.
   ========================================================================= */

/* --- Uncoated paper stock -------------------------------------------------
   A warm, fine grain over every ivory field, so light sections read as stock
   with tooth rather than a flat #F5F0E8 rectangle.
   Applied per-section, never to the #v2 page wrapper: a full-page multiply
   layer would paint over static children and mute the whole document. */
.v2-statement,
.v2-pillars,
.v2-reach,
.v2-process,
.v2-people,
.pg-sec--ivory,
.pg-sec--white { position: relative; }

/* .v2-statement uses ::before for the ASCEND watermark, so it takes ::after. */
.v2-statement::after,
.v2-pillars::before,
.v2-reach::before,
.v2-process::before,
.v2-people::before,
.pg-sec--ivory::before,
.pg-sec--white::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  /* The actual uncoated stock from the printed brochure, scanned at 300dpi,
     high-passed to keep only the tooth and mirror-tiled so it never seams. */
  background-image: url("/img/paper-texture.png");
  background-repeat: repeat;
  background-size: 380px 380px;
  mix-blend-mode: multiply;
}
.v2-pillars > *,
.v2-reach > *,
.v2-process > *,
.v2-people > *,
.pg-sec--ivory > *,
.pg-sec--white > * { position: relative; z-index: 1; }
/* .v2-statement__inner already carries position/z-index of its own. */

/* --- Brushed gold foil ----------------------------------------------------
   A flat #C9A84C rule reads as a coloured line. Real foil catches light along
   its length, so the divider carries a soft specular sweep instead. */
.aline,
.pg-rule,
.pg-hero__rule {
  background-image: linear-gradient(
    90deg,
    var(--gold-deep) 0%,
    var(--gold)      18%,
    var(--gold-light) 38%,
    #F3E3B4          50%,
    var(--gold-light) 62%,
    var(--gold)       82%,
    var(--gold-deep) 100%
  );
  background-color: transparent;
}

/* -------------------------------------------------- Mega: immigration routes
   Investment Immigration splits into two routes, each with its own programme
   options. The mega slide lists them so the structure is visible from the nav. */
.mega__routes {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  padding: clamp(1.4rem, 2.4vw, 2.4rem);
  background: linear-gradient(100deg, rgba(9,20,32,.95) 0%, rgba(9,20,32,.82) 62%, rgba(9,20,32,.66) 100%);
}
.mega__route-h { display: block; text-decoration: none; }
.mega__route-n {
  display: block; font-family: var(--sans); font-size: .5rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: .3rem;
}
.mega__route-t {
  display: block; font-family: var(--serif); font-size: 1.08rem;
  color: var(--ivory); line-height: 1.15;
  transition: color .35s var(--ease);
}
.mega__route-h:hover .mega__route-t { color: var(--gold-light); }
.mega__route-list {
  display: flex; flex-wrap: wrap; gap: .3rem .5rem; margin-top: .7rem;
  padding-top: .7rem; border-top: 1px solid var(--ink-08);
}
.mega__route-list a {
  font-family: var(--sans); font-size: .68rem; color: rgba(245,240,232,.62);
  text-decoration: none; padding: .12rem .1rem;
  transition: color .3s var(--ease);
}
.mega__route-list a:not(:last-child)::after {
  content: "·"; margin-left: .5rem; color: rgba(245,240,232,.25);
}
.mega__route-list a:hover { color: var(--gold-light); }
.mega__route--alt .mega__route-t { font-size: .95rem; }

/* =========================================================================
   MOBILE REFINEMENTS
   Header drawer usability, and floating-widget collisions on phones.
   ========================================================================= */
@media (max-width: 860px) {

  /* --- Header drawer ---------------------------------------------------
     .nav__drawer is a child of .nav, so with no explicit stack order it
     paints OVER the logo and the close (X) button — the menu could not be
     dismissed. Lift the bar's contents above the panel, keep the bar solid
     while open, pad the panel below the bar, and let long menus scroll. */
  .nav__inner { position: relative; z-index: 2; }
  .nav__drawer { z-index: 1; }
  .nav.open { background: var(--navy-deep); border-bottom-color: var(--ink-08); }

  .nav__drawer {
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    gap: 0;
    padding: calc(var(--nav-h) + .4rem) clamp(1.5rem, 7vw, 3rem) 2.6rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__drawer a {
    font-size: 1.4rem;
    padding: .82rem 0;
    border-bottom: 1px solid rgba(245,240,232,.08);
  }
  .nav__drawer a:last-child { border-bottom: 0; margin-top: .5rem; }
  .nav__drawer-sub {
    font-size: .98rem !important;
    padding-left: 1.15rem;
    color: var(--ink-40) !important;
    border-bottom-color: rgba(245,240,232,.05);
  }

  /* --- Floating widgets ------------------------------------------------ */
  /* The vertical dock sits over the left edge of body copy on phones. The
     drawer and the call FAB already provide contact, so retire it here.
     `body .dock` outranks tools.css `.dock { display: flex }`, which loads
     after this file. */
  body .dock { display: none; }

  /* Lift the corner widgets clear of the section rail's bottom strip so the
     "Find your pathway" FAB and back-to-top no longer sit on top of it. */
  body:has(.snav) .fab,
  body:has(.snav) .totop { bottom: calc(clamp(1rem, 3vw, 2rem) + 52px); }
}

@media (max-width: 560px) {
  .pg-gallery { grid-template-columns: 1fr; }
}

/* =========================================================================
   UTILITIES
   ========================================================================= */

/* Available to assistive technology, removed from the visual layout.
   Used where a heading's visible wording is a brand line and needs a plain
   descriptor alongside it — a screen reader hearing only "Rise. Preserve.
   Transcend." learns nothing about whose page this is. */
.u-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
