/* =============================================================================
   ELITE INTERNATIONAL GROUP — Design System
   "Sapphire & Porcelain": open, bright investment palette — deep sapphire +
   royal-blue accent + an emerald growth note on airy porcelain. Newsreader
   editorial serif, Hanken Grotesk UI. Premium, trustworthy, distinctly investment.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Tokens
---------------------------------------------------------------------------- */
:root {
  /* Sapphire & Porcelain — open, bright investment palette with an emerald growth note */
  --ink:        #122A52;   /* deep sapphire (dark sections, footer, headings) */
  --ink-900:    #0D2044;
  --ink-800:    #173564;
  --ink-700:    #224680;
  --ink-600:    #335f9b;

  --accent:      #2563EB;  /* royal/azure blue (buttons, links, emphasis) */
  --accent-soft: #7CA6F4;  /* light azure for emphasis on dark */
  --accent-deep: #1B49B0;  /* readable blue for links/eyebrows on light */

  --grow:        #0E8F66;  /* emerald growth note (ticks, success, rules) */
  --grow-deep:   #0B6E4F;

  --paper:      #EAF0F8;   /* airy blue-tinted section */
  --paper-2:    #DCE7F4;
  --cream:      #F6F8FB;   /* main porcelain background */
  --white:      #FFFFFF;

  --text:       #1C2A3A;   /* slate */
  --muted:      #566576;
  --muted-2:    #8595A6;

  --line:        rgba(18,42,82,.12);
  --line-strong: rgba(18,42,82,.20);
  --line-light:  rgba(255,255,255,.16);
  --line-light-2:rgba(255,255,255,.32);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --head-h: 78px;

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 10px rgba(18,42,82,.06);
  --shadow:    0 18px 50px -20px rgba(18,42,82,.28);
  --shadow-lg: 0 40px 90px -40px rgba(18,42,82,.45);

  --ease: cubic-bezier(.22,.61,.36,1);

  --section-pad: clamp(68px, 9vw, 132px);
}

/* ----------------------------------------------------------------------------
   2. Reset
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 18px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* WordPress admin bar offset for the fixed header */
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-nav { top: 46px; }
}
@media screen and (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .mobile-nav { top: 0; }
}

/* ----------------------------------------------------------------------------
   3. Layout helpers
---------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { padding-top: var(--head-h); }
.is-front .site-main { padding-top: 0; }
.section { padding-block: var(--section-pad); position: relative; }
.section--paper { background: var(--paper); }
.section--tint { background: var(--paper); }
.section--ink { background: var(--ink); color: #DCE7F4; }

.section__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }
.section__lead { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.section--ink .section__lead { color: #AEC1DA; }
.section__lead--center { margin-inline: auto; }

/* ----------------------------------------------------------------------------
   4. Typography
---------------------------------------------------------------------------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.section--ink .h2, .h2--light { color: #F4F8FD; }
.u-em { font-style: italic; color: var(--accent); }
.section--ink .u-em, .h2--light .u-em { color: var(--accent-soft); }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.section--ink .lead { color: #BACDE4; }
p + p { margin-top: 1.1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 20px;
}
.eyebrow__tick { width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--accent-soft); }

/* Numbered ledger label */
.ledger { font-family: var(--serif); font-style: italic; letter-spacing: .02em; }
.ledger__n { font-size: 1.05em; }
.ledger__sep { opacity: .4; margin-inline: 2px; }
.ledger__t { font-size: .72em; opacity: .5; }

/* ----------------------------------------------------------------------------
   5. Buttons & links
---------------------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  padding: 15px 26px; border-radius: 100px;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  will-change: transform;
}
.btn__icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--sm { padding: 11px 18px; font-size: .85rem; }

.btn--primary { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--primary:hover { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }

.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--dark:hover { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }

.btn--ghost { --bg: transparent; --fg: #fff; --bd: var(--line-light-2); }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }

.btn--ghost-dark { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost-dark:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }

.btn--ghost-light { --bg: transparent; --fg: #DCE7F4; --bd: var(--line-light-2); }
.btn--ghost-light:hover { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--accent-deep);
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: 13px; border-color: currentColor; }
.icon { width: 22px; height: 22px; }
.icon--sm { width: 16px; height: 16px; }

/* ----------------------------------------------------------------------------
   6. Header
---------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--head-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

/* Transparent over the homepage hero, light text. */
.is-front .site-header:not(.is-scrolled) {
  background: transparent; border-color: transparent; color: #fff;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; }
.brand__mark { width: 40px; height: 40px; color: inherit; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.34rem; letter-spacing: .005em; color: inherit; }
.brand__sub { font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2); margin-top: 5px; }
.is-front .site-header:not(.is-scrolled) .brand__sub { color: rgba(255,255,255,.65); }
.brand--image .brand__img { max-height: 44px; width: auto; }

