/* CSS Reset & Variables */
:root {
    --white: #ffffff;
    --black: #050505;
    /* Deeper black */
    --graphite: #1a1a1a;
    --dark-gray: #2a2a2a;
    --mid-gray: #6b6b6b;
    --light-gray: #e5e5e5;
    --off-white: #f4f4f4;
    --border-gray: rgba(0, 0, 0, 0.12);

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;

    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-lift: 0 30px 70px rgba(0, 0, 0, 0.18);
    /* Smoother shadow */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-pill: 50px;

    --container-width: 1400px;
    /* Wider container for cinematic feel */
    --header-height: 100px;
    --header-height-mobile: 70px;
}


/* Custom Cursor */
/* Hide default cursor only on devices with fine pointers */
@media (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    [role="button"] {
        cursor: none;
    }
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    /* Visible white border */
    background-color: rgba(255, 255, 255, 0.2);
    /* Subtle background */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1),
        height 0.3s cubic-bezier(0.19, 1, 0.22, 1),
        background-color 0.3s,
        border-color 0.3s,
        opacity 0.3s;
    mix-blend-mode: difference;
    opacity: 0;
    /* Hidden by default until JS activates it */
}

.cursor.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    mix-blend-mode: difference;
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body.private-office-page {
    background-color: #050505;
    color: var(--white);
}

body.private-office-page header:not(.scrolled) .logo {
    color: var(--white);
}

body.private-office-page header:not(.scrolled) .hamburger .line {
    background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    color: var(--mid-gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--mid-gray);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 500;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-gray {
    background-color: var(--off-white);
}

.bg-dark {
    background-color: var(--black);
    color: var(--white);
}

/* ========================================
   GLOBAL MOBILE RESPONSIVENESS
   ======================================== */

/* Tablet and Below (768px) */
@media (max-width: 768px) {

    /* Typography Scaling */
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    /* Container & Section Padding */
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    /* Header Mobile Fixes */
    header {
        height: 70px;
        padding: 0 1.5rem;
    }

    .logo {
        font-size: 0.9rem;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(calc(-50% - 10px), -50%);
    }

    .logo-img {
        height: 45px;
    }

    .hamburger {
        margin-right: 0;
        margin-left: auto;
    }

    /* Overlay Menu */
    .overlay-menu a {
        font-size: 2rem !important;
        /* Smaller size for mobile */
    }

    .overlay-menu li {
        margin: 1rem 0;
    }

    .menu-close {
        top: 1.5rem;
        right: 1.5rem;
        width: 35px;
        height: 35px;
    }

    .close-line {
        width: 25px;
    }

    /* Hero Mobile */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* Cards Grid Mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-img {
        height: 180px;
    }

    /* About Grid Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    /* Contact Grid Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stats Grid Mobile */
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .stat-number,
    .stat-symbol {
        font-size: 3.5rem;
    }

    /* CTA Buttons */
    .cta-btn,
    .cta-btn-dark {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }

    /* Philosophy Section */
    .philosophy-section {
        padding: 4rem 0;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .philosophy-text h2 {
        font-size: 2rem;
    }

    .philosophy-intro {
        font-size: 1.1rem !important;
    }

    .philosophy-text p {
        font-size: 1rem;
    }

    .philosophy-image img {
        height: 300px;
    }

    /* Section Title Mobile */
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 3rem;
    }

    /* Timeline Mobile */
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .timeline .line {
        display: none;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0;
    }

    /* Trust Grid Mobile */
    .trust-grid {
        flex-direction: column;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    /* Button Mobile */
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 2rem;
    }

    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }

    /* Legacy Section Mobile */
    .legacy {
        display: block;
        height: auto;
        min-height: 0;
        padding: 5rem 1.5rem;
        background-attachment: scroll;
        overflow: visible;
    }
    .legacy-content {
        margin: 0 auto;
    }

    .legacy h2 {
        font-size: 2.5rem;
    }

    .legacy p {
        font-size: 1.1rem;
    }

    /* Private Office Advisory Mobile Fixes */
    .iso-intro-strip h2 {
        font-size: 2rem;
    }

    .iso-intro-strip p {
        font-size: 1rem;
    }

    .iso-content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .iso-services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .iso-framework-row {
        padding-top: 2rem;
    }

    .gov-section {
        padding: 4rem 0;
    }

    .gov-content h2 {
        font-size: 2rem;
    }

    .gov-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .poa-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .poa-full-img {
        height: 250px !important;
    }

    .cinematic-section {
        padding: 4rem 0;
    }

    .poa-split-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Who We Are Mobile Fixes */
    .about-image-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .about-image-card img {
        height: 250px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .who-premium {
        padding: 4rem 0;
    }

    /* Private Office Advisory - Critical Mobile Fixes */

    /* Hide all decorative background elements */
    .iso-bg-decoration {
        display: none !important;
    }

    /* Fix governance image grid */
    .gov-image-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .gov-image-card {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .gov-image-card img {
        height: 200px;
        object-fit: cover;
        width: 100%;
    }

    /* Fix POA split grid */
    .poa-grid-split {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .poa-grid-split .img-col {
        order: -1;
    }

    .poa-grid-split.reverse .img-col {
        order: -1;
    }

    .poa-grid-split.reverse .text-col {
        order: 2;
    }

    /* Ensure text columns don't have fixed widths */
    .text-col,
    .img-col {
        max-width: 100% !important;
    }
}

/* Large Phones (414px) */
@media (max-width: 414px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 3.5rem 0;
    }
}

/* Standard Phones (375px) */
@media (max-width: 375px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Small Phones (320px) */
@media (max-width: 320px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--black);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5% 0 2.5%;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1001;
    color: var(--white);
    text-decoration: none;
    /* Initially white on dark hero */
    transition: color 0.3s ease;
}

header.scrolled .logo {
    color: var(--black);
}

.logo .icon {
    display: none;
}

.logo-img {
    height: 100px;
    width: auto;
}

.logo-black {
    display: none;
}

header.scrolled .logo-white {
    display: none;
}

header.scrolled .logo-black {
    display: block;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    /* Increased height slightly for 3 lines */
    position: relative;
    z-index: 1001;
    margin-right: 1.5rem;
    /* Added spacing from edge */
}

.hamburger .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--black);
    /* Default to black since most headers are white */
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

header.scrolled .hamburger .line {
    background-color: var(--black);
}


/* Ensure white lines on dark pages initially (Home & Private Office) */
body.has-dark-hero header:not(.scrolled) .hamburger .line {
    background-color: var(--white);
}

/* Hover state - Always black */
.hamburger:hover .line {
    background-color: var(--black) !important;
}

.hamburger .line:last-child {
    margin-bottom: 0;
}

/* 3-Line to X Animation */
.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--black);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--black);
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.overlay-menu.active {
    opacity: 1;
    pointer-events: auto;
}

