/* =========================================
   Shared About-Us Primitives
========================================= */
.au-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: var(--accent-primary);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-align: center;
}

.au-title {
    font-size: clamp(30px, 3.4vw, 44px);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
}

.text-copper {
    background: linear-gradient(to left, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   1. Hero
========================================= */
.au-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 120px;
    margin-top: 65px;
}

.au-hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.22), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.au-hero-inner {
    position: relative;
    z-index: 5;
}

.au-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: bold;
    color: var(--accent-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--pill-radius);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    margin-bottom: 48px;
}

.au-hero-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 56px;
    align-items: center;
}

.au-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.au-kicker {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 4px;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.au-giant-title {
    font-size: clamp(56px, 8vw, 110px);
    line-height: 1;
    margin: 0 0 20px;
    font-weight: 900;
}

.au-hero-desc {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.9;
    color: var(--text-primary);
    max-width: 90%;
    margin-bottom: 36px;
}

.au-hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 520px;
}

.au-path-card {
    position: relative;
    display: flex;
    min-height: 150px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color var(--transition-fast);
    will-change: transform;
}

.au-path-card:hover {
    border-color: var(--accent-secondary);
}

.au-path-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.au-path-card:hover .au-path-bg {
    transform: scale(1.06);
}

.au-path-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
    rgba(10, 25, 47, 0.94) 8%,
    rgba(10, 25, 47, 0.6) 55%,
    rgba(10, 25, 47, 0.35) 100%);
}

.au-path-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
}

.au-path-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 19px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-primary), var(--color-copper));
}

.au-path-icon.market {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: var(--color-navy);
}

.au-path-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}

.au-path-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.au-path-title {
    font-family: 'gofteh', sans-serif;
    font-size: 18px;
    color: var(--text-primary);
}

.au-path-badge {
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: var(--pill-radius);
    letter-spacing: 0.5px;
}

.badge-copper {
    color: var(--color-copper);
    background: rgba(184, 115, 51, 0.15);
}

.badge-gold {
    color: var(--color-gold);
    background: rgba(245, 214, 143, 0.15);
}

.au-path-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.au-path-arrow {
    position: absolute;
    top: 22px;
    left: 20px;
    z-index: 3;
    color: var(--accent-secondary);
    font-size: 15px;
    transition: transform var(--transition-fast);
}

.au-path-card:hover .au-path-arrow {
    transform: translateX(-6px);
}

/* Hero collage */
.au-hero-collage {
    position: relative;
    height: 520px;
}

.au-collage-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.au-collage-main {
    position: absolute;
    top: 40px;
    left: 0;
    width: 62%;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.au-collage-small {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    background: var(--bg-secondary);
}

.au-collage-s1 {
    top: 0;
    right: 0;
    width: 42%;
    height: 200px;
}

.au-collage-s2 {
    bottom: 0;
    right: 8%;
    width: 46%;
    height: 240px;
}

.au-collage-badge {
    position: absolute;
    bottom: 30px;
    left: -10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--color-copper));
    box-shadow: 0 20px 40px rgba(184, 115, 51, 0.4);
    z-index: 3;
}

.au-collage-badge strong {
    font-family: 'gofteh', sans-serif;
    font-size: 28px;
    color: #ffffff;
    line-height: 1;
}

.au-collage-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

/* =========================================
   2. Story + Metrics (merged)
========================================= */
.au-story {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
}

.au-story-inner {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    align-items: center;
}

.au-story-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.au-story-text .au-subtitle {
    text-align: right;
}

.au-story-text .au-title {
    margin-bottom: 8px;
    text-align: right;
}

/* Word-by-word scroll fill */
.au-fill-word {
    color: var(--text-secondary);
    opacity: 0.22;
    transition: opacity 0.35s ease, color 0.35s ease;
    will-change: opacity;
}

.au-fill-word.is-lit {
    opacity: 1;
    color: var(--text-primary);
}

.au-fill-heading .au-fill-word.is-lit {
    color: var(--text-primary);
}

