/*
 * Intellivest Financial Services — public design system
 * Implements the tokens and components defined in DESIGN (1).md.
 * All design-page styling is scoped to body.iv-page so shop and account
 * screens keep their existing layouts.
 */

/* ─── Self-hosted fonts ─────────────────────────────────────────────────── */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url(../assets/fonts/2fed1d1b2e.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url(../assets/fonts/9076820487.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(../assets/fonts/35841fe72f.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(../assets/fonts/5054f2c4fb.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── Tokens ────────────────────────────────────────────────────────────── */
:root {
    --indigo: #404878;
    --deep: #2B3260;
    --night: #1B2147;
    --grey: #606060;
    --soft: #F4F5FA;
    --soft2: #EAECF6;
    --lilac: #aab4ec;
    --line: rgba(64, 72, 120, .14);
    --text: #4a4f63;
    --shadow-soft: 0 26px 50px -28px rgba(43, 50, 96, .4);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Jost', ui-sans-serif, system-ui, sans-serif;
}

body.iv-site {
    font-family: var(--font-sans);
}

::selection {
    background: var(--indigo);
    color: #fff;
}

/* ─── Shared shell ──────────────────────────────────────────────────────── */
.iv-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .iv-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 3000;
    background: var(--indigo);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* ─── Loader & scroll progress (prototype motion) ───────────────────────── */
#iv-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #fff;
    display: grid;
    place-items: center;
    pointer-events: none;
    animation: ivLoaderSafety .4s ease 4s forwards;
}

@keyframes ivLoaderSafety {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

#iv-loader .iv-loader-inner {
    width: min(70vw, 360px);
}

#iv-loader img {
    width: 100%;
    height: auto;
    display: block;
}

.iv-loader-track {
    margin-top: 1.5rem;
    height: 1px;
    width: 100%;
    background: var(--line);
    overflow: hidden;
}

#iv-loader-bar {
    height: 100%;
    width: 100%;
    background: var(--indigo);
    transform-origin: left;
    transform: scaleX(0);
}

#iv-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    z-index: 2100;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--indigo), #8d97d6);
    pointer-events: none;
}

/* ─── Word-mask title reveal ────────────────────────────────────────────── */
.wm {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .12em;
    margin-bottom: -.12em;
}

.wm > span {
    display: inline-block;
    will-change: transform;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    transition: box-shadow .4s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 18px 40px -32px rgba(27, 33, 71, .55);
}

.site-header .nav-container {
    max-width: 1400px;
    padding: .9rem 20px;
    align-items: center;
}

@media (min-width: 768px) {
    .site-header .nav-container {
        padding: .95rem 40px;
    }
}

.site-header .logo img {
    height: 44px;
    width: auto;
}

.site-nav ul {
    align-items: center;
    gap: .35rem;
    border-top: none;
    margin: 0;
    padding: 0;
}

.site-nav ul li a,
.site-nav ul li .nav-placeholder {
    position: relative;
    display: inline-block;
    padding: .45rem .7rem;
    color: var(--grey);
    font-size: .95rem;
    font-weight: 400;
    letter-spacing: .01em;
    border-radius: 6px;
    background: none;
    transition: color .3s ease;
}

.site-nav ul li a::after {
    content: "";
    position: absolute;
    left: .7rem;
    right: .7rem;
    bottom: .2rem;
    height: 1px;
    background: var(--indigo);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.site-nav ul li a:hover,
.site-nav ul li a:focus-visible,
.site-nav ul li a.active {
    color: var(--indigo);
    background: none;
}

.site-nav ul li a:hover::after,
.site-nav ul li a:focus-visible::after,
.site-nav ul li a.active::after {
    transform: scaleX(1);
}

.site-nav .nav-utility a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--indigo);
}

.site-nav .nav-utility a i {
    margin: 0;
    width: auto;
}

@media (max-width: 1023px) {
    .site-header .menu-toggle {
        display: flex !important;
    }

    .site-nav {
        width: 100%;
        flex-basis: 100%;
    }

    .site-nav ul {
        display: none !important;
        flex-direction: column !important;
        align-items: stretch;
        padding: .75rem 0 1rem;
        border-top: 1px solid var(--line);
        margin-top: .75rem;
    }

    .site-nav ul.open {
        display: flex !important;
    }

    .site-nav ul li a,
    .site-nav ul li .nav-placeholder {
        display: block;
        padding: .75rem .25rem;
        font-family: var(--font-serif);
        font-size: 1.55rem;
        color: var(--indigo);
        border-radius: 0;
    }

    .site-nav ul li a::after {
        display: none;
    }

    .site-nav .nav-utility a {
        font-family: var(--font-sans);
        font-size: .95rem;
        padding: .6rem .25rem;
    }

    .site-nav .nav-dropdown .nav-dropdown-menu {
        display: none;
        padding-left: 1rem !important;
        border: none;
        box-shadow: none;
    }

    .site-nav .nav-dropdown .nav-dropdown-menu.open {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .site-header .menu-toggle {
        display: none !important;
    }

    .site-nav,
    .site-nav ul {
        display: flex !important;
        flex-direction: row;
        width: auto;
        flex-basis: auto;
    }
}

/* ─── Footer (ported 1:1 from the approved prototype) ───────────────────── */
.site-footer.ft {
    background: var(--soft);
    border-top: 1px solid var(--line);
    color: var(--text);
    text-align: left;
    padding: 0;
    margin-top: 0;
}

.ft-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 20px 2rem;
}

@media (min-width: 768px) {
    .ft-inner {
        padding: 4rem 40px 2rem;
    }
}

.ft-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 768px) {
    .ft-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .ft-brand {
        grid-column: span 4;
    }

    .ft-col--links {
        grid-column: span 3;
    }

    .ft-col--contact {
        grid-column: span 5;
    }
}

.ft-brand a {
    display: inline-block;
}

.ft-brand img {
    display: block;
    width: min(260px, 70%);
    height: auto;
}

.ft-title {
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: none;
    color: var(--indigo);
    margin: 0 0 1.25rem;
}

.ft-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.ft-list li {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
}

.ft-list a {
    color: var(--grey);
    text-decoration: none;
    transition: color .3s;
}

.ft-list a:hover {
    color: var(--indigo);
}

.ft-list a i {
    display: none;
}

.ft-break {
    word-break: break-all;
}

.ft-bottom {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: .875rem;
    color: var(--text);
}

@media (min-width: 768px) {
    .ft-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.ft-bottom p {
    margin: 0;
}

.ft-bottom a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .3s;
}

.ft-bottom a:hover {
    color: var(--indigo);
}

.ft-top {
    text-decoration: none;
}

.ft-top:hover {
    color: var(--indigo);
}

/* ─── Design pages: reset the legacy section cards ──────────────────────── */
.iv-page .site-main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.iv-page section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin: 0;
}

/* The legacy stylesheet gives every <section> a card background; restore the
   design backgrounds with matching specificity. */