/* Close Button in Menu */
.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: transform 0.2s ease;
}

.menu-close:hover {
    transform: rotate(90deg);
}

.close-line {
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--black);
    transition: all 0.2s ease;
}

.close-line:nth-child(1) {
    transform: rotate(45deg);
}

.close-line:nth-child(2) {
    transform: rotate(-45deg);
}

.overlay-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.overlay-menu li {
    margin: 1.5rem 0;
    /* Reduced margin slightly */
    overflow: hidden;
}

.overlay-menu a {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--black);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

/* Mobile Responsive Menu Font Size */


.overlay-menu.active a {
    transform: translateY(0);
}

.overlay-menu a:hover {
    color: var(--mid-gray);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_skyline.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.2);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.5s ease forwards 0.2s;
}

.home-page .hero .btn {
    position: relative;
    top: 18vh;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    min-height: 300px;
    display: flex;
    align-items: center;
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Areas of Practice */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    /* Reduced padding to accommodate image */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.2s ease;
    overflow: hidden;
    /* Ensure image stays inside border-radius */
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    /* Ensure monochrome look */
    transition: filter 0.2s ease;
}

.card:hover .card-img {
    filter: grayscale(0%);
    /* Optional: reveal color on hover, or keep grayscale */
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.text-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.text-link:hover {
    opacity: 1;
}

/* Approach Section */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 3rem;
}

.step {
    text-align: center;
    z-index: 2;
    background: var(--white);
    padding: 0 1rem;
}

.step-num {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mid-gray);
    margin-bottom: 0.5rem;
}

.step-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

.line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--light-gray);
    margin: 0 1rem;
}

/* Trust / Value Section */
.trust-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.trust-item {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item:last-child {
    border-right: none;
}

/* Animations System */
/* Make reveal elements visible by default - animations will enhance them */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.5, 0, 0, 1);
}

/* Initial hidden state for GSAP to animate from */
.reveal.animate-ready {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure about image container is properly sized and visible */
.about-image {
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Ensure image inside is always visible */
.about-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* .fade-up is implicitly handled by .reveal basic styles for now */

.delay-100 {
    transition-delay: 0.05s;
}

.delay-200 {
    transition-delay: 0.1s;
}

.delay-300 {
    transition-delay: 0.15s;
}

.delay-400 {
    transition-delay: 0.2s;
}

/* Contact Section (Redesigned) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mid-gray);
    font-weight: 500;
}

.detail-item .value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--black);
}

.detail-item a.value:hover {
    color: var(--mid-gray);
}

.locations-list {
    list-style: none;
    margin-top: 1rem;
}

.locations-list li {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--black);
    line-height: 1.4;
    border-bottom: 1px solid var(--light-gray);
    padding: 0.5rem 0;
}

.locations-list li:last-child {
    border-bottom: none;
}

/* Legacy Section */
.legacy {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-image: url('assets/architecture_detail.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.legacy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.legacy-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.eyebrow-light {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.legacy h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.legacy p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Impact Section */
.impact {
    background: var(--white);
    padding: 8rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-number {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    font-weight: 500;
}

.stat-symbol {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    font-weight: 500;
}

.stat-label {
    display: block;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--mid-gray);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tagline {
    font-style: italic;
    color: var(--mid-gray);
    margin-bottom: 2rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--mid-gray);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .timeline .line {
        display: none;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0;
    }

    .trust-grid {
        flex-direction: column;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
    }

    .trust-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 4rem 0;
    }

    .legacy {
        padding: 6rem 1.5rem;
    }

    .menu-close {
        top: 1.5rem;
        right: 1.5rem;
        width: 35px;
        height: 35px;
    }

    .close-line {
        width: 25px;
    }
}

/* Parallax Effects */
.parallax-hero {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.2);
    z-index: -1;
}

.parallax-img {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.parallax-img img {
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

/* Timeline Styles */
.timeline-container {
    max-width: 900px;
    margin: 4rem auto 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--light-gray);
}



.timeline-year {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--black);
}

.timeline-content h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.timeline-content p {
    color: var(--mid-gray);
    line-height: 1.8;
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.mission-item h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.values-list {
    list-style: none;
    margin-top: 1.5rem;
}

.values-list li {
    padding: 0.75rem 0;
    color: var(--mid-gray);
    border-bottom: 1px solid var(--light-gray);
    font-size: 1.1rem;
}

.values-list li:last-child {
    border-bottom: none;
}

/* Practice Detail Section */
.practice-detail-grid {
    display: grid;
    gap: 4rem;
    margin-top: 4rem;
}

.practice-detail-card {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 3rem;
    align-items: start;
    margin-bottom: 6rem;
}

.practice-detail-card:nth-child(even) {
    direction: rtl;
}

.practice-detail-card:nth-child(even)>* {
    direction: ltr;
}

.practice-image {
    width: 100%;
    min-height: 600px;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    position: sticky;
    top: 120px;
}

.practice-image img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%) contrast(1.05);
}

.practice-content h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: var(--black);
    line-height: 1.2;
}