.au-fill-heading .au-fill-word.is-lit.accent {
    background: linear-gradient(to left, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.au-fill-text {
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 2;
    margin: 0;
}

/* Asymmetric metric bento */
.au-metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 18px;
}

.au-metric {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 24px;
    border-radius: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.7s ease,
    border-color var(--transition-fast);
    will-change: transform, opacity;
}

.au-metric.is-settled {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1) !important;
}

.au-metric:hover {
    border-color: var(--accent-secondary);
}

.au-metric strong {
    font-family: 'gofteh', sans-serif;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1;
    color: var(--text-primary);
    display: inline-flex;
    align-items: baseline;
}

.au-metric strong i {
    font-style: normal;
    color: var(--accent-primary);
    font-size: 0.6em;
    margin-right: 2px;
}

.au-metric-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.au-metric-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: bold;
}

.au-metric-dots {
    display: inline-flex;
    gap: 6px;
}

.au-metric-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
}

.au-metric-dots span:first-child {
    background: var(--accent-primary);
}

/* Bento placement */
.au-metric-1 { grid-column: 1 / 4; grid-row: 1 / 3; }
.au-metric-2 { grid-column: 4 / 7; grid-row: 1 / 2; }
.au-metric-3 { grid-column: 4 / 7; grid-row: 2 / 3; }
.au-metric-4 { grid-column: 1 / 4; grid-row: 3 / 4; }
.au-metric-5 { grid-column: 4 / 7; grid-row: 3 / 4; }

/* Scatter-in start positions */
.dir-br { transform: translate(-70px, 70px) rotate(-4deg) scale(0.9); }
.dir-top { transform: translate(0, -80px) scale(0.9); }
.dir-left { transform: translate(80px, 0) rotate(3deg) scale(0.9); }
.dir-bl { transform: translate(-80px, 60px) rotate(4deg) scale(0.9); }
.dir-right { transform: translate(80px, 60px) rotate(-3deg) scale(0.9); }

/* =========================================
   4. Team — pinned orbit → scattered gallery
========================================= */
.au-team {
    position: relative;
    height: 380vh; /* scroll length: orbit + a long hold on the settled gallery */
    padding: 130px 0;
}

.au-team-sticky {
    position: sticky;
    top: 50px;
    height: 100vh;
    overflow: hidden;
}

.au-team-header {
    position: absolute;
    top: 9vh;
    left: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 6;
    pointer-events: none;
    padding: 0 24px;
}

.au-team-lead {
    max-width: 520px;
    margin: 4px auto 0;
}

.au-team-stage {
    position: absolute;
    inset: 0;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.au-team-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 430px;
    transform: translate(-50%, -50%);
    border-radius: 24px;
    overflow: hidden;
    z-index: 4;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.au-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 210px;
    height: 270px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 3;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}

.au-team-center img,
.au-orbit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(12%);
}

.au-mos-tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: var(--pill-radius);
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(4px);
    z-index: 4;
}

/* =========================================
   5. چرا دی‌ام هاوس — replicated workflow scenario
========================================= */
.dm-workflow-section {
    position: relative;
    height: 400vh;
    background-color: var(--bg-primary);
    z-index: 10;

    --split-stage: 0;
    --circle-stage: 0;
    --text-stage: 0;
    --s1: 0;
    --s2: 0;
    --s3: 0;
}

.dm-workflow-section .workflow-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.dm-workflow-section .workflow-full-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dm-workflow-section .workflow-inner {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.dm-workflow-section .dark-clip-layer {
    z-index: 20;
    clip-path: circle(calc(var(--circle-stage, 0) * 150%) at 50% 50%);
    -webkit-clip-path: circle(calc(var(--circle-stage, 0) * 150%) at 50% 50%);
    pointer-events: none;
    transition: clip-path 0.1s ease-out;
    will-change: clip-path;
}

.dm-workflow-section .w-arch-bg {
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 47vw;
    height: 25vw;
    border: 1px dashed var(--text-secondary);
    border-bottom: none;
    border-radius: 30vw 30vw 0 0;
    opacity: calc(var(--split-stage, 0) * 0.2);
    pointer-events: none;
    z-index: 1;
}

.dm-workflow-section .w-center-stage {
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.dm-workflow-section .w-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 860px);
    font-size: clamp(32px, 4vw, 58px);
    color: var(--text-primary);
    margin: 0 auto; /* اطمینان از وسط‌چین بودن کل کانتینر */
    gap: 0; /* فاصله طبیعی را صفر می‌کنیم تا مرز ۵۰٪ دقیق بماند */
    white-space: nowrap;
}

