/* pages/ai-strategy.css — styles unique to this page (shared rules live in core.css + components.css) */

:root {
            --sas-orange:   #F94C30;
            --sas-orange-dk:#D93B20;
            --sas-orange-lt:#FF6D54;
            --sas-purple:   #34005F;
            --sas-purple-lt:#5A2D8A;
            --bg:           #FFFBF7;
            --bg-warm:      #FFF8F2;
            --bg-cream:     #FEF5EC;
            --surface:      #FFFFFF;
            --text:         #1A1210;
            --text-2:       #574F46;
            --text-3:       #9A918A;
            --sh-sm:   0 2px 8px rgba(52,0,95,.05);
            --sh-md:   0 8px 24px rgba(52,0,95,.08), 0 2px 8px rgba(52,0,95,.04);
            --sh-lg:   0 20px 50px rgba(52,0,95,.1), 0 6px 16px rgba(52,0,95,.05);
            --sh-ora:  0 10px 32px rgba(249,76,48,.22);
            --sh-pur:  0 10px 32px rgba(52,0,95,.2);
        }

h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.grad-inline {
            background: linear-gradient(135deg, var(--sas-orange) 0%, #FF8C6A 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
            display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone;
            font-style: italic; padding-right: 0.1em;
        }

.has-dropdown:hover .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }

.mobile-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(255,251,247,.98); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(52,0,95,.1); padding: 12px 24px 20px; box-shadow: 0 20px 40px rgba(52,0,95,.08); }

.mobile-nav a.mob-cta { background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk)); color: #fff; border-radius: 9px; text-align: center; border: none; margin-top: 12px; padding: 13px; display: block; }

/* ═══════ HERO ═══════ */
        /* .hero { min-height: 100vh; background: var(--bg-cream); position: relative; overflow: visible; display: flex; align-items: center; padding: 130px 0 110px; }

*/
        :root{ --nav-h: 72px; }

.hero-text { overflow: visible; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .8s ease-out .45s both; }

.btn-outline{
        background:rgba(255,255,255,.8);color:var(--sas-purple);
        border:1.5px solid rgba(52,0,95,.2);backdrop-filter:blur(8px);
        }

.btn-outline:hover{border-color:var(--sas-purple);background:rgba(255,255,255,.95);transform:translateY(-2px);box-shadow:var(--sh-pur)}

.hero-visual { animation: fadeUp .8s ease-out .2s both; }

.hero-vis-card { background: rgba(255,255,255,.85); border: 1px solid rgba(52,0,95,.1); border-radius: 22px; padding: 28px; backdrop-filter: blur(16px); box-shadow: var(--sh-md); position: relative; overflow: hidden; }

.hero-vis-card::before { content: ''; position: absolute; top: 0; left: 10px; right: 10px; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent); }

.hero-vis-card::after { content: ''; position: absolute; top: -30px; right: -30px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(52,0,95,.05) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }

.hero-img-wrap { border-radius: 14px; overflow: hidden; margin-bottom: 16px; border: 1px solid rgba(52,0,95,.08); }

.hero-img-wrap img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }

.hero-vis-footer { display: flex; align-items: center; gap: 14px; }

.hero-vis-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-lt)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(249,76,48,.28); position: relative; }

.hero-vis-icon::after { content: ''; position: absolute; top: 3px; left: 7px; right: 7px; height: 38%; background: linear-gradient(to bottom,rgba(255,255,255,.22),transparent); border-radius: 7px 7px 0 0; }

.hero-vis-label strong { display: block; font-family: 'DM Serif Display', serif; font-size: .95rem; color: var(--text); }

.hero-vis-label span { font-size: .78rem; color: var(--text-3); }

/* ═══════ SECTIONS & CARDS ═══════ */
        .svc-section { padding: 80px 0; position: relative; overflow: hidden; }