.iv-page .iv-hero {
    background:
        radial-gradient(ellipse 55% 60% at 78% 35%, rgba(170, 180, 236, .22), transparent 70%),
        linear-gradient(105deg, #1B2147 0%, #2B3260 48%, #404878 100%);
}

.iv-page .iv-hero--light {
    background:
        radial-gradient(ellipse 60% 55% at 20% 15%, rgba(170, 180, 236, .35), transparent 65%),
        radial-gradient(ellipse 70% 60% at 95% 85%, rgba(64, 72, 120, .12), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.iv-page .iv-section {
    padding: 5rem 0;
}

.iv-page .iv-section--soft {
    background: var(--soft);
}

.iv-page .iv-section--mesh {
    background:
        radial-gradient(ellipse 60% 50% at 15% 10%, rgba(170, 180, 236, .22), transparent 65%),
        radial-gradient(ellipse 55% 45% at 85% 80%, rgba(64, 72, 120, .12), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.iv-page .cta {
    background: var(--night);
    padding: 7rem 0;
}

@media (min-width: 768px) {
    .iv-page .cta {
        padding: 11rem 0;
    }
}

.iv-page .tm {
    padding: 5rem 0;
}

.iv-page .tm--soft {
    background: var(--soft);
}

@media (min-width: 768px) {
    .iv-page .iv-section {
        padding: 7rem 0;
    }

    .iv-page .tm {
        padding: 6.5rem 0;
    }
}

.iv-hero .iv-body p,
.iv-hero .iv-lead p {
    color: rgba(255, 255, 255, .82);
}

.iv-hero--light .iv-body p,
.iv-hero--light .iv-lead p {
    color: var(--text);
}

.iv-page section h1,
.iv-page section h2 {
    color: inherit;
    margin: 0;
}

.iv-page {
    background: #fff;
    color: var(--text);
}

/* ─── Typography ────────────────────────────────────────────────────────── */
.iv-h1,
.iv-h2,
.iv-h2m,
.iv-h3,
.iv-h4 {
    font-family: var(--font-serif);
    color: var(--indigo);
    font-weight: 500;
    letter-spacing: -.01em;
}

.iv-h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    line-height: 1.08;
}

.iv-h2 {
    font-size: clamp(1.8rem, 3.3vw, 2.7rem);
    line-height: 1.12;
}

.iv-h2m {
    font-size: clamp(1.8rem, 3.1vw, 2.6rem);
    line-height: 1.1;
}

.iv-h3 {
    font-size: clamp(1.35rem, 2.3vw, 2.1rem);
    line-height: 1.25;
}

.iv-h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--indigo);
}

.iv-lead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.8;
    color: var(--text);
}

.iv-body p,
.iv-bio p {
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1rem;
}

.iv-tagline {
    display: inline-block;
    font-size: clamp(.9rem, 1.4vw, 1.1rem);
    font-weight: 300;
    letter-spacing: .22em;
    color: var(--lilac);
}

.iv-tagline b {
    font-weight: 600;
}

.iv-card-title {
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--indigo);
}

/* ─── Sections & grids ──────────────────────────────────────────────────── */
.iv-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .iv-section {
        padding: 7rem 0;
    }
}

.iv-section--soft {
    background: var(--soft);
}

.iv-section--mesh {
    background:
        radial-gradient(ellipse 60% 50% at 15% 10%, rgba(170, 180, 236, .22), transparent 65%),
        radial-gradient(ellipse 55% 45% at 85% 80%, rgba(64, 72, 120, .12), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.iv-section--white {
    background: #fff;
}

.iv-section-head {
    max-width: 780px;
    margin-bottom: 3rem;
}

.iv-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.iv-section-head .iv-h2 {
    margin-bottom: 1rem;
}

.iv-grid {
    display: grid;
    gap: 1.5rem;
}

.iv-grid--2 {
    grid-template-columns: 1fr;
}

.iv-grid--3 {
    grid-template-columns: 1fr;
}

.iv-grid--4 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .iv-grid--2,
    .iv-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .iv-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .iv-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .iv-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.iv-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .iv-split {
        grid-template-columns: 7fr 5fr;
        gap: 4rem;
    }

    .iv-split--reverse {
        grid-template-columns: 5fr 7fr;
    }

    .iv-split--reverse .iv-split-media {
        order: -1;
    }
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.iv-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 78svh;
    padding: 6rem 0 4rem;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse 55% 60% at 78% 35%, rgba(170, 180, 236, .22), transparent 70%),
        linear-gradient(105deg, #1B2147 0%, #2B3260 48%, #404878 100%);
}

.iv-hero-light .iv-hero-video,
.iv-hero--light .iv-hero-video {
    opacity: .18;
}

.iv-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: .42;
    pointer-events: none;
}

.iv-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(100deg, rgba(27, 33, 71, .94) 0%, rgba(43, 50, 96, .82) 45%, rgba(64, 72, 120, .55) 100%);
}

.iv-hero--light .iv-hero-shade {
    background: linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 45%, rgba(244, 245, 250, .78) 100%);
}

.iv-hero::before {
    z-index: 1;
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
    pointer-events: none;
}

.iv-hero--center {
    justify-content: center;
    text-align: center;
    min-height: 72svh;
}

.iv-hero--full {
    min-height: 100svh;
}

.iv-hero--light {
    color: var(--text);
    background:
        radial-gradient(ellipse 60% 55% at 20% 15%, rgba(170, 180, 236, .35), transparent 65%),
        radial-gradient(ellipse 70% 60% at 95% 85%, rgba(64, 72, 120, .12), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
    min-height: 66svh;
}

.iv-hero--light::before {
    display: none;
}

.iv-page .iv-hero--light .iv-h1,
.iv-page .iv-hero--light .iv-h2 {
    color: var(--indigo);
}

.iv-page .iv-hero--light .iv-lead,
.iv-page .iv-hero--light p {
    color: var(--text);
}

.iv-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.iv-hero .iv-h1 {
    color: #fff;
    max-width: 18ch;
    margin: 1.1rem 0 1.4rem;
}

.iv-hero--center .iv-h1 {
    margin-left: auto;
    margin-right: auto;
}

.iv-hero .iv-lead {
    color: rgba(255, 255, 255, .82);
    max-width: 62ch;
}

.iv-hero--center .iv-lead {
    margin-left: auto;
    margin-right: auto;
}

.iv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.iv-hero--center .iv-hero-actions {
    justify-content: center;
}

.iv-hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .28;
    mix-blend-mode: luminosity;
    z-index: 0;
}

.iv-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    perspective: 1500px;
}

.iv-layer {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
}

.iv-layer > .iv-fa,
.iv-layer > .iv-fb,
.iv-layer > .iv-fc {
    position: relative;
    width: 100%;
    height: 100%;
}

.iv-layer--dash {
    right: 4%;
    top: 20%;
    width: min(46vw, 620px);
    display: none;
}

@media (min-width: 1024px) {
    .iv-layer--dash {
        display: block;
    }
}

/* Floating / spinning decorations */
@keyframes ivFloatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes ivFloatB {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(12px) rotate(3deg); }
}

@keyframes ivBarUp {
    0%, 100% { transform: scaleY(.35); }
    50% { transform: scaleY(1); }
}

@keyframes ivDonut {
    to { stroke-dashoffset: 0; }
}

.iv-fa { animation: ivFloatA 8s ease-in-out infinite; }
.iv-fb { animation: ivFloatB 7s ease-in-out infinite; }
.iv-fc { animation: ivFloatA 11s ease-in-out infinite reverse; }

/* ─── Hero scene layers ─────────────────────────────────────────────────── */
.iv-scene--inline {
    position: relative;
    inset: auto;
    perspective: 1500px;
}

.iv-layer--flow {
    position: relative;
}

/* Glass dashboard inside the hero */
.iv-dash {
    border-radius: 24px;
    padding: 1.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
    transform-style: preserve-3d;
}

@media (min-width: 768px) {
    .iv-dash {
        padding: 1.5rem;
    }
}

.iv-dash-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.iv-dash-dots {
    display: flex;
    gap: .375rem;
}

.iv-dash-dots i {
    width: .625rem;
    height: .625rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    display: block;
}

.iv-dash-dots i:nth-child(2) { background: rgba(255, 255, 255, .2); }
.iv-dash-dots i:nth-child(3) { background: rgba(255, 255, 255, .1); }

.iv-dash-track {
    width: 6rem;
    height: .5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .15);
}

#iv-candles {
    width: 100%;
    height: 240px;
    display: block;
}

.iv-dash-foot {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
    margin-top: 1.25rem;
}

.iv-bars {
    grid-column: span 3;
    display: flex;
    gap: .375rem;
    height: 4rem;
    align-items: end;
}

.iv-bars span {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--lilac), rgba(170, 180, 236, .25));
    transform-origin: bottom;
    animation: ivBarUp 3.4s ease-in-out infinite;
}