.dm-workflow-section .w-word {
    flex: 1; /* مهم: هر دو طرف دقیقاً ۵۰٪ از عرض را اشغال می‌کنند */
    width: 50%;
    will-change: transform;
    position: relative;
    z-index: 3;
}

.dm-workflow-section .w-word.right-word {
    text-align: left; /* کلمه «چرا» را به مرز وسط هل می‌دهد */
    padding-left: 8px; /* ایجاد یک فاصله طبیعی کوچک با کلمه بعدی */
    transform: translateX(calc(var(--split-stage, 0) * 110px));
}

.dm-workflow-section .w-word.left-word {
    text-align: right; /* کلمه «دی‌ام هاوس» را به مرز وسط هل می‌دهد */
    padding-right: 8px;
    transform: translateX(calc(var(--split-stage, 0) * -110px));
}

.dm-workflow-section .w-logo-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    opacity: var(--split-stage, 0);
    /* حالا left:50% دقیقاً می‌افتد روی شکاف بین دو کلمه */
    transform: translate(-50%, -50%) scale(var(--split-stage, 0)) rotate(calc(var(--split-stage, 0) * 360deg));
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
    z-index: 2;
}

.dm-workflow-section .w-logo-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.dm-workflow-section .w-mobile-subtitle {
    display: none;
}

.dm-workflow-section .w-top-subtitle {
    display: block;
    font-size: 14px;
    color: var(--accent-primary);
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 24px;
    opacity: var(--text-stage, 0);
    transform: translateY(calc((1 - var(--text-stage, 0)) * 20px));
    will-change: opacity, transform;
}

.dm-workflow-section .w-bottom-tagline {
    display: block;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 24px;
    opacity: var(--text-stage, 0);
    transform: translateY(calc((1 - var(--text-stage, 0)) * -20px));
    will-change: opacity, transform;
}

.dm-workflow-section .w-steps-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.dm-workflow-section .w-step-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    will-change: opacity, transform;
}

.dm-workflow-section .step-1 {
    top: 12%;
    right: 8%;
    opacity: var(--s1, 0);
    transform: translateY(calc((1 - var(--s1, 0)) * 40px));
}

.dm-workflow-section .step-2 {
    top: 12%;
    left: 8%;
    opacity: var(--s2, 0);
    transform: translateY(calc((1 - var(--s2, 0)) * 40px));
}

.dm-workflow-section .step-3 {
    bottom: 10%;
    left: 50%;
    opacity: var(--s3, 0);
    transform: translate(-50%, calc((1 - var(--s3, 0)) * 40px));
}

.dm-workflow-section .step-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dm-workflow-section .step-num {
    font-size: 32px;
    font-family: 'gofteh', sans-serif;
    color: var(--accent-secondary);
    line-height: 1;
}

.dm-workflow-section .step-title {
    font-size: 24px;
    color: var(--text-primary);
    margin: 0;
}