.svc-section.bg-white { background: #FFFFFF; }

.svc-section.bg-warm { background: var(--bg-warm); }

.sec-header { margin-bottom: 50px; position: relative; z-index: 2; }

.sec-kicker { display: flex; align-items: center; gap: 10px; font-size: .71rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--sas-purple); margin-bottom: 8px; font-family: 'Trebuchet MS', sans-serif; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* ══════════════════════════════════════════════════
           ★ SECTION: 2-IN-A-BOX
           ══════════════════════════════════════════════════ */
        .box2-sec {
            position: relative;
            background: var(--sas-purple);
            padding: 0;
            overflow: hidden;
        }

.box2-sec-bg {
            position: absolute; inset: 0; z-index: 0;
        }

.box2-sec-bg img {
            width: 100%; height: 100%; object-fit: cover;
            opacity: .1; filter: saturate(0);
        }

.box2-sec-overlay {
            position: absolute; inset: 0; z-index: 1;
            background: linear-gradient(180deg, rgba(52,0,95,.93), rgba(52,0,95,.82), rgba(52,0,95,.95));
        }

.box2-sec-inner {
            position: relative; z-index: 2;
            max-width: 1240px; margin: 0 auto; padding: 100px 40px 110px;
        }

.box2-header { text-align: center; margin-bottom: 60px; }

.box2-header .sec-kicker { justify-content: center; color: rgba(255,255,255,.5); }

.box2-header .sec-kicker-line { background: linear-gradient(90deg, var(--sas-orange), var(--sas-orange-lt)); }

.box2-header .sec-title { color: #fff; }

.box2-header .sec-sub { color: rgba(255,255,255,.5); }

.box2-grid {
            display: grid;
            grid-template-columns: 1fr 80px 1fr;
            align-items: stretch;
        }

.box2-card {
            border-radius: 24px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform .5s cubic-bezier(.4,0,.2,1), box-shadow .5s ease;
        }

.box2-card:hover {
            transform: translateY(-10px) scale(1.01);
            box-shadow: 0 40px 80px rgba(0,0,0,.35);
        }

.box2-card-img {
            position: relative;
            height: 220px;
            overflow: hidden;
            flex-shrink: 0;
        }

.box2-card-img img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform .7s cubic-bezier(.4,0,.2,1);
        }

.box2-card:hover .box2-card-img img { transform: scale(1.1); }

.box2-card-img-ov { position: absolute; inset: 0; }

.box2-card--left .box2-card-img-ov {
            background: linear-gradient(180deg, rgba(249,76,48,.35) 0%, rgba(52,0,95,.88) 100%);
        }

.box2-card--right .box2-card-img-ov {
            background: linear-gradient(180deg, rgba(90,45,138,.35) 0%, rgba(10,10,10,.92) 100%);
        }

.box2-card-img-label {
            position: absolute; bottom: 0; left: 0; right: 0;
            padding: 24px 32px; z-index: 2;
        }

.box2-card-num-bg {
            font-family: 'DM Serif Display', serif;
            font-size: 4.2rem; line-height: .85;
            -webkit-text-stroke: 1.5px rgba(255,255,255,.15);
            -webkit-text-fill-color: transparent;
            margin-bottom: 4px;
        }

.box2-card-role {
            font-family: 'DM Serif Display', serif;
            font-size: 1.6rem; color: #fff;
        }

.box2-card-body {
            padding: 32px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

.box2-card--left .box2-card-body { background: #fff; }

.box2-card--right .box2-card-body { background: #111; }

.box2-list { list-style: none; padding: 0; margin: 0; }

.box2-list li {
            display: flex; align-items: center; gap: 16px;
            padding: 14px 0;
            border-bottom: 1px solid rgba(0,0,0,.06);
            transition: all .3s ease;
        }

.box2-card--right .box2-list li { border-bottom-color: rgba(255,255,255,.07); }

.box2-list li:last-child { border-bottom: none; }

.box2-list li:hover { padding-left: 8px; }

.box2-dot {
            width: 10px; height: 10px; min-width: 10px;
            border-radius: 50%;
        }

.box2-card--left .box2-dot {
            background: var(--sas-orange);
            box-shadow: 0 0 0 4px rgba(249,76,48,.15);
        }

.box2-card--right .box2-dot {
            background: var(--sas-purple-lt);
            box-shadow: 0 0 0 4px rgba(90,45,138,.2);
        }

.box2-txt { font-size: .92rem; line-height: 1.5; }

.box2-card--left .box2-txt { color: var(--text-2); }

.box2-card--right .box2-txt { color: rgba(255,255,255,.65); }

/* Center connector */
        .box2-conn {
            display: flex; align-items: center; justify-content: center;
            position: relative; z-index: 5;
        }

.box2-conn-line {
            position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
            background: linear-gradient(180deg, transparent 10%, rgba(255,255,255,.12) 30%, rgba(249,76,48,.35) 50%, rgba(255,255,255,.12) 70%, transparent 90%);
            transform: translateX(-50%);
        }

.box2-conn-icon {
            width: 68px; height: 68px; border-radius: 50%;
            background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk));
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 1.5rem;
            box-shadow: 0 0 0 6px rgba(52,0,95,.6), 0 0 0 12px rgba(249,76,48,.18), 0 20px 60px rgba(249,76,48,.3);
            position: relative; z-index: 6;
            animation: connFloat 3s ease-in-out infinite;
        }

@keyframes connFloat {
            0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}
        }

@media (max-width: 900px) {
            .box2-grid { grid-template-columns: 1fr; gap: 0; }
            .box2-conn { height: 80px; order: 1; }
            .box2-card--left { order: 0; }
            .box2-card--right { order: 2; }
            .box2-conn-line { display: none; }
        }

/* ══════════════════════════════════════════════════
           ★ STRATEGIC PROCESS SECTION - NUMBERS AT TOP RIGHT
           ══════════════════════════════════════════════════ */
        .bespoke-process-sec {
            padding: 60px 0;
            background: #fff;
            position: relative;
        }

.process-editorial-wrap {
            max-width: 1100px;
            margin: 80px auto 0;
            position: relative;
        }

/* The Vertical Thread */
        .process-editorial-wrap::before {
            content: '';
            position: absolute;
            top: 0; bottom: 0; left: 50%;
            width: 2px;
            background: rgba(52, 0, 95, 0.08);
            transform: translateX(-50%);
        }

.editorial-step {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 80px;
            position: relative;
            z-index: 2;
        }

.editorial-step:nth-child(even) {
            flex-direction: row-reverse;
        }

/* The Content Block (Solid Orange) */
        .editorial-content {
            width: 46%;
            position: relative;
            background: var(--sas-orange);
            padding: 55px 40px; /* Increased top padding to accommodate top-right number */
            border-radius: 24px;
            color: #fff;
            box-shadow: 0 25px 50px -12px rgba(249, 76, 48, 0.35);
            overflow: hidden;
            transition: transform 0.4s ease;
        }

.editorial-content:hover {
            transform: translateY(-5px);
        }

/* NUMBER AT TOP RIGHT */
        .editorial-num {
            font-family: 'DM Serif Display', serif;
            font-size: 8.5rem;
            line-height: 1;
            color: rgba(255, 255, 255, 0.12);
            position: absolute;
            top: -10px; /* Positioned at the top */
            right: 15px; /* Positioned at the right */
            z-index: 0;
            pointer-events: none;
        }

.editorial-tag {
            font-family: 'Trebuchet MS', sans-serif;
            font-weight: 700;
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 12px;
            display: block;
            position: relative;
            z-index: 1;
        }

.editorial-content h3 {
            font-size: 1.8rem;
            color: #fff;
            margin-bottom: 18px;
            letter-spacing: -0.01em;
            font-family: 'DM Serif Display', serif;
            position: relative;
            z-index: 1;
        }

.editorial-content p {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.7;
            position: relative;
            z-index: 1;
        }

/* The Visual Half */
        .editorial-visual {
            width: 46%;
            position: relative;
        }

.editorial-img-box {
            border-radius: 16px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
        }

.editorial-img-box img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

.editorial-step:hover .editorial-img-box img {
            transform: scale(1.05);
        }

/* Connector Node */
        .editorial-node {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 14px; height: 14px;
            background: #fff;
            border: 3px solid var(--sas-orange);
            border-radius: 50%;
            z-index: 5;
            box-shadow: 0 0 0 6px #fff;
        }

@media (max-width: 900px) {
            .editorial-step, .editorial-step:nth-child(even) { flex-direction: column; align-items: stretch; margin-bottom: 60px; }
            .editorial-content, .editorial-visual { width: 100%; }
            .editorial-visual { order: -1; margin-bottom: 20px; }
            .process-editorial-wrap::before, .editorial-node { display: none; }
            /* Resize number for mobile to avoid clashing with text */
            .editorial-num { font-size: 5.5rem; top: 0px; right: 10px; }
            .editorial-content { padding: 40px 30px; }
            .bespoke-process-sec { padding: 80px 0; }
        }

/* ══════════════════════════════════════════════════
           ★ SUCCESS STORIES — CINEMATIC CARDS
           ══════════════════════════════════════════════════ */
        .stories-sec {
            padding: 60px 0 50px;
            background: var(--bg-warm);
            position: relative;
            overflow: hidden;
        }

.stories-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }

.stories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
            position: relative; z-index: 2;
        }

.story-card {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            text-decoration: none;
            min-height: 520px;
            display: flex; flex-direction: column;
            cursor: pointer;
            transition: all .55s cubic-bezier(.4,0,.2,1);
            box-shadow: 0 8px 30px rgba(0,0,0,.12);
        }

.story-card:hover {
            transform: translateY(-14px) scale(1.02);
            box-shadow: 0 40px 80px rgba(0,0,0,.25);
        }

.story-card-img {
            position: absolute; inset: 0; z-index: 0;
        }

.story-card-img img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 1.2s cubic-bezier(.4,0,.2,1), filter .6s ease;
            filter: brightness(.85) saturate(1.1);
        }

.story-card:hover .story-card-img img {
            transform: scale(1.12);
            filter: brightness(.55) saturate(1.2);
        }

.story-card-grad {
            position: absolute; inset: 0; z-index: 1;
        }

.story-card:nth-child(1) .story-card-grad {
            background: linear-gradient(180deg, transparent 0%, rgba(26,18,16,.25) 25%, rgba(26,18,16,.75) 55%, rgba(26,18,16,.97) 80%);
        }

.story-card:nth-child(2) .story-card-grad {
            background: linear-gradient(180deg, transparent 0%, rgba(52,0,95,.2) 25%, rgba(52,0,95,.7) 55%, rgba(52,0,95,.97) 80%);
        }