.iv-bars span:nth-child(2) { animation-delay: -.4s; }
.iv-bars span:nth-child(3) { animation-delay: -.9s; }
.iv-bars span:nth-child(4) { animation-delay: -1.3s; }
.iv-bars span:nth-child(5) { animation-delay: -1.8s; }
.iv-bars span:nth-child(6) { animation-delay: -2.2s; }
.iv-bars span:nth-child(7) { animation-delay: -2.7s; }

.iv-bars span:nth-child(1) { height: 100%; }
.iv-bars span:nth-child(2) { height: 70%; }
.iv-bars span:nth-child(3) { height: 90%; }
.iv-bars span:nth-child(4) { height: 55%; }
.iv-bars span:nth-child(5) { height: 80%; }
.iv-bars span:nth-child(6) { height: 65%; }
.iv-bars span:nth-child(7) { height: 95%; }

.iv-dash-donut {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end;
}

.iv-donut-seg {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    animation: ivDonut 2.4s 2.2s ease-out forwards;
}

.iv-donut-seg--inner {
    animation-delay: 2.6s;
}

#iv-bg-chart {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.iv-hero-fade {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 8rem;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, var(--night), transparent);
}

/* ─── Growth line divider ───────────────────────────────────────────────── */
.iv-growth-divider {
    background: #fff;
    margin-top: -1.5rem;
    padding-bottom: 1rem;
    overflow: hidden;
}

.iv-growth-divider--flush {
    margin-top: 0;
    margin-bottom: -1px;
    padding-bottom: 0;
}

.iv-growth-divider svg {
    display: block;
    width: 100%;
    height: 90px;
}

@media (min-width: 768px) {
    .iv-growth-divider svg {
        height: 120px;
    }
}

.iv-growth-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.iv-shield {
    width: 124px;
    margin: 0 auto 1.5rem;
}

.iv-shield svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ─── Buttons & links ───────────────────────────────────────────────────── */
.iv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .9rem 1.6rem;
    border-radius: 9999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--indigo);
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s, color .35s;
}

.iv-btn:hover {
    transform: translateY(-2px);
    background: var(--soft2);
    color: var(--indigo);
}

.iv-btn--ind {
    background: linear-gradient(135deg, var(--indigo), var(--deep));
    border-color: transparent;
    color: #fff;
}

.iv-btn--ind:hover {
    background: linear-gradient(135deg, #56609a, var(--deep));
    color: #fff;
}

.iv-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.iv-btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.iv-btn i {
    margin: 0;
}

.iv-more {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--indigo);
    text-decoration: none;
}

.iv-more i {
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.gborder:hover .iv-more i {
    transform: translateX(6px);
}

/* ─── Gradient-border card (signature element) ──────────────────────────── */
@property --iv-a {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes ivSpinA {
    to {
        --iv-a: 360deg;
    }
}

.iv-page .gborder {
    position: relative;
    border: 1px solid transparent;
    border-radius: 20px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from var(--iv-a), rgba(64, 72, 120, .12) 0 60%, #404878 78%, #8d97d6 90%, rgba(64, 72, 120, .12) 100%) border-box;
    animation: ivSpinA 9s linear infinite;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}

.iv-page .gborder:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    animation-duration: 4s;
}

.iv-card {
    padding: 2rem;
}

.iv-card .iv-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.iv-card .iv-card-title {
    margin-bottom: .75rem;
}

.iv-card p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.iv-card .iv-more {
    margin-top: auto;
}

.iv-pill-ico {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--soft2);
    color: var(--indigo);
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    transition: background .4s, color .4s;
}

.gborder:hover .iv-pill-ico {
    background: var(--indigo);
    color: #fff;
}

.iv-pill-ico i {
    margin: 0;
    font-size: 1.1rem;
}

.iv-tile {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.4rem;
    border-radius: 20px;
}

.iv-tile .iv-pill-ico {
    margin-bottom: 0;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
}

.iv-tile p {
    margin: 0;
    line-height: 1.7;
    color: var(--text);
    font-size: .95rem;
}

/* ─── Media panels ──────────────────────────────────────────────────────── */
.iv-media {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(160deg, var(--indigo), var(--night));
    min-height: 320px;
}

.iv-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
    mix-blend-mode: luminosity;
}

.iv-media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
    z-index: 0;
}

.iv-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(27, 33, 71, .05) 0%, rgba(27, 33, 71, .35) 65%, rgba(27, 33, 71, .7) 100%);
    pointer-events: none;
}

.iv-media--tall {
    min-height: 440px;
}

.iv-media-label {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    color: #fff;
}

.iv-media-label span {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.iv-media-label small {
    color: rgba(255, 255, 255, .75);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .65rem;
}

/* ─── Services section (ported 1:1 from the approved prototype) ─────────── */
.iv-services {
    position: relative;
    overflow: hidden;
}

.iv-services-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.iv-services-blob--a {
    right: -8rem;
    top: -8rem;
    width: 420px;
    height: 420px;
    background: rgba(64, 72, 120, .10);
}

.iv-services-blob--b {
    left: -8rem;
    bottom: 0;
    width: 380px;
    height: 380px;
    background: radial-gradient(closest-side, rgba(64, 72, 120, .07), transparent);
}

.iv-services .iv-container {
    position: relative;
}

.iv-services .iv-section-head {
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .iv-services .iv-section-head {
        margin-bottom: 4rem;
    }
}

.iv-svc-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .iv-svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .iv-svc-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.iv-page .sv {
    padding: 3px;
}

.iv-page .sv--d2 { animation-delay: -2s; }
.iv-page .sv--d3 { animation-delay: -4s; }
.iv-page .sv--d4 { animation-delay: -6s; }

.iv-page .sv-in {
    position: relative;
    border-radius: 17px;
    overflow: hidden;
    background: #fff;
}

.iv-page .pic {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--night);
    isolation: isolate;
}

.iv-page .pic > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.iv-page .pic > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .9s, transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.iv-page .pic > img.ok {
    opacity: 1;
}

.iv-page .pic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(43, 50, 96, .08), rgba(27, 33, 71, .5));
}

/* Light-sweep line over service images removed at client request. */

.iv-page .sv:hover .pic > svg,
.iv-page .sv:hover .pic > img {
    transform: scale(1.07);
}

.iv-page .sv-body {
    position: relative;
    padding: 2.4rem 1.6rem 1.8rem;
}

.iv-page .sv-badge {
    position: absolute;
    top: -1.75rem;
    left: 1.6rem;
    z-index: 5;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--indigo), var(--deep));
    box-shadow: 0 14px 26px -10px rgba(43, 50, 96, .7), 0 0 0 5px #fff;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.iv-page .sv:hover .sv-badge {
    transform: rotate(-8deg) scale(1.08);
}

.iv-page .sv-title {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.375;
    color: var(--indigo);
    margin: 0;
}

.iv-page .sv-line {
    display: block;
    height: 2px;
    width: 2rem;
    margin-top: .9rem;
    background: linear-gradient(90deg, var(--indigo), var(--lilac));
    transition: width .6s cubic-bezier(.2, .8, .2, 1);
}

.iv-page .sv:hover .sv-line {
    width: 4.2rem;
}

/* Illustration motion */
.iv-page .sx-dash {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: ivSxDash 6s ease-in-out infinite;
}

@keyframes ivSxDash {
    0% { stroke-dashoffset: 700; }
    50%, 100% { stroke-dashoffset: 0; }
}