.dm-workflow-section .step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.dm-workflow-section .w-word,
.dm-workflow-section .w-logo-wrap,
.dm-workflow-section .w-step-box,
.dm-workflow-section .w-arch-bg,
.dm-workflow-section .w-top-subtitle,
.dm-workflow-section .w-bottom-tagline {
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

@media (max-width: 992px) {
    .dm-workflow-section {
        height: auto;
    }

    .dm-workflow-section .workflow-sticky-wrapper {
        position: relative;
        height: auto;
        display: block;
    }

    .dm-workflow-section .workflow-full-layer {
        position: relative;
        height: auto;
    }

    .dm-workflow-section .workflow-inner {
        position: relative;
        transform: none;
        left: auto;
        padding: 0 24px;
    }

    .dm-workflow-section .workflow-full-layer.theme-light {
        display: none !important;
    }

    .dm-workflow-section .dark-clip-layer {
        display: block !important;
        position: relative !important;
        clip-path: none !important;
        padding: 60px 0;
        -webkit-clip-path: none !important;
    }

    .dm-workflow-section .w-arch-bg {
        display: none;
    }

    .dm-workflow-section .w-center-stage {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .dm-workflow-section .w-heading {
        gap: 30px;
    }

    .dm-workflow-section .w-mobile-subtitle {
        display: block;
        font-size: 14px;
        color: var(--accent-primary);
        font-weight: bold;
    }

    .dm-workflow-section .w-logo-wrap {
        position: relative;
        top: auto;
        left: auto;
        margin: 0;
        width: 50px;
        height: 50px;
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .dm-workflow-section .w-word {
        flex: 0 0 auto; /* در موبایل به اندازه طبیعی خودش برمی‌گردد */
        width: auto;
        text-align: center;
        padding: 0;
        transform: none !important;
    }

    .dm-workflow-section .w-steps-container {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .dm-workflow-section .w-step-box {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        max-width: 100%;
        background-color: var(--bg-secondary);
        padding: 24px;
        border: 1px solid var(--border-color);
        border-radius: 20px;
    }

    .dm-workflow-section .w-word,
    .dm-workflow-section .w-logo-wrap,
    .dm-workflow-section .w-step-box,
    .dm-workflow-section .w-top-subtitle,
    .dm-workflow-section .w-bottom-tagline {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}

/* =========================================
   5.5 Journey timeline — tilting-cuboid list
========================================= */
.dm-journey-section {
    position: relative;
    padding: 130px 0;
    background-color: var(--bg-primary);
    z-index: 10;
}

.j-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
}

.j-lead {
    max-width: 540px;
    margin: 4px auto 0;
    color: var(--text-secondary);
}

.j-list {
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.j-item {
    position: relative;
    /* ۱. پرسپکتیو بالا برای جلوگیری از دفرمه و ذوزنقه‌ای شدن عرض */
    perspective: 4000px;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.j-item:hover {
    /* اطمینان از اینکه آیتم فعال روی بقیه قرار می‌گیرد */
    z-index: 10;
}

.j-cuboid {
    position: relative;
    transform-style: preserve-3d;
    transform-origin: center center;
    transform: rotateX(0deg) translateY(0);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.j-item:hover .j-cuboid {
    /* ۲. چرخش نرم و استفاده از translateY محاسبه‌شده برای مماس کردن دقیق لبه بالایی عکس با خط بالایی */
    transform: rotateX(-14deg) translateY(24px);
}

.j-front {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 32px;
    padding: 35px 18px;
    background: var(--bg-primary);
    backface-visibility: hidden;
    transition: box-shadow 0.6s ease, background 0.6s ease;
}

.j-item:hover .j-front {
    background: var(--bg-secondary);
    /* ایجاد سایه عمیق برای جدا شدن واقعی وجه جلو از صفحه */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.j-year {
    font-family: 'gofteh', sans-serif;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.j-item:hover .j-year {
    color: var(--accent-primary);
}

.j-desc {
    margin: 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.j-item.is-present .j-year {
    color: var(--accent-primary);
}

.j-top {
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 100%;
    /* ۳. کنترل منطقی عمق مکعب */
    height: 110px;
    transform-origin: bottom center;
    transform: rotateX(90deg);
    overflow: hidden;
    background: var(--bg-secondary);
    backface-visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.j-item:hover .j-top {
    opacity: 1;
}

/* ۴. افکت نور و سایه روی عکس بالایی برای سه‌بعدی شدن فوق‌العاده واقعی‌تر */
.j-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.j-item:hover .j-top::after {
    /* با چرخش رو به جلو، نور روی وجه بالایی می‌افتد و روشن می‌شود */
    opacity: 0.15;
}

.j-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   6. Ethics Charter (Scroll Storytelling)
========================================= */
.dm-charter-section {
    position: relative;
    height: 350vh; /* ایجاد فضای کافی برای اسکرول کاربر */
    background-color: var(--bg-primary);
    z-index: 10;
    --shrink-p: 0;
    --spread-p: 0;
}

.charter-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.charter-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 118px 24px 80px;
}

.au-charter-header {
    text-align: center;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.au-charter-lead {
    max-width: 520px;
    margin: 4px auto 0;
    color: var(--text-secondary);
}

.charter-animation-stage {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* عکس مرکزی - تغییر ابعاد با اسکرول */
.charter-center-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* از 100vw/vh به ابعاد کادر مرکزی (حدود 340x460) می‌رسد */
    width: calc(100vw - (100vw - 340px) * var(--shrink-p));
    height: calc(100vh - (100vh - 460px) * var(--shrink-p));
    border-radius: calc(30px * var(--shrink-p));
    overflow: hidden;
    z-index: 30;
    will-change: width, height, border-radius;
}

.charter-center-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.charter-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, calc((1 - var(--shrink-p)) * 0.5));
}

/* کانتینر آیتم‌ها */
.charter-items-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 5; /* قرارگیری در پشت عکس */
    pointer-events: none;
}

.charter-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 290px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 18px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--card-shadow);
    white-space: normal;
    text-align: right;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
    color: var(--text-primary);

    /* پراکندگی و شفافیت با جاوااسکریپت */
    opacity: var(--spread-p);
    transform: translate(
            calc(-50% + (var(--tx) * var(--spread-p))),
            calc(-50% + (var(--ty) * var(--spread-p)))
    ) scale(calc(0.85 + 0.15 * var(--spread-p)));

    will-change: transform, opacity;
}

.charter-item i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(184, 115, 51, 0.12);
    color: var(--color-copper);
    font-size: 15px;
}

/* دو ستون تمیز دور عکس مرکزی: ۴ کارت راست، ۳ کارت چپ */
.c-item-1 { --tx: 400px; --ty: -222px; }
.c-item-3 { --tx: 400px; --ty: -74px; }
.c-item-5 { --tx: 400px; --ty: 74px; }
.c-item-7 { --tx: 400px; --ty: 222px; }
.c-item-2 { --tx: -400px; --ty: -148px; }
.c-item-4 { --tx: -400px; --ty: 0px; }
.c-item-6 { --tx: -400px; --ty: 148px; }


/* =========================================
   Responsive Mobile
========================================= */
@media (max-width: 992px) {
    .dm-charter-section {
        height: auto;
        padding: 80px 0;
    }

    .charter-sticky-wrapper {
        position: relative;
        height: auto;
        display: block;
    }

    .charter-inner {
        padding-top: 0;
    }

    .au-charter-header {
        margin-bottom: 40px;
    }

    .charter-animation-stage {
        height: auto;
        display: block;
    }

    .charter-center-img {
        display: none; /* در موبایل عکس کامل حذف می‌شود */
    }

    .charter-items-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
        pointer-events: auto;
    }

    .charter-item {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        transform: none !important;
        opacity: 1 !important;
        white-space: normal;
        text-align: right;
        line-height: 1.6;
    }
}
/* =========================================
   7. Trust / Brands
========================================= */
/*brands start*/

/* =========================================
   Brands Section Base & Header
========================================= */
.dm-brands-section {
    position: relative;
    padding: 150px 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.dm-brands-section .brands-header {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dm-brands-section .brands-subtitle {
    font-size: 14px;
    font-weight: bold;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.dm-brands-section .brands-title {
    font-size: 36px;
    color: var(--text-primary);
    margin: 0;
}

/* =========================================
   3D Carousel Container
========================================= */
.brands-3d-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* پرسپکتیو برای ایجاد عمق سه‌بعدی */
    perspective: 1200px;

    /* خطوط عمودی محو در پس‌زمینه (مشابه عکسی که دادید) */
    background:
            linear-gradient(90deg, transparent calc(20% - 1px), rgba(128,128,128,0.1) 20%, transparent calc(20% + 1px)),
            linear-gradient(90deg, transparent calc(50% - 1px), rgba(128,128,128,0.1) 50%, transparent calc(50% + 1px)),
            linear-gradient(90deg, transparent calc(80% - 1px), rgba(128,128,128,0.1) 80%, transparent calc(80% + 1px));

    /* متغیرهای کنترل ابعاد و شعاع دایره */
    --card-w: 310px;
    --card-h: 210px;
    --tz: 420px; /* شعاع دایره سه‌بعدی (translateZ) */
}

/* خطوط عمودی در تم تاریک */
.dm-brands-section.theme-dark .brands-3d-wrapper {
    background:
            linear-gradient(90deg, transparent calc(20% - 1px), rgba(255,255,255,0.05) 20%, transparent calc(20% + 1px)),
            linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,0.05) 50%, transparent calc(50% + 1px)),
            linear-gradient(90deg, transparent calc(80% - 1px), rgba(255,255,255,0.05) 80%, transparent calc(80% + 1px));
}

.brands-3d-carousel {
    position: relative;
    width: var(--card-w);
    height: var(--card-h);
    transform-style: preserve-3d;
    animation: spinBrands 45s linear infinite;
}

/* توقف انیمیشن هنگام هاور موس */
.brands-3d-wrapper .brands-3d-carousel:hover {
    animation-play-state: paused;
}

@keyframes spinBrands {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(-360deg); }
}

.dm-brands-section .brands-3d-carousel .brand-cell {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;

    transform: rotateY(calc((var(--i) - 1) * 45deg)) translateZ(var(--tz));

    /* اضافه شدن این خط برای انتقال عمق 3D به عکس‌های داخل کارت */
    transform-style: preserve-3d;

    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    backface-visibility: visible;
    -webkit-backface-visibility: visible;

    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.dm-brands-section .brands-3d-carousel .brand-cell:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 15px 35px rgba(184, 115, 51, 0.15);
}

/* تم تاریک */
.dm-brands-section.theme-dark .brands-3d-carousel .brand-cell {
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.dm-brands-section.theme-dark .brands-3d-carousel .brand-cell:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border-color: var(--accent-secondary);
}

/* =========================================
   Floating 3D Logos (عکس‌ها)
========================================= */
.dm-brands-section .brands-3d-carousel .brand-cell img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);

    /* تغییر اصلی: هل دادن لوگو به 40 پیکسل جلوتر از کارت */
    transform: translateZ(40px);

    will-change: transform, opacity, filter;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.dm-brands-section .brands-3d-carousel .brand-cell:hover img {
    opacity: 1;
    filter: grayscale(0%);
    /* بیرون پریدنِ بیشتر لوگو به سمت کاربر (60 پیکسل) هنگام هاور */
    transform: scale(1.1) translateZ(60px);
}

/* هماهنگی با تم دارک */
.dm-brands-section.theme-dark .brands-3d-carousel .brand-cell img {
    filter: grayscale(100%) brightness(200%) contrast(100%);
    opacity: 0.4;
}

.dm-brands-section.theme-dark .brands-3d-carousel .brand-cell:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(200%);
}

/* افکت تعویض عکس اتوماتیک (کمی عقب رفتن حین محو شدن) */
.dm-brands-section .brands-3d-carousel .brand-cell.is-fading img {
    opacity: 0 !important;
    transform: scale(0.8) translateZ(10px) !important;
    filter: grayscale(100%) !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* =========================================
   Brands Grid Structure & Borders
========================================= */
.dm-brands-section .brands-grid-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1px; /* جلوگیری از تداخل حاشیه داخلی */
}

.dm-brands-section .brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 23px;
    overflow: hidden;
}