.story-card:nth-child(3) .story-card-grad {
            background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,.25) 25%, rgba(10,10,10,.75) 55%, rgba(10,10,10,.97) 80%);
        }

.story-card-inner {
            position: relative; z-index: 3;
            padding: 36px 32px 32px;
            display: flex; flex-direction: column;
            height: 100%; justify-content: flex-end;
        }

.story-card-tag {
            position: absolute; top: 28px; left: 28px;
            display: inline-flex; align-items: center; gap: 8px;
            padding: 8px 18px; border-radius: 30px;
            font-size: .7rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: .08em;
            font-family: 'Trebuchet MS', sans-serif;
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            z-index: 4;
            transition: transform .3s ease;
        }

.story-card:nth-child(1) .story-card-tag {
            background: rgba(249,76,48,.25); border: 1px solid rgba(249,76,48,.35); color: #fff;
        }

.story-card:nth-child(2) .story-card-tag {
            background: rgba(120,60,180,.3); border: 1px solid rgba(120,60,180,.4); color: #e8d5ff;
        }

.story-card:nth-child(3) .story-card-tag {
            background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9);
        }

.story-card-ghost {
            position: absolute; top: 16px; right: 24px;
            font-family: 'DM Serif Display', serif;
            font-size: 7rem; line-height: 1;
            -webkit-text-stroke: 1.5px rgba(255,255,255,.06);
            -webkit-text-fill-color: transparent;
            z-index: 2; pointer-events: none;
            transition: all .5s ease;
        }