.practice-subtitle {
    font-size: 1.1rem;
    color: var(--mid-gray);
    margin-bottom: 1.5rem;
    display: block;
}

.practice-description p {
    margin-bottom: 1.2rem;
    color: var(--mid-gray);
    line-height: 1.8;
}

.practice-list {
    list-style: none;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.practice-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    color: var(--mid-gray);
    position: relative;
}

.practice-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--black);
}

/* Success Section */
.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.success-item {
    text-align: center;
    color: var(--white);
}

.success-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.success-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.success-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Integrated Advisory Section */
.integrated-advisory-section {
    padding: 8rem 0;
}

.integrated-advisory-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.integrated-advisory-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.integrated-advisory-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--mid-gray);
    margin: 0 0 4rem 0;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    letter-spacing: 1px;
}

.service-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.jurisdictions-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--mid-gray);
    margin: 3rem 0 0 0;
    letter-spacing: 2px;
    font-family: var(--font-serif);
}

@media (max-width: 768px) {
    .integrated-advisory-title {
        font-size: 2.5rem;
    }

    .integrated-advisory-description {
        font-size: 1.1rem;
    }

    .services-list {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2rem 0;
    }

    .service-item {
        width: 100%;
    }

    .service-number {
        font-size: 1.3rem;
    }

    .service-name {
        font-size: 0.85rem;
    }

    .jurisdictions-text {
        font-size: 1rem;
    }
}

/* Approach Detail Section */
.approach-steps {
    max-width: 1000px;
    margin: 4rem auto 0;
}

.approach-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--light-gray);
}

.approach-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number-large {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    color: var(--mid-gray);
    line-height: 1;
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.step-subtitle {
    font-size: 1.1rem;
    color: var(--mid-gray);
    margin-bottom: 1.5rem;
    display: block;
    font-style: italic;
}

.step-content p {
    color: var(--mid-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.step-details {
    list-style: none;
    margin-top: 1.5rem;
}

.step-details li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    color: var(--mid-gray);
    position: relative;
}

.step-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--black);
}

/* Principles Section */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.principle-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
}

.principle-card h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.principle-card p {
    color: var(--mid-gray);
    line-height: 1.8;
}