.dm-brands-section .brands-grid .brand-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px;
    padding: 24px;
    /* ایجاد خط‌چین‌های داخلی (با توجه به راست‌چین بودن، بوردر سمت چپ میدهیم) */
    border-left: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
}

/* حذف خطوط اضافی در دسکتاپ (۴ ستون) */
.dm-brands-section .brands-grid .brand-cell:nth-child(4n) {
    border-left: none;
}

.dm-brands-section .brands-grid .brand-cell:nth-child(n+5) {
    border-bottom: none;
}

.dm-brands-section .brands-grid .brand-cell img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);

    /* استفاده از Hardware Acceleration برای جلوگیری از لگ */
    transform: translateZ(0);
    will-change: transform, opacity, filter;

    /* هاور نرم و لاکچری (حذف steps از هاور عادی) */
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.dm-brands-section .brands-grid .brand-cell:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08) translateZ(0);
}

/* کلاسی که توسط JS برای افکت تغییر تصویر اضافه می‌شود */
.dm-brands-section .brands-grid .brand-cell.is-fading img {
    opacity: 0;
    transform: scale(0.9) translateZ(0);
    /* حذف blur به دلیل مصرف شدید منابع سیستم که باعث لگ می‌شد */
    filter: grayscale(100%);
    transition: opacity 0.3s steps(4, end), transform 0.3s steps(4, end);
}