.iv-page .sx-float {
    animation: ivSxFloat 6s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.iv-page .sx-float.d2 { animation-delay: -2s; }
.iv-page .sx-float.d3 { animation-delay: -4s; }

@keyframes ivSxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.iv-page .sx-flip {
    animation: ivSxFlip 3.2s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes ivSxFlip {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(.2); }
}

.iv-page .sx-pulse {
    animation: ivSxPulse 3.6s ease-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes ivSxPulse {
    0% { transform: scale(.7); opacity: .8; }
    100% { transform: scale(2); opacity: 0; }
}

.iv-page .sx-spin {
    animation: ivSxSpin 46s linear infinite;
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes ivSxSpin {
    to { transform: rotate(360deg); }
}

.iv-page .sx-wave {
    animation: ivSxWave 9s linear infinite;
}

.iv-page .sx-wave.w2 {
    animation-duration: 13s;
    animation-direction: reverse;
}

@keyframes ivSxWave {
    to { transform: translateX(-200px); }
}

.iv-page .sx-drift {
    animation: ivSxDrift 26s linear infinite;
}

.iv-page .sx-drift--b {
    animation-duration: 34s;
    animation-delay: -14s;
}

@keyframes ivSxDrift {
    from { transform: translateX(-90px); }
    to { transform: translateX(490px); }
}

.iv-page .sx-twinkle {
    animation: ivSxTwinkle 3s ease-in-out infinite;
}

.iv-page .sx-twinkle.t1 { animation-delay: -1s; }
.iv-page .sx-twinkle.t2 { animation-delay: -2s; }
.iv-page .sx-twinkle.t3 { animation-delay: -1.5s; }
.iv-page .sx-twinkle.t4 { animation-delay: -.5s; }
.iv-page .sx-twinkle.t5 { animation-delay: -1.8s; }

@keyframes ivSxTwinkle {
    0%, 100% { opacity: .2; }
    50% { opacity: 1; }
}

.iv-page .sx-glow {
    animation: ivSxGlow 4s ease-in-out infinite;
}

.iv-page .sx-glow--d {
    animation-delay: -2s;
}

@keyframes ivSxGlow {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

.iv-page .sx-bars rect {
    transform-box: fill-box;
    transform-origin: bottom;
    animation: ivSxBars 3.6s ease-in-out infinite;
}

.iv-page .sx-bars rect:nth-child(2n) { animation-delay: -1.1s; }
.iv-page .sx-bars rect:nth-child(3n) { animation-delay: -2.2s; }
.iv-page .sx-bars rect:nth-child(5n) { animation-delay: -.6s; }

@keyframes ivSxBars {
    0%, 100% { transform: scaleY(.65); }
    50% { transform: scaleY(1); }
}

/* ─── Documents ─────────────────────────────────────────────────────────── */
.iv-doc-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem 1.1rem;
    margin: .35rem .35rem 0 0;
    border-radius: 9999px;
    background: var(--soft2);
    color: var(--indigo);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .35s, color .35s, transform .35s;
}

.iv-doc-link:hover {
    background: var(--indigo);
    color: #fff;
    transform: translateX(4px);
}

.iv-doc-link i {
    margin: 0;
}

.iv-doc-list {
    margin-top: 1.35rem;
}

.iv-letter-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem;
    text-decoration: none;
    color: inherit;
}

.iv-letter-tile span {
    font-size: .95rem;
    line-height: 1.5;
    color: var(--indigo);
    font-weight: 500;
}

.iv-letter-tile i {
    color: var(--indigo);
    transition: transform .35s;
}

.iv-letter-tile:hover i {
    transform: translate(4px, -4px);
}

/* ─── Policy cards ──────────────────────────────────────────────────────── */
.iv-policy {
    padding: 2rem;
    height: 100%;
}

.iv-policy h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 500;
    color: var(--indigo);
    margin: 0 0 .9rem;
}

.iv-policy p {
    color: var(--text);
    line-height: 1.85;
    font-size: .97rem;
    margin-bottom: 1rem;
}

/* ─── Tabs ──────────────────────────────────────────────────────────────── */
.iv-tabs {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .iv-tabs {
        grid-template-columns: 260px 1fr;
        align-items: start;
    }
}

.iv-tab-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.iv-tab {
    text-align: left;
    width: 100%;
    padding: .95rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 9999px;
    background: #fff;
    color: var(--indigo);
    font-family: var(--font-sans);
    font-size: .95rem;
    cursor: pointer;
    transition: background .35s, color .35s, transform .35s;
}

.iv-tab:hover {
    background: var(--soft2);
}

.iv-tab[aria-selected="true"] {
    background: linear-gradient(135deg, var(--indigo), var(--deep));
    border-color: transparent;
    color: #fff;
    transform: translateX(6px);
}

.iv-fund-card {
    padding: 2.2rem;
}

.iv-fund-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--indigo);
    margin: 0 0 1rem;
}

.iv-fund-card p {
    line-height: 1.85;
    font-size: .97rem;
    margin-bottom: 1rem;
}

.iv-tab-panel[hidden] {
    display: none;
}

/* ─── Our Team (cloned from ivdesign/team.html) ─────────────────────────── */
.iv-page .tm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80svh;
    padding: 7rem 0 4rem;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse 55% 60% at 75% 45%, rgba(86, 96, 154, .55), transparent 70%),
        radial-gradient(ellipse 50% 55% at 8% 90%, rgba(64, 72, 120, .5), transparent 70%),
        linear-gradient(160deg, #232a5c 0%, #1B2147 100%);
}

.iv-page .tm-hero .iv-container {
    position: relative;
    z-index: 10;
}

.iv-page .tm-gridlines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
}

.iv-page .tm-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .iv-page .tm-hero-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .iv-page .tm-hero-copy {
        grid-column: span 5;
    }

    .iv-page .tm-cons {
        grid-column: span 7;
    }
}

.iv-page .tm-hero-title {
    margin: 0;
    max-width: none;
}

.iv-page .tm-hero-rule {
    display: block;
    height: 1px;
    width: 6rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, .4);
}

/* Portrait constellation */
.iv-page .tm-cons {
    position: relative;
    inset: auto;
    height: clamp(330px, 50vw, 490px);
    perspective: 1500px;
    --k: .6;
}

@media (min-width: 640px) {
    .iv-page .tm-cons {
        --k: .8;
    }
}

@media (min-width: 1024px) {
    .iv-page .tm-cons {
        --k: 1;
    }
}

.iv-page .tm-pt-layer {
    width: calc(var(--s, 120) * var(--k) * 1px);
}

.iv-page .tm-pt--p1 { left: 2%; top: 20%; }
.iv-page .tm-pt--p2 { left: 20%; top: 62%; }
.iv-page .tm-pt--p3 { left: 26%; top: 0; }
.iv-page .tm-pt--p4 { left: 42%; top: 36%; }
.iv-page .tm-pt--p5 { left: 58%; top: 2%; }
.iv-page .tm-pt--p6 { left: 68%; top: 56%; }
.iv-page .tm-pt--p7 { left: 82%; top: 18%; }

/* All hero portraits share one size (client request). */
.iv-page .tm-pt-layer[class*="tm-pt--s"] { --s: 128; }

.iv-page .tm-pt {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 3px;
    border-radius: 50%;
    pointer-events: auto;
    background: conic-gradient(from var(--iv-a), rgba(255, 255, 255, .2) 0 55%, #aab4ec 75%, #ffffff 90%, rgba(255, 255, 255, .2) 100%);
    animation: ivSpinA 8s linear infinite;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
    box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .6);
}

.iv-page .tm-pt:hover,
.iv-page .tm-pt:focus-visible {
    transform: scale(1.09);
    box-shadow: 0 30px 60px -20px rgba(170, 180, 236, .5);
    outline: none;
    z-index: 20;
}

.iv-page .tm-pt-in {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
}

.iv-page .tm-sil {
    position: absolute;
    left: 20%;
    bottom: 0;
    width: 60%;
    height: auto;
    color: rgba(64, 72, 120, .14);
}

.iv-page .tm-pt-in img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    /* Zoom in so only the white photo background fills the circle. */
    transform: scale(1.18);
    transform-origin: 50% 30%;
    opacity: 0;
    transition: opacity .8s ease;
}

.iv-page .tm-pt-in img.ok {
    opacity: 1;
}

.iv-page .tm-pt::after {
    content: attr(data-name);
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translate(-50%, 6px);
    white-space: nowrap;
    padding: .4rem .85rem;
    border-radius: 9999px;
    font-size: .78rem;
    letter-spacing: .04em;
    color: #fff;
    background: rgba(27, 33, 71, .88);
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

.iv-page .tm-pt:hover::after,
.iv-page .tm-pt:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Member profiles */
.iv-page .tm {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .iv-page .tm {
        padding: 6rem 0;
    }
}

.iv-page .tm--soft {
    background: var(--soft);
}

.iv-page .tm-blob {
    position: absolute;
    left: -10rem;
    top: 2.5rem;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(64, 72, 120, .07), transparent);
    pointer-events: none;
}