/* Contact Form Section */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header p {
    margin-top: 1rem;
    color: var(--mid-gray);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Dubai Office Section */
.dubai-office-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dubai-office-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.dubai-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.dubai-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.dubai-office-info {
    text-align: center;
}

.dubai-office-info h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.office-details p {
    margin: 0;
    line-height: 1.8;
    color: var(--mid-gray);
}

.office-details strong {
    display: block;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.office-details a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.office-details a:hover {
    color: var(--mid-gray);
}

@media (min-width: 768px) {
    .dubai-office-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .dubai-map {
        height: 500px;
    }

    .dubai-office-info {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Locations Section */
.locations-section {
    position: relative;
    padding: 8rem 0;
    color: var(--white);
}

.locations-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -2;
}

.locations-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location-card h4 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.location-address {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.location-phone {
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s ease;
}

.location-phone:hover {
    opacity: 0.7;
}

/* Contact Form Section */
.contact-form-section {
    padding: 7rem 0;
}

.contact-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.contact-form-wrap .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-form-intro {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section .contact-form {
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-form-section .form-row {
    display: block;
    grid-template-columns: none;
    gap: 0;
    margin-bottom: 2rem;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.form-row {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.85rem 0;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:hover {
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.required {
    color: rgba(255, 255, 255, 0.35);
    margin-left: 0.15rem;
}

.contact-form-submit {
    margin-top: 1.5rem;
    align-self: flex-start;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.contact-form-status {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    min-height: 1.2em;
}

.contact-form-status.success {
    color: rgba(200, 220, 200, 0.85);
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 4.5rem 0;
    }

    .contact-form-wrap .section-header {
        margin-bottom: 2.5rem;
    }

    .contact-form-submit {
        align-self: stretch;
        text-align: center;
    }
}

.contact-info {
    margin-top: 4rem;
    text-align: center;
}

.contact-info-item {
    display: inline-block;
}

.contact-info-item .label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.contact-info-item .value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Responsive Updates */
@media (max-width: 900px) {

    .timeline-item,
    .approach-step {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-year,
    .step-number-large {
        font-size: 2rem;
    }

    .practice-detail-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
        align-items: stretch;
        overflow: visible;
    }

    .practice-detail-card:nth-child(even) {
        direction: ltr;
    }

    /* Reset sticky positioning on mobile */
    .practice-image {
        position: static;
        min-height: 300px;
        height: auto;
        transform: none;
        top: auto;
    }

    .practice-image img {
        min-height: 300px;
        height: auto;
        max-width: 100%;
        position: static;
        transform: none;
    }

    /* Ensure text flows normally */
    .practice-content {
        position: static;
        transform: none;
        width: 100%;
        overflow: visible;
    }

    /* Prevent horizontal overflow on section */
    .practice-detail-section {
        overflow-x: hidden;
    }

    .practice-detail-grid {
        overflow: visible;
    }

    /* Disable layout-affecting transforms from reveal animations */
    .practice-detail-card.reveal,
    .practice-image.reveal,
    .practice-content.reveal {
        transform: none !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* New Section Styles for Who We Are */
.who-we-are-text {
    padding-top: 1rem;
    padding-bottom: 10rem;
    text-align: center;
}

.who-we-are-text p {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--black);
    font-family: var(--font-serif);
}

.vision-approach {
    background-color: var(--off-white);
    padding: 8rem 0;
    text-align: center;
}

/* Ensure about-grid matches width if not already */
/* Ensure about-grid matches width if not already */
.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: center;
    /* Reset text align for inner content */
}

.vision-approach .eyebrow {
    display: block;
    margin-bottom: 2rem;
}

.values-section {
    padding: 8rem 0;
}

.values-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.value-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

/* Global Timeline Alignment (Center) */
.timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-bottom: 2rem;
    /* Extra space to ensure last border is visible */
}

.timeline-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Push content top, border bottom */
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--light-gray);
    height: 100%;
    /* Ensure box fills the grid row height */
}

.timeline-item:last-child {
    margin-bottom: 0;
    /* Remove bottom margin from last item so border is visible */
}

.timeline-year {
    text-align: center;
    margin-bottom: 1rem;
}

.timeline-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-content h4 {
    text-align: center;
}

.timeline-content p {
    text-align: center;
}

/* ===================================
   PRIVATE OFFICE CINEMATIC SYSTEM
   =================================== */

.cinematic-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #050505;
    padding: 10rem 0;
}

.cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-section:hover .cinematic-bg {
    transform: scale(1.05);
}

.cinematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, transparent 0%, rgba(5, 5, 5, 0.8) 70%, #050505 100%);
    z-index: 2;
}

.cinematic-overlay.reverse {
    background: radial-gradient(circle at 30% 50%, transparent 0%, rgba(5, 5, 5, 0.8) 70%, #050505 100%);
}

.cinematic-overlay.alternate {
    background: linear-gradient(to right, #050505 0%, rgba(5, 5, 5, 0.4) 50%, #050505 100%);
}

.cinematic-overlay.intense {
    background: linear-gradient(to bottom, #050505 0%, rgba(5, 5, 5, 0.2) 50%, #050505 100%);
}

.cinematic-container {
    position: relative;
    z-index: 10;
}

.cinematic-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cinematic-content.align-center {
    text-align: center;
    max-width: 900px;
}

.cinematic-eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--mid-gray);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.cinematic-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.cinematic-title.large {
    font-size: clamp(4rem, 10vw, 7rem);
}

/* Section 1 Specifics */
.cinematic-grid-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: start;
}

.cinematic-text-main p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-family: var(--font-sans);
    font-weight: 300;
}

.cinematic-sidebar {
    padding-top: 1rem;
}

.sidebar-intro {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cinematic-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.pillar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pillar-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--white);
    opacity: 0.3;
}

/* Section 2 Specifics */
.cinematic-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}

.split-left p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.services-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.cinematic-list {
    list-style: none;
    padding: 0;
    margin-bottom: 4rem;
}

.cinematic-list li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cinematic-manifesto {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--white);
}

.cinematic-manifesto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.manifesto-tags {
    display: flex;
    gap: 1.5rem;
}

.manifesto-tags span {
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

/* Section 3 Specifics */
.cinematic-narrative {
    max-width: 1000px;
}

.narrative-top {
    margin-bottom: 4rem;
}

.narrative-top p {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 2rem;
}

.narrative-middle {
    margin-bottom: 4rem;
}

.narrative-middle p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
}

.governance-blueprint {
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.blueprint-label {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 3rem;
}

.blueprint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.blueprint-grid div {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 1.5rem;
    position: relative;
}

.blueprint-grid div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--white);
    opacity: 0.2;
    transform: translateY(-50%);
}

.narrative-bottom {
    margin-top: 6rem;
}

.narrative-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

.final-note {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white) !important;
    opacity: 0.8;
}

/* Section 4 Specifics */
.philosophy-manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-statement {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    color: var(--white);
    margin-bottom: 4rem;
    line-height: 1.4;
}

.philosophy-manifesto-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.outcome-list {
    margin: 6rem 0;
    text-align: left;
}

.outcome-label {
    text-align: center;
    color: var(--white) !important;
    margin-bottom: 3rem !important;
}

.outcome-items {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.outcome-items li {
    font-size: 1.15rem;
    color: var(--white);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.conclusion-text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--white) !important;
    opacity: 0.9;
    font-style: italic;
    margin-top: 6rem !important;
}

/* Responsive Cinematic */
@media (max-width: 1024px) {

    .cinematic-grid-layout,
    .cinematic-split,
    .blueprint-grid,
    .outcome-items {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .cinematic-section {
        padding: 6rem 0;
    }

    .cinematic-overlay {
        background: rgba(5, 5, 5, 0.85);
    }
}

@media (max-width: 768px) {
    .values-grid-3 {
        grid-template-columns: 1fr;
    }

    .who-we-are-text p {
        font-size: 1.2rem;
    }

    .timeline-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

/* Private Office Advisory Layouts - Light Theme */
.poa-section {
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--white);
    /* Light background */
}

/* Hide Cinematic Backgrounds - EXCLUDING Hero */
.private-office-page .cinematic-bg,
.private-office-page .cinematic-overlay {
    background-image: none !important;
    background-color: var(--white) !important;
    display: none;
}

/* Ensure Hero Text is White against Image */
.private-office-page .hero {
    background-color: transparent;
    color: var(--white);
}

.private-office-page .hero h1,
.private-office-page .hero h2 {
    color: var(--white);
}

.private-office-page .hero p {
    color: rgba(255, 255, 255, 0.9);
}

.private-office-page .eyebrow-light {
    color: var(--white) !important;
}

.poa-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.poa-grid-split.reverse .text-col {
    order: 2;
}

.poa-grid-split.reverse .img-col {
    order: 1;
}

.poa-img-stack {
    display: grid;
    grid-template-rows: 1.5fr 1fr;
    gap: 2rem;
    height: 100%;
}

.poa-img-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.poa-full-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.poa-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px;
    gap: 1.5rem;
    margin-top: 4rem;
}