.dm-brands-section.theme-dark .brands-grid .brand-cell img {
    filter: grayscale(100%) brightness(200%) contrast(100%);
    opacity: 0.5;
}

.dm-brands-section.theme-dark .brands-grid .brand-cell:hover img {
    opacity: 1;
    filter: grayscale(0%) brightness(200%);
}

/* =========================================
   Responsive Logic (Brands Section)
========================================= */
@media (min-width: 992px) {
    .mobile-brands {
        display: none;
    }
}
@media (max-width: 992px) {
    .desktop-brands {
        display: none;
    }
    .dm-brands-section {
        padding: 60px 0;
    }

    .dm-brands-section .brands-title {
        font-size: 26px;
    }

    /* تغییر به ۲ ستون در موبایل */
    .dm-brands-section .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dm-brands-section .brands-grid .brand-cell {
        height: 110px;
        /* ریست کردن بوردرهای دسکتاپ */
        border-left: 1px dashed var(--border-color);
        border-bottom: 1px dashed var(--border-color);
    }

    /* حذف خطوط اضافی در موبایل (۲ ستون) */
    .dm-brands-section .brands-grid .brand-cell:nth-child(2n) {
        border-left: none;
    }

    .dm-brands-section .brands-grid .brand-cell:nth-child(n+7) {
        border-bottom: none;
    }
}