.iv-page .tm-grid {
    position: relative;
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .iv-page .tm-grid {
        grid-template-columns: 4fr 8fr;
        gap: 4.5rem;
    }

    /* Mirrored members keep the photo in the narrow column so every portrait
       and bio renders at the same size. */
    .iv-page .tm--flip .tm-grid {
        grid-template-columns: 8fr 4fr;
    }

    .iv-page .tm--flip .tm-photo {
        order: 2;
    }
}

.iv-page .tm-photo {
    position: relative;
}

@media (min-width: 1024px) {
    .iv-page .tm-photo {
        position: sticky;
        top: 7rem;
    }
}

.iv-page .tm-ph-wrap {
    position: relative;
    max-width: 420px;
    margin-inline: auto;
    perspective: 1500px;
}

.iv-page .tm-ph {
    padding: 3px;
    border-radius: 26px;
}

.iv-page .tm-ph-in {
    position: relative;
    aspect-ratio: 5 / 6;
    border-radius: 23px;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse 80% 60% at 50% 25%, #5a64a8 0%, #2B3260 60%, #1B2147 100%);
}

.iv-page .tm-ph-in::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
    background-size: 34px 34px;
}

.iv-page .tm-ph-in .tm-sil {
    z-index: 0;
    color: rgba(255, 255, 255, .16);
}

.iv-page .tm-ph-in img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
    opacity: 0;
    transition: opacity .9s ease;
    z-index: 1;
    will-change: transform;
}

.iv-page .tm-ph-in img.ok {
    opacity: 1;
}

.iv-page .tm-ph-in::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 62%, rgba(27, 33, 71, .40));
}

.iv-page .tm-name {
    margin: 0;
}

.iv-page .tm-role {
    margin: 1rem 0 0;
    font-family: var(--font-sans);
    font-weight: 400;
}

.iv-page .tm-role > span {
    display: block;
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--grey);
    line-height: 1.5;
}

.iv-page .tm-role > .tm-q {
    margin-top: .3rem;
    font-size: .95rem;
    font-weight: 400;
    color: var(--indigo);
    opacity: .85;
    text-transform: capitalize;
}

.iv-page .tm-name-line {
    display: block;
    height: 2px;
    width: 3.2rem;
    margin: 1.4rem 0 1.8rem;
    background: linear-gradient(90deg, var(--indigo), var(--lilac));
}

.iv-page .tm-bio {
    max-width: 72ch;
}

.iv-page .tm-bio p {
    font-size: 1.04rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.iv-page .tm-letter {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.iv-page .tm-letter-label {
    display: block;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: .85rem;
}


/* ─── Contact ───────────────────────────────────────────────────────────── */
.iv-contact-cards {
    margin-top: 0;
    position: relative;
    z-index: 3;
}

@media (min-width: 1024px) {
    .iv-contact-cards {
        margin-top: -3rem;
    }
}

.iv-contact-card {
    padding: 1.9rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.iv-contact-card .iv-pill-ico {
    margin: 0 auto 1rem;
}

.iv-contact-card h3 {
    font-family: var(--font-sans);
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--indigo);
    margin: 0 0 .6rem;
}

.iv-contact-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-size: .97rem;
}

.iv-map-card {
    position: relative;
    border-radius: 26px;
    padding: 3px;
    background: conic-gradient(from 210deg, rgba(64, 72, 120, .25), #404878, #8d97d6, rgba(64, 72, 120, .25));
    overflow: hidden;
}

.iv-map-card iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 23px;
    filter: saturate(.7);
}

@media (min-width: 768px) {
    .iv-map-card iframe {
        height: 480px;
    }
}

.iv-form-card {
    padding: 2.2rem;
}

@media (min-width: 768px) {
    .iv-form-card {
        padding: 3rem;
    }
}

.iv-field {
    margin-bottom: 1.25rem;
}

.iv-field label {
    display: block;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--indigo);
    letter-spacing: .02em;
    margin-bottom: .45rem;
}

.iv-field input,
.iv-field textarea {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
}

.iv-field input:focus,
.iv-field textarea:focus {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(64, 72, 120, .12);
    background: #fff;
}

.iv-form-row {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .iv-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.iv-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ─── CTA band (ported 1:1 from the approved prototype) ─────────────────── */
.cta {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    text-align: center;
    color: #fff;
    background: var(--night);
}

@media (min-width: 768px) {
    .cta {
        padding: 11rem 0;
    }
}

.cta-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.6s ease;
}

.cta-img.ok {
    opacity: .55;
}

.kb {
    animation: ivKb 30s ease-in-out infinite alternate;
}

@keyframes ivKb {
    from { transform: scale(1.05) translate(0, 0); }
    to { transform: scale(1.2) translate(-2.5%, -1.5%); }
}

.cta-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 65% at 50% 50%, rgba(27, 33, 71, .80), rgba(27, 33, 71, .25) 80%),
        linear-gradient(120deg, rgba(27, 33, 71, .72), rgba(64, 72, 120, .40));
}

#ctaChart {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 52% 58% at 50% 50%, rgba(0, 0, 0, .28), #000 78%);
    mask-image: radial-gradient(ellipse 52% 58% at 50% 50%, rgba(0, 0, 0, .28), #000 78%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.iv-page .cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.1;
    font-weight: 500;
    color: #fff;
    margin: 0 0 2.5rem;
}

.cta .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    overflow: hidden;
    padding: .95rem 1.8rem;
    border-radius: 9999px;
    border: 0;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .04em;
    background: #fff;
    color: var(--indigo);
    text-decoration: none;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}

.cta .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--soft2);
    transform: translateY(101%);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.cta .btn:hover::after {
    transform: translateY(0);
}

.cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}

.cta .btn > * {
    position: relative;
    z-index: 1;
}

.iv-product h4 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    color: var(--indigo);
    line-height: 1.5;
}

/* ─── Products ──────────────────────────────────────────────────────────── */
.iv-product {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.15rem 1.25rem;
}

.iv-product .iv-pill-ico {
    width: 2.4rem;
    height: 2.4rem;
    margin: 0;
    flex: 0 0 auto;
}

/* ─── Reveal motion (progressive enhancement) ───────────────────────────── */
/* Reveals are driven by GSAP; without it the content simply stays visible. */
.js.iv-no-motion .iv-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .iv-page *,
    .site-header,
    .site-footer {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .iv-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── Misc ──────────────────────────────────────────────────────────────── */
.iv-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    margin: 0;
}

.iv-note {
    font-size: .85rem;
    color: var(--grey);
    line-height: 1.7;
}

.iv-label {
    display: block;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--indigo);
    margin: 2rem 0 1rem;
}

.iv-alert {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.iv-alert--success {
    background: #eef4ee;
    color: #256b39;
    border: 1px solid #cfe3d3;
}

.iv-alert--error {
    background: #fbeeee;
    color: #8b2f2f;
    border: 1px solid #efd0d0;
}

/* ─── About page (cloned from ivdesign/about.html) ───────────────────────── */
.iv-page .ab-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 88svh;
    padding: 7rem 0 5rem;
    background:
        radial-gradient(ellipse 55% 50% at 85% 20%, rgba(64, 72, 120, .14), transparent 70%),
        radial-gradient(ellipse 45% 45% at 10% 90%, rgba(96, 96, 96, .08), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.iv-page .ab-hero .iv-container {
    position: relative;
    z-index: 10;
}

.iv-page .iv-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(64, 72, 120, .22) 1px, transparent 1.2px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, #000 10%, transparent 75%);
}

.iv-page .ab-hero-dots {
    opacity: .6;
}

.iv-page .ab-hero-blob {
    position: absolute;
    left: -10rem;
    top: 33%;
    width: 460px;
    height: 460px;
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(64, 72, 120, .10), transparent);
    pointer-events: none;
}