.poa-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}

.poa-mosaic img:hover {
    transform: scale(1.02);
}

/* Typography - Light Theme Overrides (Excluding Hero) */
.text-col h2,
.cinematic-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--black);
    /* Black Text */
}

.text-col p,
.intro-statement,
.philosophy-manifesto-content p {
    color: var(--mid-gray);
    /* Dark Gray Text */
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-col .eyebrow,
.cinematic-eyebrow {
    color: var(--mid-gray) !important;
}

.list-check {
    list-style: none;
    margin-top: 2rem;
}

.list-check li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--black);
    /* Black Text */
    font-size: 1.1rem;
    font-family: var(--font-serif);
}

.list-check li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--mid-gray);
}

@media (max-width: 900px) {
    .poa-grid-split {
        grid-template-columns: 1fr;
    }

    .poa-grid-split.reverse .text-col {
        order: 0;
    }

    .poa-grid-split.reverse .img-col {
        order: 1;
    }

    .poa-img-split-vertical {
        grid-template-rows: 1fr 1fr;
        height: 500px;
    }

    .poa-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .iso-content-grid,
    .iso-services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Editorial Redesign Styles */
.editorial-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 3rem;
    font-weight: 300;
}

.advisory-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.advisory-card {
    background: #f9f9f9;
    /* Very subtle luxury grey */
    padding: 2rem;
    border-left: 2px solid var(--black);
}

.advisory-card p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--mid-gray);
    line-height: 1.7;
}

.framework-list-container {
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.framework-intro {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 2rem;
    display: block;
}

.framework-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.framework-item {
    display: flex;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.framework-num {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--mid-gray);
    margin-right: 1.5rem;
    width: 20px;
}

.framework-text {
    font-size: 1.1rem;
    color: var(--black);
    letter-spacing: -0.01em;
}

.poa-img-split-vertical {
    display: grid;
    grid-template-rows: 1.2fr 0.8fr;
    gap: 2rem;
    height: 100%;
}

.poa-img-split-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Trusts & Foundations - Architectural Layout */
.iso-section {
    padding: 7rem 0 9rem;
    background: linear-gradient(180deg, #fafaf8 0%, #f3f1ec 70%, #e2ddd2 100%);
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.iso-bg-decoration {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: url('assets/private_office_structure.png') center/cover;
    opacity: 0.05;
    pointer-events: none;
}

/* Row 1: Intro Strip */
.iso-intro-strip {
    max-width: 800px;
    margin-bottom: 2rem;
}

.iso-intro-strip h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.iso-intro-strip p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--mid-gray);
}

/* Row 2: Content Grid */
.iso-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 3.5rem;
}

.iso-text-block {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mid-gray);
}

.iso-text-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.iso-text-num {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--mid-gray);
    padding: 0.3rem 0.55rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    line-height: 1;
}

/* Row 3: Services Horizontal Framework */
.iso-framework-row {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.iso-services-label {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--black);
    letter-spacing: 0.01em;
}

.iso-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.iso-service-item {
    font-size: 0.95rem;
    color: var(--black);
    padding: 1.4rem 1.6rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 2px solid rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    line-height: 1.5;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.iso-service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.025), transparent);
    transition: left 0.6s ease;
}

.iso-service-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-left-color: rgba(0, 0, 0, 0.7);
    transform: translateX(4px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.iso-service-item:hover::before {
    left: 100%;
}

.iso-final-note {
    margin-top: 3rem;
    font-style: italic;
    font-size: 0.95rem;
    color: #888;
    max-width: 700px;
}

.iso-tagline {
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--black);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

/* Governance & Control - Dark Inverted Design */
.gov-section {
    padding: 8rem 0;
    background-color: #000;
    /* Pure black background */
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Subtle top border accent */
.gov-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 50%, transparent);
}

.gov-header {
    text-align: center;
    max-width: 1200px;
    /* Increased from 700px */
    margin: 0 auto 6rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Override eyebrow for dark theme */
.gov-section .cinematic-eyebrow {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.25em;
}

.gov-header h2 {
    font-size: 2.5rem;
    color: #fff;
    /* White heading */
    margin-bottom: 2rem;
    font-weight: 400;
}

.gov-header p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    /* Light gray text */
}

/* 2-Column Image + Text Grid */
.gov-image-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 8rem;
}

.gov-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gov-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: all 0.5s ease;
    opacity: 0.95;
    filter: brightness(0.95) contrast(1.05);
}

.gov-image-card:hover img {
    transform: scale(1.02);
    opacity: 1;
    filter: brightness(1) contrast(1.1);
}

.gov-text-block {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
}

.gov-text-block p {
    margin: 0;
}

/* Additional context paragraph - dark theme override */
.gov-section .reveal p {
    color: rgba(255, 255, 255, 0.7);
}

/* Framework Grid - Dark Cards with Glow */
.gov-framework-container {
    width: 100%;
    max-width: 1200px;
    /* Increased from 900px to match page width */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 5rem;
    margin-bottom: 6rem;
    text-align: center;
}