/* Primary nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 100px;
  font-size: .95rem; font-weight: 500; color: inherit;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__link:hover { background: rgba(18,42,82,.06); }
.is-front .site-header:not(.is-scrolled) .nav__link:hover { background: rgba(255,255,255,.12); }
.nav__chev { width: 15px; height: 15px; opacity: .65; transition: transform .3s var(--ease); }
.has-mega:hover .nav__chev { transform: rotate(180deg); }

/* Mega panels */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(760px, 86vw);
  background: var(--cream); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mega--slim { width: min(360px, 86vw); left: 0; transform: translateX(0) translateY(10px); }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega--slim.mega, .has-mega:hover .mega--slim { left: 0; }
.has-mega:hover .mega--slim, .has-mega:focus-within .mega--slim { transform: translateX(0) translateY(0); }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }

.mega__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; }
.mega__inner--slim { display: flex; flex-direction: column; gap: 4px; }
.mega__lead { border-right: 1px solid var(--line); padding-right: 22px; }
.mega__title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; margin: 10px 0 16px; color: var(--ink); }
.mega__all { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .85rem; color: var(--accent-deep); }
.mega__all:hover { gap: 11px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega__card { display: flex; gap: 13px; padding: 14px; border-radius: var(--r); transition: background .25s var(--ease); }
.mega__card:hover { background: var(--paper); }
.mega__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--accent-soft); display: grid; place-items: center; }
.mega__icon svg { width: 21px; height: 21px; }
.mega__card-title { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.mega__card-desc { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }

.mega__row { display: flex; flex-direction: column; padding: 13px 14px; border-radius: var(--r); transition: background .25s var(--ease); }
.mega__row:hover { background: var(--paper); }
.mega__row-title { font-weight: 600; color: var(--ink); }
.mega__row-desc { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

/* Header actions */
.site-header__actions { display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.langs { position: relative; }
.langs__toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border-radius: 100px; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: inherit;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.langs__toggle:hover { background: rgba(18,42,82,.05); }
.is-front .site-header:not(.is-scrolled) .langs__toggle { border-color: var(--line-light-2); }
.is-front .site-header:not(.is-scrolled) .langs__toggle:hover { background: rgba(255,255,255,.12); }
.langs__toggle .icon--sm { opacity: .7; }
.langs__chev { width: 14px; height: 14px; opacity: .6; transition: transform .3s var(--ease); }
.langs[aria-expanded="true"] .langs__chev, .langs.is-open .langs__chev { transform: rotate(180deg); }
.langs__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px;
  background: var(--cream); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 7px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.langs.is-open .langs__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.langs__opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); transition: background .2s var(--ease); }
.langs__opt:hover { background: var(--paper); }
.langs__short { font-weight: 700; font-size: .78rem; letter-spacing: .06em; width: 26px; color: var(--accent-deep); }
.langs__label { font-size: .92rem; }
.langs__check { width: 16px; height: 16px; margin-left: auto; color: var(--accent-deep); }
.langs__opt.is-active { color: var(--ink); }

.header-cta { padding: 11px 20px; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 100px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------------------
   7. Mobile nav
---------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #DCE7F4;
  padding-top: var(--head-h);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav__scroll { padding: 24px var(--gutter) 60px; }
.mobile-nav__group { border-bottom: 1px solid var(--line-light); }
.mobile-nav__acc { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 22px 0; font-family: var(--serif); font-size: 1.5rem; color: #F4F8FD; }
.mobile-nav__chev { width: 22px; height: 22px; color: var(--accent-soft); transition: transform .3s var(--ease); }
.mobile-nav__acc[aria-expanded="true"] .mobile-nav__chev { transform: rotate(180deg); }
.mobile-nav__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); overflow: hidden; }
.mobile-nav__group.is-open .mobile-nav__panel { grid-template-rows: 1fr; }
.mobile-nav__panel > * { min-height: 0; }
.mobile-nav__panel a { padding: 12px 0 12px 4px; color: #B6C8DE; font-size: 1.05rem; display: block; }
.mobile-nav__panel a:first-child { padding-top: 4px; }
.mobile-nav__panel a:last-child { padding-bottom: 22px; }
.mobile-nav__all { color: var(--accent-soft) !important; font-weight: 600; }
.mobile-nav__link { display: block; padding: 22px 0; font-family: var(--serif); font-size: 1.5rem; color: #F4F8FD; border-bottom: 1px solid var(--line-light); }
.mobile-nav__foot { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.mobile-nav__langs { display: flex; gap: 10px; }
.mobile-nav__langs a { padding: 9px 16px; border: 1px solid var(--line-light); border-radius: 100px; font-weight: 600; font-size: .85rem; letter-spacing: .06em; }
.mobile-nav__langs a.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.mobile-nav__foot .cdetails__value { color: #B6C8DE; }
body.menu-open { overflow: hidden; }

/* ----------------------------------------------------------------------------
   8. Hero
---------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; isolation: isolate; padding-top: calc(var(--head-h) + 30px); }
.hero__media { position: absolute; inset: 0; z-index: -2; background-image: var(--hero-img); background-size: cover; background-position: center 35%; }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(11,26,56,.86) 0%, rgba(11,26,56,.66) 34%, rgba(11,26,56,.36) 55%, rgba(11,26,56,.12) 74%, rgba(11,26,56,0) 90%),
    linear-gradient(0deg, rgba(11,26,56,.58) 0%, rgba(11,26,56,0) 46%);
}
.hero__inner { flex: 1; display: flex; align-items: center; padding-block: 60px 30px; }
.hero__content { max-width: 760px; }
.hero__title { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(2.5rem, 5.6vw, 4.7rem); line-height: 1.08; letter-spacing: -0.01em; margin: 18px 0 24px; text-wrap: balance; }
.hero__title .u-em { color: #AFCBFB; font-weight: 500; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.6; color: #D5E2F2; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__rotate { display: flex; align-items: center; gap: 12px; margin-top: 40px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__rotate-pre { color: rgba(255,255,255,.55); }
.hero__rotate-stage { position: relative; display: inline-grid; min-width: 220px; }
.hero__rotate-word { grid-area: 1 / 1; font-weight: 600; color: var(--accent-soft); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hero__rotate-word.is-active { opacity: 1; transform: translateY(0); }

/* Hero stats strip */
.hero__stats { position: relative; z-index: 1; border-top: 1px solid var(--line-light); background: rgba(13,32,68,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 8px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.hero__stats-grid .stat:not(:first-child)::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line-light); }
.stat__value { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; color: #fff; }
.hero__stats .stat__value { color: #fff; }
.hero__stats .stat__label { color: rgba(255,255,255,.72); font-size: .82rem; letter-spacing: .02em; line-height: 1.4; }
.stat__label { color: var(--muted); font-size: .85rem; }

/* ----------------------------------------------------------------------------
   9. Intro
---------------------------------------------------------------------------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.intro__title { margin: 6px 0 24px; }
.ticks { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); }
.ticks--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.section--ink .ticks li { color: #E7EEF0; }
.ticks__icon { flex: none; width: 22px; height: 22px; color: var(--grow); margin-top: 2px; }
.section--ink .ticks__icon { color: var(--accent-soft); }

.intro__media { position: relative; }
.frame { overflow: hidden; border-radius: var(--r-lg); position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--portrait { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.intro__badge { position: absolute; left: -18px; bottom: 28px; background: var(--ink); color: #fff; padding: 18px 22px; border-radius: var(--r); box-shadow: var(--shadow); }
.intro__badge-value { display: block; font-family: var(--serif); font-size: 1.15rem; }
.intro__badge-label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-soft); margin-top: 4px; }

/* ----------------------------------------------------------------------------
   10. Services list (home)
---------------------------------------------------------------------------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row__link { display: grid; grid-template-columns: auto 56px 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(24px, 3vw, 38px) 8px; transition: padding .35s var(--ease); position: relative; }
.svc-row__link::before { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: var(--r); transform: scaleY(.7); opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease); z-index: 0; }
.svc-row__link > * { position: relative; z-index: 1; }
.svc-row__link:hover::before { opacity: 1; transform: scaleY(1); }
.svc-row__link:hover { padding-inline: clamp(16px, 2.6vw, 32px); color: #fff; }
.svc-row__index { font-size: 1.05rem; color: var(--muted-2); transition: color .35s var(--ease); }
.svc-row__link:hover .svc-row__index { color: var(--accent-soft); }
.svc-row__icon { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.svc-row__icon svg { width: 26px; height: 26px; }
.svc-row__link:hover .svc-row__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.svc-row__title { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; color: var(--ink); transition: color .35s var(--ease); }
.svc-row__link:hover .svc-row__title { color: #fff; }
.svc-row__body { display: block; color: var(--muted); margin-top: 8px; max-width: 64ch; transition: color .35s var(--ease); }
.svc-row__link:hover .svc-row__body { color: #C2D2E6; }
.svc-row__points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .76rem; letter-spacing: .02em; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); transition: border-color .35s var(--ease), color .35s var(--ease); }
.svc-row__link:hover .chip { border-color: var(--line-light); color: #AEC1DA; }
.svc-row__cta { width: 50px; height: 50px; border-radius: 100px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.svc-row__cta svg { width: 20px; height: 20px; }
.svc-row__link:hover .svc-row__cta { background: #fff; color: var(--ink); border-color: #fff; transform: rotate(0) translate(2px,-2px); }

/* ----------------------------------------------------------------------------
   11. Principles
---------------------------------------------------------------------------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.principle { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 38px) clamp(22px, 2vw, 30px); position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.principle:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.principle__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--paper); color: var(--accent); display: grid; place-items: center; margin-bottom: 26px; }
.principle__icon svg { width: 24px; height: 24px; }
.principle__num { position: absolute; top: 28px; right: 28px; font-family: var(--serif); font-style: italic; color: var(--accent); opacity: .45; }
.principle__title { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 12px; }
.principle__body { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ----------------------------------------------------------------------------
   12. Companies
---------------------------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.company { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.company:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.company__mark { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.company__mark img { width: 100%; max-width: 160px; max-height: 40px; object-fit: contain; }
.company__mono { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 44px; padding-inline: 12px; border-radius: 8px; background: var(--ink); color: var(--accent-soft); font-family: var(--serif); font-weight: 500; letter-spacing: .08em; font-size: 1.05rem; }
.company__name { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 22px 0 6px; }
.company__desc { color: var(--muted); font-size: .95rem; }
.company__rule { display: block; height: 2px; width: 36px; background: var(--accent); margin-top: 22px; transition: width .4s var(--ease); }
.company:hover .company__rule { width: 64px; }
.companies__foot { margin-top: 34px; }

/* Funds and programme focus */
.fund-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.fund-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.fund-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.fund-card__media { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.fund-card__media img { width: 100%; height: 100%; object-fit: cover; }
.fund-card--portugal-golden-visa .fund-card__media { background: #fff; border-bottom: 1px solid var(--line); }
.fund-card--portugal-golden-visa .fund-card__media img { object-fit: contain; padding: clamp(18px, 2vw, 30px); }
.fund-card__body { padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; flex: 1; }
.fund-card__tag { color: var(--accent-deep); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; }
.fund-card__title { font-family: var(--serif); color: var(--ink); font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.15; margin: 12px 0 10px; }
.fund-card__copy { color: var(--muted); font-size: .96rem; line-height: 1.58; }
.fund-card__facts { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.fund-card__facts li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .9rem; line-height: 1.45; }
.fund-card__icon { flex: none; width: 18px; height: 18px; color: var(--grow); margin-top: 2px; }
.fund-focus__note { margin-top: 28px; color: var(--muted-2); font-size: .86rem; max-width: 90ch; }

/* ----------------------------------------------------------------------------
   13. Presence
---------------------------------------------------------------------------- */
.presence { background: var(--ink); color: #DCE7F4; isolation: isolate; overflow: hidden; }
.presence__bg { position: absolute; inset: 0; z-index: -1; background-image: var(--presence-img); background-size: cover; background-position: center; opacity: .26; }
.presence::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 12%, rgba(18,42,82,.6) 55%, rgba(18,42,82,.2) 100%); }
.presence__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.presence__body { color: #BACDE4; max-width: 50ch; margin-top: 22px; }
.presence__cards { display: flex; flex-direction: column; gap: 18px; }
.presence__card { background: rgba(255,255,255,.05); border: 1px solid var(--line-light); border-radius: var(--r-lg); padding: 28px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.presence__pin { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.presence__pin svg { width: 23px; height: 23px; }
.presence__card h3 { font-family: var(--serif); font-size: 1.5rem; color: #F4F8FD; margin-bottom: 8px; }
.presence__card p { color: #AABDD6; font-size: .95rem; }

/* ----------------------------------------------------------------------------
   14. CTA band
---------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(118deg, var(--ink-900) 0%, var(--ink) 44%, var(--accent-deep) 100%); color: #fff; padding-block: clamp(56px, 7vw, 96px); position: relative; isolation: isolate; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -120px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(37,99,235,.28) 0%, rgba(37,99,235,0) 68%); }
.cta-band__inner { text-align: center; max-width: 760px; margin-inline: auto; }
.cta-band__title { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -0.005em; }
.cta-band__title .u-em { color: var(--accent-soft); }
.cta-band__body { color: #C9D8F0; margin: 18px 0 30px; font-size: 1.1rem; }
.cta-band .btn--primary { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.cta-band .btn--primary:hover { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }

/* ----------------------------------------------------------------------------
   15. Contact
---------------------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact__intro .lead { margin-bottom: 34px; }

.cdetails { display: flex; flex-direction: column; gap: 22px; }
.cdetails__item { display: flex; gap: 16px; }
.cdetails__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-deep); }
.cdetails__icon svg { width: 22px; height: 22px; }
.cdetails__body { display: flex; flex-direction: column; gap: 3px; }
.cdetails__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.cdetails__value { color: var(--ink); font-weight: 500; }
a.cdetails__value:hover { color: var(--accent-deep); }

/* Form */
.cform { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px); box-shadow: var(--shadow-sm); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; position: relative; }
.field label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.req { color: var(--accent-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--cream); color: var(--ink); font-size: 1rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.16); background: #fff; }
.field--select { position: relative; }
.field--select select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.field__chev { position: absolute; right: 16px; bottom: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }

.field--check { margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { flex: none; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--cream); position: relative; transition: background .2s var(--ease), border-color .2s var(--ease); margin-top: 1px; }
.check__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 3px rgba(37,99,235,.25); }
.check__label { font-size: .9rem; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.check__label a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__actions { margin-top: 24px; }
.cform__submit { width: 100%; justify-content: center; }
.cform__submit.is-loading { opacity: .7; pointer-events: none; }
.cform__feedback { margin-top: 18px; font-size: .95rem; display: none; padding: 14px 16px; border-radius: var(--r-sm); }
.cform__feedback.is-success { display: block; background: rgba(40,120,90,.1); color: #1f6b4d; border: 1px solid rgba(40,120,90,.3); }
.cform__feedback.is-error { display: block; background: rgba(180,60,60,.08); color: #9c3030; border: 1px solid rgba(180,60,60,.3); }

/* Map */
.contact-map { line-height: 0; filter: grayscale(.2) contrast(1.02); }
.contact-map iframe { width: 100%; display: block; }

/* ----------------------------------------------------------------------------
   16. Footer
---------------------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: #BFD0E4; padding-top: clamp(56px, 7vw, 96px); }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: clamp(36px, 5vw, 80px); padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.site-footer .brand { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.5); }
.site-footer__tag { margin-top: 22px; max-width: 42ch; color: #9DB1CC; }
.site-footer__built { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: .85rem; color: var(--accent-soft); }
.site-footer__built svg { width: 18px; height: 18px; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: clamp(20px, 3vw, 44px); }
.fcol__title { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.fcol ul { display: flex; flex-direction: column; gap: 12px; }
.fcol a { color: #9DB1CC; font-size: .95rem; transition: color .2s var(--ease); }
.fcol a:hover { color: var(--accent-soft); }
.fcol__address { font-style: normal; display: flex; flex-direction: column; gap: 10px; color: #9DB1CC; font-size: .95rem; margin-bottom: 22px; }
.fcol__address a:hover { color: var(--accent-soft); }
.site-footer__note { padding-block: 26px; border-bottom: 1px solid var(--line-light); color: #9DB1CC; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 34px; }
.site-footer__copy { font-size: .85rem; color: #708BA8; }
.site-footer__legal { display: flex; gap: 22px; }
.site-footer__legal a { font-size: .85rem; color: #9DB1CC; }
.site-footer__legal a:hover { color: var(--accent-soft); }

/* Scroll to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border-radius: 100px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: #fff; }
.to-top__icon { width: 22px; height: 22px; transform: rotate(180deg); }

/* ----------------------------------------------------------------------------
   17. Page hero (inner pages)
---------------------------------------------------------------------------- */
.phero { background: var(--ink); color: #DCE7F4; position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(60px, 9vw, 130px) clamp(48px, 7vw, 96px); }
.phero--image .phero__media { position: absolute; inset: 0; z-index: -2; background-image: var(--phero-img); background-size: cover; background-position: center 35%; }
.phero--image .phero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,32,68,.72), rgba(13,32,68,.86)); }
.phero__inner { max-width: 880px; }
.phero__title { font-family: var(--serif); font-weight: 600; font-optical-sizing: auto; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.1; letter-spacing: -0.01em; margin-top: 16px; text-wrap: balance; }
.phero__title .u-em { color: var(--accent-soft); }
.phero__lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: #C2D2E6; max-width: 62ch; margin-top: 22px; }

/* ----------------------------------------------------------------------------
   18. About page
---------------------------------------------------------------------------- */
.about-story__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-story__head .h2 { margin-top: 6px; }
.about-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat--dark { background: var(--cream); padding: clamp(26px, 3vw, 40px) clamp(20px, 2vw, 30px); }
.stat--dark .stat__value { color: var(--ink); }
.stat--dark .stat__label { color: var(--muted); }

.leadership__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.leadership__card { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--ink-700), var(--ink-900)); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.leadership__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(37,99,235,.22), transparent 60%); }
.leadership__mono { font-family: var(--serif); font-size: 5rem; color: var(--accent-soft); line-height: 1; position: relative; }
.leadership__name { font-family: var(--serif); font-size: 1.6rem; position: relative; }
.leadership__role { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); position: relative; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 24px; margin: 26px 0 30px; }

/* ----------------------------------------------------------------------------
   19. Services page
---------------------------------------------------------------------------- */
.svc-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 84px); align-items: center; }
.svc-detail--alt .svc-detail__media { order: -1; }
.svc-detail__index { display: inline-block; margin-bottom: 14px; color: var(--muted-2); }
.svc-detail__icon { width: 58px; height: 58px; border-radius: 14px; background: var(--ink); color: var(--accent-soft); display: grid; place-items: center; margin-bottom: 22px; }
.svc-detail__icon svg { width: 28px; height: 28px; }
.svc-detail__text .h2 { margin-bottom: 16px; }
.svc-detail__text .lead { margin-bottom: 24px; }
.svc-detail__text .link-arrow { margin-top: 28px; }
.svc-detail .frame { aspect-ratio: 4/3; box-shadow: var(--shadow); }

.fund-advisory__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 76px); align-items: start; }
.fund-advisory__role .ticks { margin-top: 0; }
.fund-advisory__note { margin-top: 28px; color: #9DB1CC; font-size: .86rem; line-height: 1.55; max-width: 68ch; }
.fund-advisory__list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.fund-mini { border: 1px solid var(--line-light); border-radius: var(--r); padding: clamp(22px, 2.5vw, 30px); background: rgba(255,255,255,.055); }
.fund-mini__index { display: inline-block; color: var(--accent-soft); margin-bottom: 12px; }
.fund-mini__title { font-family: var(--serif); color: #fff; font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.2; margin-bottom: 6px; }
.fund-mini__tag { color: var(--accent-soft); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.fund-mini__body { color: #BFD0E4; font-size: .95rem; line-height: 1.58; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--line-strong); }
.step__num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--accent); position: absolute; top: -2px; left: 0; transform: translateY(-50%); background: var(--paper); padding-right: 14px; }
.step__title { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin-bottom: 12px; }
.step__body { color: var(--muted); font-size: .95rem; }

/* ----------------------------------------------------------------------------
   20. Companies page
---------------------------------------------------------------------------- */
.company-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.company-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.company-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.company-card__mark { display: flex; align-items: center; justify-content: center; width: min(210px, 70%); height: 68px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.company-card__mark img { width: 100%; max-width: 178px; max-height: 42px; object-fit: contain; }
.company-card__mono { display: inline-flex; align-items: center; justify-content: center; min-width: 70px; height: 48px; padding-inline: 14px; border-radius: 8px; background: var(--ink); color: var(--accent-soft); font-family: var(--serif); letter-spacing: .08em; font-size: 1.1rem; }
.company-card__index { font-family: var(--serif); font-style: italic; color: var(--muted-2); }
.company-card__name { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin-bottom: 4px; }
.company-card__desc { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.company-card__long { color: var(--muted); font-size: .96rem; line-height: 1.6; }
.companies-page__note { margin-top: 34px; font-size: .85rem; color: var(--muted-2); max-width: 70ch; }

/* ----------------------------------------------------------------------------
   21. Legal / prose / 404 / posts
---------------------------------------------------------------------------- */
.legal__inner { max-width: 820px; }
.legal__block { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal__block:last-child { border-bottom: 0; }
.legal__h { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 12px; }
.legal__block a { color: var(--accent-deep); }

.prose { max-width: 760px; margin-inline: auto; }
.prose__feature { margin-bottom: 36px; }
.prose h2, .prose h3 { font-family: var(--serif); color: var(--ink); margin: 1.6em 0 .5em; line-height: 1.2; }
.prose h2 { font-size: 1.9rem; }
.prose h3 { font-size: 1.4rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: disc; } .prose ol li { list-style: decimal; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 20px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); margin: 1.4em 0; }

.error404 { text-align: center; }
.error404__inner { max-width: 620px; margin-inline: auto; }
.error404__code { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--accent); display: block; margin-bottom: 18px; }
.error404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 4/3; border-radius: 0; }
.post-card__body { padding: 24px; }
.post-card__date { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.post-card__title { font-family: var(--serif); font-size: 1.4rem; margin: 10px 0; color: var(--ink); }
.post-card__excerpt { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.pagination { margin-top: 40px; }
.pagination .page-numbers { display: inline-flex; gap: 8px; }
.pagination a, .pagination span { padding: 9px 15px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ----------------------------------------------------------------------------
   22. Reveal animation
---------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ----------------------------------------------------------------------------
   23. Responsive — Tablet (<= 1024)
---------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --head-h: 70px; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .section__head { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .section__lead { max-width: 60ch; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .company-grid, .company-cards, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .fund-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 26px; }
  .presence__inner { grid-template-columns: 1fr; }
  .hero__stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet portrait (<= 768) */
@media (max-width: 768px) {
  .intro__grid, .contact__grid, .leadership__grid, .about-story__grid, .svc-detail__grid, .fund-advisory__grid { grid-template-columns: 1fr; }
  .svc-detail--alt .svc-detail__media { order: 0; }
  .svc-detail__media { max-width: 560px; }
  .leadership__media { max-width: 380px; }
  .leadership__card { aspect-ratio: 16/10; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats-grid .stat:nth-child(3)::before { display: none; }
  .hero__stats-grid .stat:nth-child(2)::before { display: none; }
  .stat { padding: 22px 6px; }
  .hero__stats-grid .stat { border-bottom: 1px solid var(--line-light); }
  .hero__stats-grid .stat:nth-child(odd)::before { display: none; }
  .hero__stats-grid .stat:nth-child(even)::before { left: 0; }
  .about-stats__grid, .company-grid, .company-cards, .post-grid { grid-template-columns: 1fr 1fr; }
  .svc-row__link { grid-template-columns: auto 1fr auto; gap: 16px; }
  .svc-row__icon { display: none; }
  .intro__badge { left: 12px; }
  .svc-row__body { display: none; }
}

/* Mobile (<= 540) */
@media (max-width: 540px) {
  body { font-size: 16px; }
  :root { --head-h: 64px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.18rem; }
  .principles { grid-template-columns: 1fr; }
  .about-stats__grid, .company-grid, .company-cards, .post-grid, .steps { grid-template-columns: 1fr; }
  .company-card__mark { width: 100%; }
  .hero__stats-grid { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .error404__actions .btn, .cform__submit { width: 100%; }
  .ticks--two { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .cform__row { grid-template-columns: 1fr; gap: 0; }
  .svc-row__points { display: none; }
  .intro__badge { position: static; margin-top: 16px; display: inline-block; }
  .hero__rotate { flex-wrap: wrap; }
  .mega { display: none; }
}

/* Fine-tune very small (390 and below covered above) */
@media (max-width: 390px) {
  .site-footer__cols { grid-template-columns: 1fr; }
  .langs__label { display: none; }
}