.iv-page .ab-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .iv-page .ab-hero-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 4rem;
    }

    .iv-page .ab-hero-copy,
    .iv-page .ab-scene {
        grid-column: span 6;
    }
}

.iv-page .ab-h1 {
    margin-bottom: 2rem;
}

.iv-page .ab-hero-lead {
    max-width: 60ch;
    margin-bottom: 1.5rem;
}

.iv-page .ab-hero-lead:last-child {
    margin-bottom: 0;
}

.iv-page .ab-hero-lead p {
    margin: 0;
    color: var(--text);
}

/* hero scene: framed video + floating plates */
.iv-page .ab-scene {
    position: relative;
    inset: auto;
    perspective: 1500px;
    pointer-events: none;
}

.iv-page .ab-vid-card {
    padding: 3px;
    border-radius: 28px;
}

.iv-page .ab-vid-card:hover {
    transform: none;
    box-shadow: none;
    animation-duration: 9s;
}

.iv-page .ab-vid-in {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    max-height: 72vh;
    border-radius: 25px;
    overflow: hidden;
    background: var(--night);
    isolation: isolate;
}

@media (min-width: 1024px) {
    .iv-page .ab-vid-in {
        aspect-ratio: 4 / 5;
    }
}

.iv-page .ab-vid-in video,
.iv-page .ab-vid-in img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iv-page .ab-vid-in::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(43, 50, 96, .10), rgba(27, 33, 71, .50)),
        radial-gradient(ellipse at 85% 15%, rgba(170, 180, 236, .28), transparent 60%);
}

.iv-page .iv-vc {
    position: absolute;
    z-index: 3;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(255, 255, 255, .75);
    pointer-events: none;
}

.iv-page .iv-vc.tl {
    left: 16px;
    top: 16px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 8px 0 0 0;
}

.iv-page .iv-vc.tr {
    right: 16px;
    top: 16px;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 8px 0 0;
}

.iv-page .iv-vc.bl {
    left: 16px;
    bottom: 16px;
    border-right: 0;
    border-top: 0;
    border-radius: 0 0 0 8px;
}

.iv-page .iv-vc.br {
    right: 16px;
    bottom: 16px;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 8px 0;
}

.iv-page .ab-layer--video {
    position: relative;
    inset: auto;
    width: 100%;
}

/* sections */
.iv-page .ab-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .iv-page .ab-section {
        padding: 7rem 0;
    }
}

.iv-page .ab-section--white {
    background: #fff;
}

.iv-page .ab-section--soft {
    background: var(--soft);
}

.iv-page .ab-section--mesh {
    background:
        radial-gradient(ellipse 55% 50% at 85% 20%, rgba(64, 72, 120, .14), transparent 70%),
        radial-gradient(ellipse 45% 45% at 10% 90%, rgba(96, 96, 96, .08), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.iv-page .ab-section .iv-container {
    position: relative;
}

.iv-page .ab-blob-soft {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(64, 72, 120, .07), transparent);
    pointer-events: none;
}

.iv-page .ab-blob-soft--left {
    left: -10rem;
    top: 2.5rem;
}

.iv-page .ab-blob-soft--right {
    right: -10rem;
    bottom: 0;
}

.iv-page .ab-blob-strong {
    position: absolute;
    right: -8rem;
    top: -8rem;
    width: 420px;
    height: 420px;
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(64, 72, 120, .10), transparent);
    pointer-events: none;
}

.iv-page .ab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .iv-page .ab-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 4rem;
    }

    .iv-page .ab-col-4 {
        grid-column: span 4;
    }

    .iv-page .ab-col-5 {
        grid-column: span 5;
    }

    .iv-page .ab-col-7 {
        grid-column: span 7;
    }

    .iv-page .ab-col-8 {
        grid-column: span 8;
    }

    .iv-page .ab-col-5.ab-sticky {
        position: sticky;
        top: 7rem;
    }
}

.iv-page .ab-h2 {
    margin-bottom: 2rem;
}

.iv-page .ab-h2--funds {
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .iv-page .ab-h2--funds {
        margin-bottom: 4rem;
    }
}

.iv-page .ab-lead {
    margin-bottom: 2.5rem;
}

.iv-page .ab-lead p {
    margin: 0;
    color: var(--text);
}

.iv-page .ab-lab {
    display: block;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--indigo);
    letter-spacing: .02em;
    margin: 0 0 1.25rem;
}

.iv-page .ab-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .iv-page .ab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.iv-page .ab-li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
}

.iv-page .ab-li .iv-ico-pill {
    margin-bottom: 0;
    flex: none;
    width: 2.9rem;
    height: 2.9rem;
}

.iv-page .ab-li .ab-t {
    line-height: 1.45;
    color: var(--text);
}

.iv-page .iv-ico-pill {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--soft2);
    color: var(--indigo);
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    transition: background .4s, color .4s;
}

.iv-page .gborder:hover .iv-ico-pill {
    background: var(--indigo);
    color: #fff;
}

.iv-page .pic.tall {
    aspect-ratio: 4 / 5;
}

/* funds */
.iv-page .iv-tabsplit {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .iv-page .iv-tabsplit {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 3rem;
    }

    .iv-page .iv-tabsplit > .iv-tabsplit-list {
        grid-column: span 4;
    }

    .iv-page .iv-tabsplit > .iv-tabsplit-card {
        grid-column: span 8;
    }
}

.iv-page .iv-tabsplit-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.iv-page .iv-tabsplit-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--indigo);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.02rem;
    cursor: pointer;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .4s, color .4s, border-color .3s, box-shadow .5s;
}

.iv-page .iv-tabsplit-tab .iv-ico-pill {
    margin-bottom: 0;
    flex: none;
    width: 2.9rem;
    height: 2.9rem;
}

.iv-page .iv-tabsplit-tab:hover {
    border-color: var(--indigo);
}

.iv-page .iv-tabsplit-tab:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 3px;
}

.iv-page .iv-tabsplit-tab[aria-selected="true"] {
    background: linear-gradient(135deg, var(--indigo), var(--deep));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 18px 36px -18px rgba(43, 50, 96, .65);
    transform: translateX(6px);
}

.iv-page .iv-tabsplit-tab[aria-selected="true"] .iv-ico-pill {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.iv-page .iv-tabsplit-card {
    padding: 1.75rem;
}

@media (min-width: 768px) {
    .iv-page .iv-tabsplit-card {
        padding: 2.5rem;
    }
}

.iv-page .iv-tabsplit-card:hover {
    transform: none;
    box-shadow: none;
    animation-duration: 9s;
}

.iv-page .iv-tabsplit-panel[hidden] {
    display: none;
}

.iv-page .iv-tabsplit-panel p {
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.iv-page .ab-fund-spark {
    display: block;
    width: 100%;
    height: 54px;
    margin-bottom: 1.4rem;
}

.iv-page .iv-panel-in {
    animation: abPanelIn .7s cubic-bezier(.2, .8, .2, 1) both;
}

.iv-page .iv-btn-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    overflow: hidden;
    padding: .95rem 1.8rem;
    border-radius: 9999px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .04em;
    text-decoration: none;
    background: linear-gradient(135deg, var(--indigo), var(--deep));
    color: #fff;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}

.iv-page .iv-btn-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #56609a;
    transform: translateY(101%);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.iv-page .iv-btn-pill:hover::after {
    transform: translateY(0);
}

.iv-page .iv-btn-pill:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}

.iv-page .iv-btn-pill > * {
    position: relative;
    z-index: 1;
}

.iv-page .iv-btn-pill--mt {
    margin-top: .5rem;
}

/* products */
.iv-page .ab-products-intro {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.375;
    max-width: 34ch;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .iv-page .ab-products-intro {
        margin-bottom: 3.5rem;
    }
}

.iv-page .ab-products-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .iv-page .ab-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .iv-page .ab-products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.iv-page .ab-pc {
    position: relative;
    padding: 1.7rem 1.5rem 1.6rem;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.iv-page .ab-pc .iv-ico-pill {
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1.6rem;
}

.iv-page .ab-pc h4 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--indigo);
    margin: 0;
}