.gov-framework-intro {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: #fff;
    /* White text */
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.gov-framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* New Layout - 1 Full Width / 3 Cols / 3 Cols */
.gov-framework-item:nth-child(1) {
    grid-column: 1 / 4;
    /* Row 1: Full width (intro) */
    background: rgba(255, 255, 255, 0.04);
    border-left-width: 3px;
    border-left-color: rgba(255, 255, 255, 0.35);
    padding: 2rem 2.5rem;
}

.gov-framework-item:nth-child(2) {
    grid-column: 1;
    /* Row 2: Column 1 */
}

.gov-framework-item:nth-child(3) {
    grid-column: 2;
    /* Row 2: Column 2 */
}

.gov-framework-item:nth-child(4) {
    grid-column: 3;
    /* Row 2: Column 3 */
}

.gov-framework-item:nth-child(5) {
    grid-column: 1;
    /* Row 3: Column 1 */
}

.gov-framework-item:nth-child(6) {
    grid-column: 2;
    /* Row 3: Column 2 */
}

.gov-framework-item:nth-child(7) {
    grid-column: 3;
    /* Row 3: Column 3 */
}

.gov-framework-item {
    display: flex;
    align-items: center;
    /* Changed from flex-start to center for single-line */
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.9rem;
    /* Reduced from 1rem to prevent wrapping */
    line-height: 1.4;
    /* Reduced from 1.65 for single-line */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect on hover */
.gov-framework-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.gov-framework-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
    box-shadow: 0 2px 16px rgba(255, 255, 255, 0.04);
}

.gov-framework-item:hover::after {
    left: 100%;
}

.gov-framework-item::before {
    content: "→";
    font-size: 0.9rem;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.gov-framework-item:hover::before {
    color: rgba(255, 255, 255, 0.85);
    transform: translateX(2px);
}

.gov-closing {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.65);
    /* Muted white */
    line-height: 1.9;
    position: relative;
    padding-top: 4rem;
}

.gov-closing::before {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    /* White separator */
    margin: 0 auto 3rem auto;
}

@media (max-width: 900px) {
    .gov-section {
        padding: 5rem 0;
    }

    .gov-image-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .gov-image-card img {
        height: 320px;
    }

    .gov-text-block {
        text-align: center;
    }

    .gov-framework-item {
        padding: 1.25rem 1.5rem;
    }

    /* Framework Grid - Single Column on Mobile */
    .gov-framework-grid {
        grid-template-columns: 1fr !important;
    }

    .gov-framework-item:nth-child(1),
    .gov-framework-item:nth-child(2),
    .gov-framework-item:nth-child(3),
    .gov-framework-item:nth-child(4),
    .gov-framework-item:nth-child(5),
    .gov-framework-item:nth-child(6),
    .gov-framework-item:nth-child(7) {
        grid-column: 1 !important;
        /* All items single column */
    }
}

/* ========================================
   MOBILE RESPONSIVE - HOMEPAGE SECTIONS
   ======================================== */

@media (max-width: 768px) {

    /* Our Approach Section - Center on Mobile */
    #approach .container {
        text-align: center;
    }
    #approach .section-title {
        text-align: center;
    }

    #approach .timeline {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #approach .timeline-line {
        display: none;
    }

    #approach .step {
        margin-bottom: 2rem;
        text-align: center;
    }

    #approach .step-num,
    #approach .step-text {
        display: block;
        margin: 0 auto;
    }

    /* Connect Section - Center on Mobile + Image First */
    #contact .cta-container {
        text-align: center !important;
    }
    #contact .contact-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #contact .contact-left {
        order: 2;
        /* Text comes second */
        text-align: center;
    }

    #contact .contact-right {
        order: 1;
        /* Image comes first */
        margin-bottom: 3rem;
    }

    #contact .eyebrow,
    #contact h3,
    #contact p {
        text-align: center;
    }

    #contact .contact-details {
        text-align: center;
    }

    #contact .location-list {
        text-align: center;
    }
}

/* ========================================
   CONTACT PAGE - OFFICE LOCATIONS
   ======================================== */

.locations-section {
    background-color: #000 !important;
    /* Ensure black background */
    padding: 6rem 0;
}

.locations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 4rem auto;
    flex-wrap: nowrap;
    /* Prevent wrapping - keep all 5 in one row */
}

.location-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    flex: 1;
    /* Equal width for all cards */
    min-width: 0;
    /* Allow flex shrink */
}

.location-card h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0;
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.registered-office {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 3.5rem;
    padding-top: 1rem;
}

.registered-office .label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.registered-office .address {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.7;
    color: #fff;
    margin: 0;
}

.contact-info {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-item .label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-info-item .value {
    color: #fff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item .value:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Remove white gaps between sections */
.hero-wave {
    margin-bottom: -1px;
}

.hero-wave svg {
    display: block;
}

@media (max-width: 900px) {
    .locations-grid {
        flex-wrap: wrap;
        /* Allow wrapping on smaller screens */
        gap: 1.5rem;
    }

    .location-card {
        flex: 0 0 calc(50% - 0.75rem);
        /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .locations-grid {
        flex-direction: column;
        /* Stack vertically on mobile */
    }

    .location-card {
        flex: 1;
        width: 100%;
    }
}

/* ========================================
   WHO WE ARE PAGE - PREMIUM REDESIGN
   ======================================== */

/* Who We Are Section - Image Grid */
.who-premium {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-image-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.about-image-card:hover {
    transform: translateY(-8px);
}

.about-image-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.about-image-text {
    padding: 2rem;
    background: var(--white);
}

.about-image-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
}

/* Vision & Approach - Dark Inverted */
.vision-approach-dark {
    padding: 6rem 0;
    background-color: #000;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.vision-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-approach-item {
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
}

.vision-approach-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(255, 255, 255, 0.5);
    transform: translateX(8px);
}

.vision-approach-item h3 {
    font-size: 2rem;
    color: #fff;
    margin: 1.5rem 0 1.5rem 0;
    font-weight: 400;
}

.vision-approach-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Values Section - Premium Cards */
.values-section-premium {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.values-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
}

.value-card-premium {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-gray);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--black), var(--dark-gray));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card-premium:hover::before {
    transform: scaleX(1);
}