.story-card:hover .story-card-ghost {
            -webkit-text-stroke-color: rgba(249,76,48,.12);
            transform: translateY(-10px) scale(1.05);
        }

.story-card-inner h3 {
            font-family: 'DM Serif Display', serif;
            font-size: 1.5rem; color: #fff;
            margin-bottom: 12px; line-height: 1.25;
        }

.story-card-inner p {
            font-size: .88rem;
            color: rgba(255,255,255,.55);
            line-height: 1.75;
            margin-bottom: 26px;
        }

.story-card-cta {
            display: flex; align-items: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,.1);
        }

.story-cta-label {
            font-size: .78rem; font-weight: 700;
            letter-spacing: .06em;
            color: var(--sas-orange);
            font-family: 'Trebuchet MS', sans-serif;
            transition: all .3s ease;
        }

.story-card:hover .story-cta-label { color: var(--sas-orange-lt); letter-spacing: .1em; }

.story-cta-arrow {
            width: 44px; height: 44px; border-radius: 50%;
            background: rgba(249,76,48,.12);
            border: 1px solid rgba(249, 76, 48, 0.2);
            display: flex; align-items: center; justify-content: center;
            color: var(--sas-orange); font-size: .85rem;
            margin-left: auto;
            transition: all .45s cubic-bezier(.4, 0, .2, 1);
        }

.story-card:hover .story-cta-arrow {
            background: var(--sas-orange);
            border-color: var(--sas-orange);
            color: #fff;
            transform: translateX(6px) scale(1.08);
            box-shadow: 0 10px 30px rgba(249,76,48,.4);
        }

@media (max-width: 1024px) {
            .stories-grid { grid-template-columns: 1fr 1fr; }
        }

@media (max-width: 768px) {
            .stories-grid { grid-template-columns: 1fr; }
            .story-card { min-height: 440px; }
            .story-card-ghost { font-size: 5rem; }
        }

.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 18px; position: relative; z-index: 2; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(255,255,255,.35); position: relative; z-index: 2; }

.footer-bottom-links { display: flex; gap: 16px; }

/* Responsive */
        @media (max-width: 1024px) {
            .hero-content { grid-template-columns: 1fr; text-align: left; }
            .hero-visual { order: -1; max-width: 500px; margin: 0 auto; width: 100%; }
        }

@media (max-width: 768px) {
            .container { padding: 0 20px; }
            .hero { padding: 100px 0 70px; }
            .nav-links { display: none; }
            .nav-toggle { display: flex; }
            .mobile-nav { top: 64px; }
        }

/* ═══════ MODAL POPUP ═══════ */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 18, 16, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: #ffffff; width: 100%; max-width: 480px; border-radius: 24px;
    padding: 48px 40px; text-align: center; position: relative;
    transform: translateY(20px) scale(0.95); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sh-lg); border: 1px solid rgba(52,0,95,0.1);
}

.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute; top: 16px; right: 16px; background: rgba(52,0,95,0.05);
    border: none; width: 36px; height: 36px; border-radius: 50%;
    color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover { background: rgba(249,76,48,0.1); color: var(--sas-orange); transform: rotate(90deg); }

.modal-icon {
    width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk));
    color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; box-shadow: var(--sh-ora);
}

.modal-title { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--text); margin-bottom: 16px; line-height: 1.1; }

.modal-message { font-size: 1.05rem; color: var(--text-2); line-height: 1.6; margin-bottom: 32px; }

.modal-message a { color: var(--sas-orange); text-decoration: none; font-weight: 700; }

.modal-message a:hover { text-decoration: underline; color: var(--sas-orange-dk); }

.modal-action { width: 100%; justify-content: center; font-size: 1rem; padding: 14px 28px; }

@media (max-width: 768px) {
    .modal-content { padding: 40px 24px; }
}