.iv-page .ab-pc::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 110px;
    height: 110px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(64, 72, 120, .10), transparent 70%);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
}

.iv-page .ab-pc:hover::after {
    transform: scale(1.8);
}

/* animated initials for page titles that split words (prototype bolds the
   first letter of every word on interior pages) */
.iv-page .iv-h1--initials .wm > span::first-letter {
    font-weight: 700;
}

/* staggered gborder sweep, replacing the prototype's inline animation-delay */
.iv-page .iv-d2 { animation-delay: -2s; }
.iv-page .iv-d3 { animation-delay: -3s; }
.iv-page .iv-d4 { animation-delay: -4s; }
.iv-page .iv-d5 { animation-delay: -5s; }
.iv-page .iv-d6 { animation-delay: -6s; }
.iv-page .iv-d7 { animation-delay: -7s; }
.iv-page .iv-d8 { animation-delay: -8s; }
.iv-page .iv-d9 { animation-delay: -9s; }

@keyframes abPanelIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ─── Compliance (cloned from ivdesign/compliance.html) ──────────────────── */
.iv-page .cp-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84svh;
    padding: 7rem 0 4rem;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(ellipse 55% 55% at 50% 36%, rgba(86, 96, 154, .62), transparent 70%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(64, 72, 120, .45), transparent 70%),
        linear-gradient(180deg, #232a5c 0%, #1B2147 100%);
}

.iv-page .cp-hero-inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iv-page .cp-gridlines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 80%);
}

.iv-page .cp-sweep {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 1100px;
    height: 1100px;
    margin: -550px 0 0 -550px;
    border-radius: 50%;
    pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(170, 180, 236, .20) 55deg, transparent 57deg);
    -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%);
    mask-image: radial-gradient(circle, #000 18%, transparent 66%);
    animation: cpOrbitSpin 12s linear infinite;
}

/* Shield, orbits and radar */
.iv-page .cp-stage {
    position: relative;
    inset: auto;
    width: min(92vw, 520px);
    height: clamp(250px, 36vw, 330px);
    perspective: 1500px;
}

.iv-page .cp-cen {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
}

.iv-page .cp-shield {
    position: absolute;
    left: -75px;
    top: -87px;
    width: 150px;
    height: 174px;
    filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .45));
}

.iv-page .cp-orbit {
    position: absolute;
    left: calc(var(--d) / -2);
    top: calc(var(--d) / -2);
    width: var(--d);
    height: var(--d);
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .22);
    animation: cpOrbitSpin var(--t, 40s) linear infinite var(--dir, normal);
}

.iv-page .cp-orbit--a {
    --d: 310px;
    --t: 38s;
}

.iv-page .cp-orbit--b {
    --d: 470px;
    --t: 54s;
    --dir: reverse;
    --rdir: normal;
}

.iv-page .cp-node {
    position: absolute;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55);
}

.iv-page .cp-node--sm {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
}

.iv-page .cp-node > i {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    animation: cpOrbitSpin var(--t, 40s) linear infinite var(--rdir, reverse);
}

.iv-page .cp-node--a1 { left: 75%; top: 6.7%; }
.iv-page .cp-node--a2 { left: 93.3%; top: 75%; }
.iv-page .cp-node--a3 { left: 25%; top: 93.3%; }
.iv-page .cp-node--a4 { left: 6.7%; top: 25%; }
.iv-page .cp-node--b1 { left: 50%; top: 0; }
.iv-page .cp-node--b2 { left: 100%; top: 50%; }
.iv-page .cp-node--b3 { left: 50%; top: 100%; }
.iv-page .cp-node--b4 { left: 0; top: 50%; }

@keyframes cpOrbitSpin {
    to {
        transform: rotate(360deg);
    }
}

.iv-page .cp-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 250px;
    height: 250px;
    margin: -125px 0 0 -125px;
    border-radius: 50%;
    border: 1px solid rgba(170, 180, 236, .55);
    animation: cpPulseOut 6.6s ease-out infinite;
    pointer-events: none;
}

.iv-page .cp-pulse--d1 {
    animation-delay: -2.2s;
}

.iv-page .cp-pulse--d2 {
    animation-delay: -4.4s;
}

@keyframes cpPulseOut {
    0% {
        transform: scale(.45);
        opacity: .7;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.iv-page .cp-draw {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: cpDrawShort 4.2s ease-in-out infinite;
}

@keyframes cpDrawShort {
    0% {
        stroke-dashoffset: 100;
    }

    40%, 100% {
        stroke-dashoffset: 0;
    }
}

.iv-page .cp-hero-title {
    margin: 1rem 0 0;
    max-width: none;
}

@media (min-width: 768px) {
    .iv-page .cp-hero-title {
        margin-top: 2rem;
    }
}

.iv-page .cp-hero-rule {
    display: block;
    height: 1px;
    width: 6rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, .4);
}

/* Sections */
.iv-page .cp-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .iv-page .cp-section {
        padding: 7rem 0;
    }
}

.iv-page .cp-section--white {
    background: #fff;
}

.iv-page .cp-section--soft {
    background: var(--soft);
}

.iv-page .cp-section--mesh {
    background:
        radial-gradient(ellipse 55% 50% at 85% 20%, rgba(64, 72, 120, .14), transparent 70%),
        radial-gradient(ellipse 45% 45% at 10% 90%, rgba(96, 96, 96, .08), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.iv-page .cp-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(64, 72, 120, .07), transparent);
    pointer-events: none;
}

.iv-page .cp-blob--tl {
    left: -10rem;
    top: 2.5rem;
}

.iv-page .cp-blob--bl {
    left: -10rem;
    bottom: 0;
}

.iv-page .cp-blob--tr {
    right: -8rem;
    top: -8rem;
    background: rgba(64, 72, 120, .10);
}

.iv-page .cp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .iv-page .cp-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 4rem;
    }

    .iv-page .cp-col-5 {
        grid-column: span 5;
    }

    .iv-page .cp-col-7 {
        grid-column: span 7;
    }
}

.iv-page .cp-h2 {
    margin-bottom: 2rem;
}

.iv-page .cp-h2--letters {
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .iv-page .cp-h2--letters {
        margin-bottom: 4rem;
    }
}

.iv-page .cp-lead p {
    margin: 0;
    color: var(--text);
}

/* Policy cards */
.iv-page .cp-intro {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--indigo);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    line-height: 1.375;
    max-width: 44ch;
    margin: 0 0 3rem;
}

@media (min-width: 768px) {
    .iv-page .cp-intro {
        margin-bottom: 4rem;
    }
}