.value-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--black);
}

.value-number {
    font-size: 3rem;
    font-family: var(--font-serif);
    color: var(--light-gray);
    font-weight: 300;
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.value-card-premium:hover .value-number {
    color: var(--black);
}

.value-card-premium h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin: 1rem 0;
    font-weight: 500;
}

.value-card-premium p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mid-gray);
    margin: 0;
}

/* Responsive - Who We Are Page */
@media (max-width: 900px) {

    .about-image-grid,
    .vision-approach-grid,
    .values-grid-premium {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-card img {
        height: 250px;
    }
}

/* ========================================
   AREAS OF EXPERTISE - PREMIUM REDESIGN
   ======================================== */

/* Section 1: Corporate Law (Light) */
.expertise-section-light {
    padding: 6rem 0 0 0;
    /* Top padding only */
    background-color: var(--white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
    /* Minimal bottom margin */
}

.expertise-grid-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.expertise-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.expertise-content h2 {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem 0;
    color: var(--black);
}

.expertise-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.25rem;
}

/* Services Grid - 3 Columns (Light Theme) */
.expertise-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1200px;
    /* Exact match with grid above */
    margin: 0 auto;
    /* No vertical margins - perfectly aligned */
    background: var(--white);
    /* Changed from dark to white */
    padding: 2.5rem 0;
    /* Reduced padding for tighter connection */
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle top border */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle bottom border */
}

/* Vertical dividers between columns */
.expertise-services-grid::before,
.expertise-services-grid::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    /* Match padding */
    bottom: 2.5rem;
    /* Match padding */
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
    /* Changed from light gold to dark subtle */
}

.expertise-services-grid::before {
    left: 33.333%;
}

.expertise-services-grid::after {
    left: 66.666%;
}

.expertise-service-card {
    background: transparent;
    padding: 0 2.5rem;
    /* Slightly reduced horizontal padding */
    border: none;
    border-radius: 0;
    transition: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Remove hover lift - too UI-heavy */
.expertise-service-card:hover {
    transform: none;
    box-shadow: none;
}

.expertise-service-card h4 {
    font-size: 1.35rem;
    margin: 0 0 1.5rem 0;
    /* Zero top for baseline alignment */
    padding-top: 0;
    color: var(--black);
    /* Changed from light to dark */
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.expertise-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-service-card li {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--mid-gray);
    /* Changed from muted warm grey to standard mid-gray */
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 1.1rem;
    /* Slightly tighter */
    font-weight: 300;
}

.expertise-service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(0, 0, 0, 0.3);
    /* Changed from light gold to dark subtle */
    font-size: 0.85rem;
}

.expertise-closing {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0 auto;
    /* Reduced from 2.5rem */
    padding-bottom: 6rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--mid-gray);
    font-style: italic;
}

/* Section 2: Corporate Finance (Dark) */
.expertise-section-dark {
    padding: 6rem 0;
    background-color: #000;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.expertise-section-dark .expertise-content h2 {
    color: #fff;
}

.expertise-section-dark .expertise-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Finance Services Bento Grid */
.finance-services-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 6 columns for precise control */
    grid-auto-rows: 1fr;
    /* Equal row heights */
    gap: 1px;
    /* Hairline gaps */
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    background: rgba(255, 255, 255, 0.08);
    /* Gap color */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.finance-card {
    background: rgba(0, 0, 0, 0.6);
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 180px;
    /* Ensure minimum height for all cards */
    position: relative;
}

.finance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Row 1: Valuation spans 4, Transaction spans 2 */
.finance-card:nth-child(1) {
    grid-column: span 4;
}

.finance-card:nth-child(2) {
    grid-column: span 2;
}

/* Row 2: Capital and Performance each span 3 (half width each) */
.finance-card:nth-child(3),
.finance-card:nth-child(4) {
    grid-column: span 3;
}

/* Row 3: Restructuring spans full width */
.finance-card:nth-child(5) {
    grid-column: span 6;
}

.finance-card:hover {
    background: rgba(0, 0, 0, 0.8);
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
}

.finance-card:hover::before {
    opacity: 1;
}

.finance-card h4 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 1.25rem 0;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.finance-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    flex-grow: 1;
    /* Push text to fill available space */
}

.expertise-closing-dark {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

/* Section 3: Integrated Advisory */
.expertise-section-integrated {
    padding: 6rem 0;
    background-color: var(--white);
    /* Changed from light-gray to white */
}

.integrated-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.integrated-header h2 {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem 0;
    color: var(--black);
}

.integrated-intro {
    font-size: 1.15rem !important;
    line-height: 1.9;
    color: var(--dark-gray);
}

.integrated-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    align-items: center;
}

.integrated-col h3 {
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    color: var(--black);
}

.integrated-col p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--mid-gray);
    margin-bottom: 1.25rem;
}

.integrated-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Services Compact Grid */
.integrated-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

.integrated-service {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.integrated-service:hover {
    transform: translateX(8px);
    border-color: var(--black);
}

.service-num {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--light-gray);
    font-weight: 300;
    flex-shrink: 0;
}