/*brands end*/

/* =========================================
   Responsive Logic
========================================= */
@media (max-width: 992px) {
    .dm-brands-section {
        padding: 80px 0;
    }

    .dm-brands-section .brands-title {
        font-size: 28px;
    }

    .brands-3d-wrapper {
        height: 300px;
        --card-w: 160px;
        --card-h: 110px;
        --tz: 220px;
    }

    .dm-brands-section .brands-3d-carousel .brand-cell {
        padding: 15px;
        border-radius: 16px;
    }

    .dm-brands-section .brands-3d-carousel .brand-cell img {
        max-height: 40px;
    }
}

@media (max-width: 576px) {
    /* کوچکتر کردن شعاع برای موبایل‌های کوچک */
    .brands-3d-wrapper {
        height: 250px;
        --card-w: 130px;
        --card-h: 90px;
        --tz: 180px;
    }
}

/*brands end*/

/* =========================================
   8. Final CTA — contact-section scenario
========================================= */
.dm-contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    overflow: hidden;
    padding: 120px 0 80px;
}

.dm-contact-section .c-marquee-wrapper {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    transform: translateY(-50%) rotate(-2deg);
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05;
}

.dm-contact-section .c-marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
}

.dm-contact-section .c-marquee-track span {
    font-size: 140px;
    font-family: 'gofteh', sans-serif;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-secondary);
    white-space: nowrap;
    padding: 0 40px;
    text-transform: uppercase;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.dm-contact-section .c-inner-layout {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.dm-contact-section .c-header-minimal {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
}

.dm-contact-section .c-header-minimal .c-subtitle {
    font-size: 14px;
    font-weight: bold;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.dm-contact-section .c-header-minimal .c-title {
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.2;
    color: var(--text-primary);
    text-align: right;
    margin: 0;
}

.dm-contact-section .c-header-minimal .c-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.dm-contact-section .c-form-stage {
    perspective: 1200px;
    display: flex;
    justify-content: flex-end;
}

.dm-contact-section .c-form-3d-wrapper {
    width: 100%;
    max-width: 550px;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    transform: translateY(60px) scale(0.9) rotateX(10deg);
}

.dm-contact-section .c-form-3d-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
}

.dm-contact-section .c-glass-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] .dm-contact-section .c-glass-form {
    background: rgba(10, 25, 47, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.dm-contact-section .dm-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dm-contact-section .dm-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dm-contact-section .dm-form .form-group input,
.dm-contact-section .dm-form .form-group select,
.dm-contact-section .dm-form .form-group textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
    outline: none;
}

.dm-contact-section .dm-form .form-group input:focus,
.dm-contact-section .dm-form .form-group select:focus,
.dm-contact-section .dm-form .form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.1);
}