.iv-page .cp-policies {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .iv-page .cp-policies {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.iv-page .cp-pol {
    padding: 2rem 1.8rem 1.9rem;
    display: flex;
    flex-direction: column;
}

.iv-page .cp-pol .iv-ico-pill {
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1.4rem;
}

.iv-page .cp-pol h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--indigo);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.iv-page .cp-pol-body p {
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
}

.iv-page .cp-doc-links {
    margin-top: auto;
    padding-top: .6rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.iv-page .cp-doc-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1rem;
    border-radius: 14px;
    background: var(--soft2);
    color: var(--indigo);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
    transition: background .35s, color .35s, transform .45s cubic-bezier(.2, .8, .2, 1);
}

.iv-page .cp-doc-link svg {
    flex: none;
}

.iv-page .cp-doc-link:hover {
    background: var(--indigo);
    color: #fff;
    transform: translateX(4px);
}

/* Letters of compliance */
.iv-page .cp-letters {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .iv-page .cp-letters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .iv-page .cp-letters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.iv-page .cp-dt {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.25rem;
    border-radius: 18px;
    text-decoration: none;
}

.iv-page .cp-dt .iv-ico-pill {
    margin-bottom: 0;
    flex: none;
    width: 3rem;
    height: 3rem;
}

.iv-page .cp-dt-t {
    flex: 1;
    line-height: 1.4;
    color: var(--text);
}

.iv-page .cp-dt-go {
    flex: none;
    color: var(--indigo);
    opacity: .5;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}

.iv-page .cp-dt:hover .cp-dt-go {
    opacity: 1;
    transform: translate(3px, -3px);
}

.iv-page .cp-dt:hover .iv-ico-pill {
    background: var(--indigo);
    color: #fff;
}

/* FAIS / FICA panels */
.iv-page .cp-panel-title {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--indigo);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.375;
    margin: 0 0 1.5rem;
}

/* ─── Contact (cloned from ivdesign/contact.html) ────────────────────────── */
.iv-page .ct-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 86svh;
    padding: 7rem 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 50% at 85% 20%, rgba(64, 72, 120, .14), transparent 70%),
        radial-gradient(ellipse 45% 45% at 10% 90%, rgba(96, 96, 96, .08), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.iv-page .ct-hero-dots {
    opacity: .5;
}

.iv-page .ct-hero-map {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .iv-page .ct-hero-map {
        width: 68%;
    }
}

.iv-page .ct-map-svg {
    width: 100%;
    height: 100%;
}

.iv-page .ct-route {
    stroke-dasharray: 60 240;
    animation: ctRouteRun 7s linear infinite;
}

.iv-page .ct-route--b {
    animation-duration: 9s;
    animation-direction: reverse;
}

@keyframes ctRouteRun {
    from {
        stroke-dashoffset: 300;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.iv-page .ct-hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .iv-page .ct-hero-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .iv-page .ct-hero-copy,
    .iv-page .ct-scene {
        grid-column: span 6;
    }
}

.iv-page .ct-hero-title {
    margin: 0 0 2rem;
    max-width: none;
}

.iv-page .ct-hero-lead {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
    line-height: 1.375;
    max-width: 34ch;
    color: var(--indigo);
    margin: 0;
}

.iv-page .ct-hero-rule {
    display: block;
    height: 1px;
    width: 6rem;
    margin-top: 2rem;
    background: rgba(64, 72, 120, .4);
}

.iv-page .ct-scene {
    position: relative;
    inset: auto;
    height: 300px;
    perspective: 1500px;
}

@media (min-width: 640px) {
    .iv-page .ct-scene {
        height: 380px;
    }
}

.iv-page .ct-cen {
    position: absolute;
    left: 62%;
    top: 52%;
    width: 0;
    height: 0;
}

.iv-page .ct-pin {
    position: absolute;
    left: -32px;
    top: -78px;
    width: 64px;
    height: 84px;
    filter: drop-shadow(0 18px 20px rgba(43, 50, 96, .35));
}

.iv-page .ct-rip {
    position: absolute;
    left: -110px;
    top: -110px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(64, 72, 120, .5);
    transform: scale(.2);
    opacity: 0;
    animation: ctRipOut 4.8s ease-out infinite;
}

.iv-page .ct-rip--d1 {
    animation-delay: -1.6s;
}

.iv-page .ct-rip--d2 {
    animation-delay: -3.2s;
}

@keyframes ctRipOut {
    0% {
        transform: scale(.2);
        opacity: .8;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.iv-page .ct-chip {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--indigo);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(64, 72, 120, .16);
    box-shadow: 0 26px 40px -22px rgba(43, 50, 96, .5), inset 0 1px 0 #fff;
}

.iv-page .ct-chip--sm {
    width: 46px;
    height: 46px;
}

.iv-page .ct-layer--chip-a {
    left: 18%;
    top: 14%;
}

.iv-page .ct-layer--chip-b {
    left: 36%;
    top: 74%;
}

/* Contact details */
.iv-page .ct-details {
    position: relative;
    padding-bottom: 2rem;
    background: #fff;
}

@media (min-width: 768px) {
    .iv-page .ct-details {
        padding-bottom: 3rem;
    }
}

.iv-page .ct-details-grid {
    position: relative;
    margin-top: -1.5rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .iv-page .ct-details-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.iv-page .ct-ci {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.8rem;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.iv-page .ct-ci .iv-ico-pill {
    width: 3.2rem;
    height: 3.2rem;
}

.iv-page .ct-ci-title {
    font-family: var(--font-sans);
    font-size: .95rem;
    letter-spacing: .2em;
    font-weight: 500;
    color: var(--indigo);
    margin: 0 0 .75rem;
}

.iv-page .ct-ci-value {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.iv-page .ct-ci-value--break {
    overflow-wrap: anywhere;
}

.iv-page a.ct-ci:hover .ct-ci-value {
    color: var(--indigo);
}

/* Map */
.iv-page .ct-map {
    position: relative;
    padding: 3rem 0;
    background: #fff;
}

@media (min-width: 768px) {
    .iv-page .ct-map {
        padding: 4rem 0;
    }
}

.iv-page .ct-map-card {
    padding: 3px;
    border-radius: 28px;
    background: #fff;
}

.iv-page .ct-map-card:hover {
    transform: none;
    box-shadow: none;
    animation-duration: 9s;
}

.iv-page .ct-map-in {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: clamp(320px, 46vw, 520px);
    background: var(--soft);
    isolation: isolate;
}

.iv-page .ct-map-in iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.85) contrast(1.02);
}

.iv-page .ct-map-in .iv-vc {
    border-color: rgba(64, 72, 120, .55);
    z-index: 3;
}

/* Form */
.iv-page .ct-form-section {
    position: relative;
    padding: 5rem 0;
    background: #fff;
    overflow: hidden;
}

@media (min-width: 768px) {
    .iv-page .ct-form-section {
        padding: 7rem 0;
    }
}

.iv-page .ct-form-blob {
    position: absolute;
    right: -10rem;
    top: 0;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(64, 72, 120, .07), transparent);
    pointer-events: none;
}

.iv-page .ct-form-wrap {
    position: relative;
    max-width: 1100px;
}

.iv-page .ct-form-heading {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--indigo);
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    line-height: 1.375;
    max-width: 40ch;
    margin: 0 0 2.5rem;
}

@media (min-width: 768px) {
    .iv-page .ct-form-heading {
        margin-bottom: 3.5rem;
    }
}

.iv-page .ct-form-card {
    padding: 2rem 1.5rem;
    background: #fff;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .iv-page .ct-form-card {
        padding: 3rem;
    }
}

.iv-page .ct-form-card:hover {
    transform: none;
    box-shadow: none;
    animation-duration: 9s;
}

.iv-page .ct-form-card .iv-alert {
    margin-bottom: 1.75rem;
}

.iv-page .ct-form-thanks {
    margin-bottom: 1.75rem;
}

.iv-page .ct-f-grp {
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.iv-page .ct-f-lab {
    display: block;
    padding: 0;
    margin-bottom: .6rem;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--indigo);
    letter-spacing: .02em;
}

.iv-page .ct-req {
    color: var(--grey);
}

.iv-page .ct-f-sub {
    display: block;
}

.iv-page .ct-f-sub span {
    display: block;
    margin-top: .45rem;
    font-size: .85rem;
    color: var(--grey);
}

.iv-page .ct-f-in {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--text);
    font: inherit;
    transition: border-color .3s, box-shadow .3s, background .3s;
}

.iv-page .ct-f-in:hover {
    border-color: rgba(64, 72, 120, .4);
}

.iv-page .ct-f-in:focus {
    outline: none;
    background: #fff;
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(64, 72, 120, .12);
}

.iv-page textarea.ct-f-in {
    resize: vertical;
    min-height: 9rem;
}

.iv-page .ct-f-row {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .iv-page .ct-f-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.iv-page .ct-f-row--wide {
    gap: 1.75rem;
}

.iv-page .ct-f-mt {
    margin-top: 1.75rem;
}

.iv-page .ct-f-actions {
    margin-top: 2.25rem;
}

.iv-page .ct-form-card .g-recaptcha {
    margin-top: 1.75rem;
}