.integrated-service p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
}

.integrated-closing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--black);
    font-weight: 500;
}

/* Responsive - Expertise Pages */
@media (max-width: 900px) {

    .expertise-grid,
    .expertise-grid-reverse,
    .integrated-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-services-grid,
    .finance-services-bento,
    .integrated-services-grid {
        grid-template-columns: 1fr;
    }

    .finance-card-wide {
        grid-column: span 1;
    }

    .expertise-image img,
    .integrated-image {
        height: 250px;
    }

    /* Fix 1: Hide vertical lines in light 3-column grid on mobile */
    .expertise-services-grid::before,
    .expertise-services-grid::after {
        display: none;
    }

    .expertise-services-grid {
        border-top: none;
        border-bottom: none;
    }

    /* Fix 2: Reset Bento Grid Spans to prevent overlap */
    .finance-card:nth-child(n) {
        grid-column: span 1 !important;
    }

    /* Fix 3: Integrated Advisory Consistency */
    .integrated-header {
        text-align: left;
        /* Align header to match body text */
        margin-bottom: 2rem;
    }

    .integrated-col h3 {
        margin-top: 0;
    }
}

/* ========================================
   INSTITUTIONAL CTA BUTTONS
   ======================================== */

/* CTA Container */
.cta-container {
    text-align: center;
    margin: 4rem auto;
    max-width: 600px;
}

.cta-container-dark {
    text-align: center;
    margin: 4rem auto;
    max-width: 600px;
}

/* Primary CTA Button - Light Background */
.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-btn:hover {
    color: #fff;
    border-color: var(--black);
}

.cta-btn:hover::before {
    left: 0;
}

/* Secondary CTA Button - Dark Background */
.cta-btn-dark {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #f5f3f0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #f5f3f0;
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-btn-dark:hover {
    color: var(--black);
    border-color: #f5f3f0;
}

.cta-btn-dark:hover::before {
    left: 0;
}

/* CTA spacing variations */
.cta-spacing-top {
    margin-top: 5rem;
}

.cta-spacing-bottom {
    margin-bottom: 5rem;
}

/* Responsive */


/* ========================================
   PHILOSOPHY SECTION (PRIVATE OFFICE ADVISORY)
   ======================================== */

.philosophy-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.philosophy-text h2 {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    margin: 1rem 0 1.5rem 0;
    color: var(--black);
    line-height: 1.2;
}

.philosophy-intro {
    font-size: 1.25rem !important;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 2rem !important;
}

.philosophy-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black);
    /* Changed from dark-gray to black for visibility */
    margin-bottom: 1.5rem;
}

.philosophy-subhead {
    margin-top: 2rem !important;
    color: var(--black) !important;
    /* Changed from mid-gray to black */
    font-weight: 400;
}

.philosophy-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
}

.philosophy-benefits li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black);
    /* Changed from dark-gray to black */
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.philosophy-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--black);
}

.philosophy-image {
    position: relative;
}

.philosophy-image img {
    width: 100%;
    height: 400px;
    /* Adjusted height for better balance */
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.philosophy-closing {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 2.5rem;
    display: block;
}

.cta-wrapper-right {
    text-align: left;
    /* Ensure left alignment */
}

/* Tablet Responsive */
@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .philosophy-image {
        order: -1;
    }

    .philosophy-image img {
        height: auto;
        max-height: 360px;
    }
}

/* Mobile Responsive (override global mobile rules defined earlier) */
@media (max-width: 768px) {
    .philosophy-section {
        padding: 4rem 0;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy-text h2 {
        font-size: 2rem;
    }

    .philosophy-intro {
        font-size: 1.1rem !important;
    }

    .philosophy-text p {
        font-size: 1rem;
    }

    .philosophy-image img {
        height: auto;
        max-height: 320px;
    }

    .philosophy-image {
        order: -1;
    }
}

/* ========================================
   FINAL POLISH PASS
   ======================================== */

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(1200px 600px at 10% -10%, rgba(0, 0, 0, 0.04), transparent 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(0, 0, 0, 0.03), transparent 60%);
}

body.private-office-page {
    background-image:
        radial-gradient(900px 500px at 20% -10%, rgba(255, 255, 255, 0.04), transparent 60%),
        radial-gradient(700px 500px at 90% 20%, rgba(255, 255, 255, 0.03), transparent 60%);
}

h1,
h2,
h3 {
    text-wrap: balance;
}

.hero h1 {
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.hero h2,
.hero p {
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1.25rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 90px;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
}

.bg-dark .section-title::after {
    background: rgba(255, 255, 255, 0.35);
}

section[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.cta-btn,
.cta-btn-dark,
.btn {
    transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.cta-btn:hover,
.cta-btn-dark:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

@media (hover: hover) {

    .card,
    .expertise-service-card,
    .finance-card,
    .integrated-service,
    .gov-framework-item,
    .value-card-premium,
    .vision-approach-item {
        transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    }

    .card:hover,
    .expertise-service-card:hover,
    .finance-card:hover,
    .integrated-service:hover,
    .gov-framework-item:hover,
    .value-card-premium:hover,
    .vision-approach-item:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lift);
    }

    .expertise-image img,
    .integrated-image,
    .poa-full-img,
    .gov-image-card img,
    .about-image img,
    .philosophy-image img,
    .about-image-card img {
        transition: transform 0.6s ease, box-shadow 0.6s ease;
    }

    .expertise-image img:hover,
    .integrated-image:hover,
    .poa-full-img:hover,
    .gov-image-card img:hover,
    .about-image img:hover,
    .philosophy-image img:hover,
    .about-image-card img:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: var(--shadow-lift);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