.au-cta-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.au-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--pill-radius);
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    font-size: 15px;
    font-weight: bold;
    background-color: transparent;
    transition: all var(--transition-fast);
}

.au-cta-secondary:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.au-cta-secondary i {
    transition: transform var(--transition-fast);
}

.au-cta-secondary:hover i {
    transform: translateX(-6px);
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 992px) {
    .au-hero {
        padding: 110px 0 160px;
    }

    .au-hero-grid,
    .au-story-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .au-hero-collage {
        height: 380px;
    }

    .au-hero-cards {
        grid-template-columns: 1fr;
    }

    .au-hero-desc,
    .au-hero-cards {
        max-width: 100%;
    }

    .au-story,
    .au-charter,
    .au-trust {
        padding: 90px 0;
    }

    /* Journey: drop the 3D, plain image-on-top cards */
    .dm-journey-section {
        padding: 90px 0;
    }

    .j-header {
        margin-bottom: 40px;
    }

    .j-list {
        perspective: none;
        max-width: 560px;
        border-top: none;
    }

    .j-item {
        perspective: none;
        border: none;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .j-cuboid {
        transform: none !important;
        transform-style: flat;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .j-top {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        height: 180px;
        transform: none !important;
        border: none;
        border-radius: 14px;
        overflow: hidden;
        opacity: 1 !important;
    }

    .j-front {
        grid-template-columns: 80px 1fr;
        gap: 16px;
        padding: 0;
        background: transparent;
    }

    .dm-contact-section {
        min-height: auto;
        padding: 90px 0;
    }

    .dm-contact-section .c-inner-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dm-contact-section .c-marquee-track span {
        font-size: 80px;
    }

    .dm-contact-section .c-header-minimal {
        text-align: center;
        max-width: 100%;
        align-items: center;
    }

    .dm-contact-section .c-header-minimal .c-title {
        text-align: center;
    }

    .dm-contact-section .c-form-stage {
        justify-content: center;
    }

    .dm-contact-section .dm-form .form-row {
        grid-template-columns: 1fr;
    }

    .dm-contact-section .c-glass-form {
        padding: 30px 20px;
    }

    .au-cta-actions {
        justify-content: center;
    }

    .au-metrics {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(110px, auto);
        gap: 14px;
    }

    .au-metric-1,
    .au-metric-2,
    .au-metric-3,
    .au-metric-4,
    .au-metric-5 {
        grid-column: auto;
        grid-row: auto;
    }

    .au-metric-1 {
        grid-column: 1 / 3;
    }

    .au-charter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .au-trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Team: drop the pinned orbit, fall back to a static asymmetric tile grid */
    .au-team {
        overflow: hidden;
        height: auto;
        padding: 90px 0;
    }

    .au-team-sticky {
        position: static;
        height: auto;
        overflow: visible;
    }

    .au-team-header {
        position: static;
        margin-bottom: 40px;
        padding: 0 24px;
    }

    .au-team-stage {
        position: static;
        inset: auto;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 14px;
        perspective: none;
    }

    .au-team-center {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        transform: none !important;
        grid-column: 1 / 3;
        grid-row: span 2;
    }

    .au-orbit {
        position: static;
        width: auto;
        height: auto;
        opacity: 1 !important;
        transform: none !important;
    }

    .au-orbit:nth-child(3) { grid-row: span 2; }
}

@media (max-width: 576px) {
    .au-metrics {
        grid-template-columns: 1fr;
    }

    .au-metric-1 {
        grid-column: auto;
    }

    .au-charter-grid,
    .au-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .au-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .au-cta-secondary {
        justify-content: center;
        width: 100%;
    }
}
