/* ─── BASE ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:        #FFF8F0;   /* main bg — warm cream */
    --navy-light:  #FFF3E8;   /* alt section bg — slightly warmer */
    --navy-card:   #FFFFFF;   /* card bg — white */

    /* ── AAA Brand Colors ─────────────────────────────────────
       These 4 colors form the identity of Adamerindo Advertising Agency.
       They are drawn from the AAA logo mark and used consistently
       for cycling text, gradients, badges, icons, and accents.    */
    --brand-red:    #D42028;   /* bold red    — primary brand, power   */
    --brand-orange: #FF6B00;   /* warm orange — energy, creativity     */
    --brand-blue:   #002868;   /* deep blue   — trust, US market       */
    --brand-green:  #138808;   /* rich green  — growth, India market   */

    /* Shorthand aliases */
    --red:    var(--brand-red);
    --orange: var(--brand-orange);
    --blue:   var(--brand-blue);
    --green:  var(--brand-green);

    /* ── Brand Color Cycling Gradient ────────────────────────
       Standard order used across: tagline words, ticker text,
       radar badge ring, social icon colors, section accents.
       Usage:  background: var(--brand-gradient);
               background: linear-gradient(135deg, var(--brand-red), var(--brand-orange), var(--brand-blue), var(--brand-green)); */
    --brand-gradient:         linear-gradient(135deg, #D42028, #FF6B00, #002868, #138808);
    --brand-gradient-h:       linear-gradient(90deg,  #D42028, #FF6B00, #002868, #138808);
    --brand-gradient-subtle:  linear-gradient(135deg,
                                rgba(212,32,40,0.08),
                                rgba(255,107,0,0.08),
                                rgba(0,40,104,0.06),
                                rgba(19,136,8,0.06));

    --white:  #FFFFFF;
    --border: rgba(28,8,0,0.08);
    --text:   #1C0800;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--navy);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 10px; }

/* ─── SELECTION ──────────────────────────────────────────── */
::selection { background: rgba(204,34,41,0.20); color: #1C0800; }

/* ─── PRELOADER ──────────────────────────────────────────── */
#preloader {
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-logo {
    animation: preloaderZoom 0.45s cubic-bezier(0.22,1,0.36,1) both,
               preloaderPulse 0.7s ease-in-out 0.45s infinite alternate;
}
@keyframes preloaderZoom {
    from { opacity: 0; transform: scale(0.4); }
    to   { opacity: 1; transform: scale(1.12); }
}
@keyframes preloaderPulse {
    from { transform: scale(1.08); }
    to   { transform: scale(1.18); }
}
/* Multi-color preloader progress bar */
#preloader-bar {
    background: linear-gradient(90deg, #D42028 0%, #FF6B00 35%, #138808 70%, #002868 100%);
    background-size: 200% 100%;
    animation: preloaderBarShift 1.2s linear forwards;
}
@keyframes preloaderBarShift {
    from { background-position: 200% 0; }
    to   { background-position: 0% 0; }
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
/* Light blush tint — distinct from cream body, ties to brand red */
#navbar {
    background: transparent;
    border-bottom: 3px solid transparent;
}

/* Scrolled state: cream bg + red accent line appears */
#navbar.scrolled, #navbar.always-solid {
    background: #FEF3F3;
    border-bottom: 3px solid #D42028;
    box-shadow: 0 2px 16px rgba(212,32,40,0.06);
}

.nav-link {
    color: rgba(28,8,0,0.55);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.25s;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}
.nav-link:hover { color: #D42028; }

/* Legacy — kept for specificity; actual rule is above combined with .always-solid */

/* Hamburger lines: always dark */
.ham-line { background: #1C0800 !important; }

/* Mobile menu: white bg, dark text */
#mobile-menu .nav-link {
    color: rgba(28,8,0,0.65);
}
#mobile-menu .nav-link:hover { color: #D42028; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-orange {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.7rem 1.5rem;
    transition: background 0.25s, transform 0.2s;
    text-decoration: none;
    font-size: 0.875rem;
}
.btn-orange:hover { background: rgba(255,107,0,0.85); transform: scale(1.03); }

.btn-red {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.875rem 1.75rem;
    transition: background 0.25s, transform 0.2s;
    text-decoration: none;
}
.btn-red:hover { background: rgba(204,34,41,0.85); transform: scale(1.03); }

.btn-ghost {
    display: inline-block;
    border: 1px solid rgba(28,8,0,0.22);
    color: #1C0800;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.875rem 1.75rem;
    transition: border-color 0.25s, background 0.25s;
    text-decoration: none;
}
.btn-ghost:hover {
    border-color: rgba(28,8,0,0.4);
    background: rgba(28,8,0,0.04);
}

/* ── Pre-footer CTA section — sage / moss gradient ── */
.cta-prefooter {
    background:
        /* Sage highlight — top left */
        radial-gradient(ellipse 65% 70% at 0% 0%,    rgba(180,210,170,0.22) 0%, transparent 60%),
        /* Moss depth — bottom right */
        radial-gradient(ellipse 55% 60% at 100% 100%,rgba(80,110,70,0.30)  0%, transparent 55%),
        /* Soft centre warmth */
        radial-gradient(ellipse 80% 60% at 50% 50%,  rgba(140,170,120,0.10) 0%, transparent 70%),
        /* Base: sage → moss */
        linear-gradient(135deg, #6B8F5E 0%, #4A6741 55%, #3B5438 100%) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100% !important;
    position: relative;
    overflow: hidden;
}
/* Radiating signal rings — PR/broadcast reach motif, distinct from footer lines */
.cta-prefooter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 88% 50%, transparent 28%, rgba(255,255,255,0.045) 29%, transparent 30%),
        radial-gradient(ellipse at 88% 50%, transparent 42%, rgba(255,255,255,0.038) 43%, transparent 44%),
        radial-gradient(ellipse at 88% 50%, transparent 58%, rgba(255,255,255,0.030) 59%, transparent 60%),
        radial-gradient(ellipse at 88% 50%, transparent 74%, rgba(255,255,255,0.022) 75%, transparent 76%),
        radial-gradient(ellipse at 88% 50%, transparent 90%, rgba(255,255,255,0.015) 91%, transparent 92%);
    pointer-events: none;
}
/* Brand "A" symbol watermark — right side of CTA sections */
.cta-prefooter::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 380px;
    height: 380px;
    background-image: url('../specs/Logo symbol white bgc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.07;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
.cta-prefooter > * { position: relative; z-index: 1; }

/* btn-ghost inside green CTA — white outline */
.cta-prefooter .btn-ghost {
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}
.cta-prefooter .btn-ghost:hover {
    border-color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    color: #fff;
}


/* ─── CARDS ──────────────────────────────────────────────── */
.card-bordered {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: border-color 0.4s;
}

/* ─── LABEL TAGS ─────────────────────────────────────────── */
.label-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(28,8,0,0.45);
    border: 1px solid rgba(28,8,0,0.18);
    border-radius: 9999px;
    padding: 0.35rem 1rem;
}


/* ─── SECTION HEADING ────────────────────────────────────── */
.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.1;
}

/* ─── TICKER ─────────────────────────────────────────────── */
.ticker-wrap { position: relative; }
.ticker-track { display: flex; }
.ticker-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}
/* Cycle brand colors: items sit at odd child positions (1,3,5…) inside ticker-set,
   separators at even. Groups of 8 children = 4 items per color cycle.           */
.ticker-set > .ticker-item:nth-child(8n+1) { color: #D42028; }   /* red    */
.ticker-set > .ticker-item:nth-child(8n+3) { color: #FF6B00; }   /* orange */
.ticker-set > .ticker-item:nth-child(8n+5) { color: #002868; }   /* blue   */
.ticker-set > .ticker-item:nth-child(8n+7) { color: #138808; }   /* green  */

.ticker-sep {
    font-size: 0.5rem;
}
/* Logo separator — natural brand colors, no filter */
.ticker-sep-img {
    display: inline-block;
    height: 13px;
    width: auto;
    vertical-align: middle;
    opacity: 0.70;
    position: relative;
    top: -1px;
}

/* ─── ARROW LINK ─────────────────────────────────────────── */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.25s;
}
.arrow-link::after {
    content: '→';
    transition: transform 0.25s;
}
.arrow-link:hover::after { transform: translateX(4px); }

/* ─── VERTICAL CARDS ─────────────────────────────────────── */
.vertical-card { transition: border-color 0.4s, transform 0.3s; }
.vertical-card:hover { transform: translateY(-3px); }
.vc-glow {
    position: absolute;
    top: 0; right: 0;
    width: 260px; height: 260px;
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: background 0.5s;
    pointer-events: none;
}
.icon-box {
    width: 3rem; height: 3rem;
    border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
}

/* ─── SERVICE TAGS ───────────────────────────────────────── */
.service-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(28,8,0,0.50);
    background: rgba(28,8,0,0.04);
    border: 1px solid rgba(28,8,0,0.10);
    border-radius: 9999px;
    padding: 0.25rem 0.65rem;
    transition: color 0.2s, background 0.2s;
}
.service-tag:hover {
    color: rgba(28,8,0,0.80);
    background: rgba(28,8,0,0.08);
}

/* ─── SERVICE CARDS ──────────────────────────────────────── */
.svc-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    cursor: default;
    /* Card enters from below when scrolled into view */
    opacity: 0;
    transform: translateY(28px);
}
.svc-card.svc-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s, box-shadow 0.3s;
}
.svc-card.svc-visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(28,8,0,0.08);
}

/* Bullet list items — slide in left with stagger after card is visible */
.svc-card .svc-li {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.svc-card.svc-visible .svc-li {
    opacity: 1;
    transform: translateX(0);
}
/* Stagger delays for up to 6 bullets */
.svc-card.svc-visible .svc-li:nth-child(1) { transition-delay: 0.18s; }
.svc-card.svc-visible .svc-li:nth-child(2) { transition-delay: 0.28s; }
.svc-card.svc-visible .svc-li:nth-child(3) { transition-delay: 0.38s; }
.svc-card.svc-visible .svc-li:nth-child(4) { transition-delay: 0.48s; }
.svc-card.svc-visible .svc-li:nth-child(5) { transition-delay: 0.58s; }
.svc-card.svc-visible .svc-li:nth-child(6) { transition-delay: 0.68s; }

.svc-icon {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}
/* Icon animations — triggered when card becomes visible */
.svc-card.svc-visible .svc-icon { animation: svcIconPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
.svc-card.svc-visible:nth-child(1) .svc-icon { animation-delay: 0.08s; }
.svc-card.svc-visible:nth-child(2) .svc-icon { animation-delay: 0.14s; }
.svc-card.svc-visible:nth-child(3) .svc-icon { animation-delay: 0.20s; }
.svc-card.svc-visible:nth-child(4) .svc-icon { animation-delay: 0.26s; }
.svc-card.svc-visible:nth-child(5) .svc-icon { animation-delay: 0.32s; }
.svc-card.svc-visible:nth-child(6) .svc-icon { animation-delay: 0.38s; }
.svc-card.svc-visible:nth-child(7) .svc-icon { animation-delay: 0.44s; }
.svc-card.svc-visible:nth-child(8) .svc-icon { animation-delay: 0.50s; }
.svc-card.svc-visible:nth-child(9) .svc-icon { animation-delay: 0.56s; }
/* 360° radar spin */
@keyframes radarSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes svcIconPop {
    0%   { transform: scale(0.5) rotate(-8deg); opacity: 0; }
    60%  { transform: scale(1.18) rotate(4deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
/* TV icon — scan-line flicker on hover */
.svc-card:hover .svc-icon[data-icon="tv"]   { animation: iconFlicker 0.6s ease infinite alternate; }
/* Radio icon — pulse on hover */
.svc-card:hover .svc-icon[data-icon="radio"] { animation: iconPulse 0.8s ease infinite; }
/* Megaphone — broadcast swing */
.svc-card:hover .svc-icon[data-icon="pr"]   { animation: iconSwing 0.5s ease infinite alternate; }
/* Video / production — spin shutter */
.svc-card:hover .svc-icon[data-icon="prod"] { animation: iconSpin 1.2s linear infinite; }
/* Digital / mobile — float */
.svc-card:hover .svc-icon[data-icon="dig"]  { animation: iconFloat 1s ease-in-out infinite; }
/* General hover bounce */
.svc-card:hover .svc-icon { animation: iconBounce 0.55s cubic-bezier(0.34,1.56,0.64,1); }

@keyframes iconFlicker {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.04) translateY(-1px); }
}
@keyframes iconPulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}
@keyframes iconSwing {
    0%   { transform: rotate(-12deg); }
    100% { transform: rotate(8deg); }
}
@keyframes iconSpin {
    to { transform: rotate(360deg); }
}
@keyframes iconFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}
@keyframes iconBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.22) translateY(-4px); }
    70%  { transform: scale(0.96) translateY(1px); }
    100% { transform: scale(1) translateY(0); }
}

/* Card enter stagger for home page grid */
.svc-card:nth-child(1) { transition-delay: 0.00s; }
.svc-card:nth-child(2) { transition-delay: 0.07s; }
.svc-card:nth-child(3) { transition-delay: 0.14s; }
.svc-card:nth-child(4) { transition-delay: 0.21s; }
.svc-card:nth-child(5) { transition-delay: 0.28s; }
.svc-card:nth-child(6) { transition-delay: 0.35s; }
.svc-card:nth-child(7) { transition-delay: 0.42s; }
.svc-card:nth-child(8) { transition-delay: 0.49s; }
.svc-card:nth-child(9) { transition-delay: 0.56s; }

.svc-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1C0800;
}
.svc-desc {
    font-size: 0.8125rem;
    color: rgba(28,8,0,0.45);
    line-height: 1.6;
}

/* ─── STATS ──────────────────────────────────────────────── */
.stat-item { padding: 0.5rem; }
.stat-label {
    font-size: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(28,8,0,0.50);
}

/* ─── ADVANTAGE ITEMS ────────────────────────────────────── */
.adv-dot {
    width: 2rem; height: 2rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ─── MARKET CARDS ───────────────────────────────────────── */
.market-card {
    transition: border-color 0.3s, transform 0.3s;
}
.market-card:hover {
    border-color: rgba(28,8,0,0.20);
    transform: translateY(-2px);
}

/* ─── MINI CARDS (problem/solution) ─────────────────────── */
.mini-card {
    background: rgba(28,8,0,0.04);
    border-radius: 0.75rem;
    padding: 1rem;
}
.mini-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--orange);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.mini-card-sub {
    font-size: 0.75rem;
    color: rgba(28,8,0,0.45);
}

/* ─── VIDEO ──────────────────────────────────────────────── */
#video-container { transition: border-color 0.3s; }
#video-container:hover { border-color: rgba(28,8,0,0.20); }
.play-btn { transition: transform 0.3s; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testi-card {
    transition: border-color 0.3s, transform 0.3s;
}
.testi-card:hover {
    border-color: rgba(28,8,0,0.20);
    transform: translateY(-2px);
}
.avatar {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
/* Black base with brand-color glows + dot grid — PR/Advertising agency feel */
footer {
    background:
        /* Orange glow — top-left */
        radial-gradient(ellipse 65% 55% at 2% 0%,    rgba(255,107,0,0.22) 0%, transparent 58%),
        /* Red glow — bottom-right (stronger) */
        radial-gradient(ellipse 62% 52% at 99% 100%, rgba(212,32,40,0.30) 0%, transparent 54%),
        /* Red glow — top-right */
        radial-gradient(ellipse 40% 35% at 98% 2%,   rgba(180,20,20,0.16) 0%, transparent 50%),
        /* Orange warmth — bottom-left */
        radial-gradient(ellipse 38% 30% at 2% 98%,   rgba(200,60,0,0.12) 0%, transparent 50%),
        /* Dot-grid texture — halftone print / broadcast signal */
        radial-gradient(circle, rgba(255,255,255,0.048) 1px, transparent 1px),
        #0D0D0D !important;
    background-size:
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        26px 26px,
        100% 100% !important;
    position: relative;
    overflow: hidden;
}


/* Diagonal signal-wave lines — broadcast / media motif */
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -55deg,
            transparent,
            transparent 38px,
            rgba(255,255,255,0.022) 38px,
            rgba(255,255,255,0.022) 39px
        );
    pointer-events: none;
    z-index: 0;
}
footer > * { position: relative; z-index: 1; }

footer .logo-wrapper-lg img,
footer .logo-wrapper img {
    opacity: 0.90;
}
.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
}
.footer-link {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

/* ─── HERO CANVAS ────────────────────────────────────────── */
/* Mask ellipse shifted bottom-right of globe center so top-left dissolves faster */
#hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    /* xl: globe center ~73%; mask origin pushed to 76% 56% so top-left fades first */
    -webkit-mask-image: radial-gradient(ellipse 46% 60% at 76% 56%,
        black 0%, black 30%,
        rgba(0,0,0,0.75) 50%,
        rgba(0,0,0,0.22) 67%,
        rgba(0,0,0,0.04) 80%,
        transparent 90%);
    mask-image: radial-gradient(ellipse 46% 60% at 76% 56%,
        black 0%, black 30%,
        rgba(0,0,0,0.75) 50%,
        rgba(0,0,0,0.22) 67%,
        rgba(0,0,0,0.04) 80%,
        transparent 90%);
}
@media (max-width: 1279px) {
    /* lg: globe center ~69%; shifted to 72% 56% */
    #hero-canvas {
        -webkit-mask-image: radial-gradient(ellipse 50% 58% at 72% 56%,
            black 0%, black 28%,
            rgba(0,0,0,0.72) 48%,
            rgba(0,0,0,0.20) 65%,
            rgba(0,0,0,0.04) 79%,
            transparent 90%);
        mask-image: radial-gradient(ellipse 50% 58% at 72% 56%,
            black 0%, black 28%,
            rgba(0,0,0,0.72) 48%,
            rgba(0,0,0,0.20) 65%,
            rgba(0,0,0,0.04) 79%,
            transparent 90%);
    }
}
@media (max-width: 1023px) {
    /* md: globe center ~61%; shifted to 64% 55% */
    #hero-canvas {
        -webkit-mask-image: radial-gradient(ellipse 56% 56% at 64% 55%,
            black 0%, black 25%,
            rgba(0,0,0,0.68) 46%,
            rgba(0,0,0,0.18) 63%,
            rgba(0,0,0,0.04) 77%,
            transparent 88%);
        mask-image: radial-gradient(ellipse 56% 56% at 64% 55%,
            black 0%, black 25%,
            rgba(0,0,0,0.68) 46%,
            rgba(0,0,0,0.18) 63%,
            rgba(0,0,0,0.04) 77%,
            transparent 88%);
    }
}
@media (max-width: 639px) {
    /* mobile: centred with bottom-biased fade */
    #hero-canvas {
        -webkit-mask-image: radial-gradient(ellipse 68% 54% at 50% 57%,
            black 0%, black 22%,
            rgba(0,0,0,0.62) 44%,
            rgba(0,0,0,0.16) 62%,
            rgba(0,0,0,0.03) 76%,
            transparent 88%);
        mask-image: radial-gradient(ellipse 68% 54% at 50% 57%,
            black 0%, black 22%,
            rgba(0,0,0,0.62) 44%,
            rgba(0,0,0,0.16) 62%,
            rgba(0,0,0,0.03) 76%,
            transparent 88%);
    }
}

/* ─── SCROLL REVEAL (initial state, GSAP takes over) ─────── */
.reveal-section { overflow: hidden; }

/* ─── LOGO WRAPPER ───────────────────────────────────────── */
.logo-wrapper {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
    text-decoration: none;
}
.logo-wrapper:hover { opacity: 0.85; }
.logo-wrapper img { height: 42px; width: auto; display: block; }

.logo-wrapper-lg {
    display: inline-flex;
    align-items: center;
}
.logo-wrapper-lg img { height: 46px; width: auto; display: block; }

/* ─── NAV DROPDOWN ───────────────────────────────────────── */
.nav-dropdown-wrapper { position: relative; }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background: #FEF3F3;
    border: 1px solid rgba(28,8,0,0.08);
    border-top: 3px solid #D42028;
    border-radius: 0 0 12px 12px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(28,8,0,0.10);
}
.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(28,8,0,0.60);
    font-size: 0.8125rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown-item:hover {
    background: rgba(28,8,0,0.05);
    color: #1C0800;
}
.nav-dropdown-icon { font-size: 1rem; }

/* ─── CLIENTS STRIP ──────────────────────────────────────── */
.clients-strip {
    background: #FFF3E8;
    border-top: 1px solid rgba(28,8,0,0.06);
    border-bottom: 1px solid rgba(28,8,0,0.06);
    padding: 3rem 0;
}
.client-logo-box {
    flex-shrink: 0;
    background: rgba(28,8,0,0.03);
    border: 1px solid rgba(28,8,0,0.08);
    border-radius: 10px;
    width: 160px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(28,8,0,0.30);
    letter-spacing: 0.05em;
    transition: border-color 0.2s, color 0.2s;
}
.client-logo-box:hover {
    border-color: rgba(28,8,0,0.20);
    color: rgba(28,8,0,0.55);
}

/* ─── INNER PAGE HERO ─────────────────────────────────────── */
.page-hero {
    padding: 6.8rem 0 4.25rem;
    background: linear-gradient(135deg, #FEE9D6 0%, #FFF0E4 60%, #FFF8F0 100%);
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #D42028;
    position: relative;
    overflow: hidden;
}
/* Overlay: cream wash + red accent glow combined */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 72% 50%, rgba(212,32,40,0.07) 0%, transparent 65%),
        linear-gradient(120deg, rgba(255,248,240,0.93) 38%, rgba(255,240,228,0.78) 100%);
    z-index: 1;
    pointer-events: none;
}
.page-hero > * {
    position: relative;
    z-index: 2;
}
/* Brand "A" symbol watermark — bottom right of every inner page hero */
.page-hero::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 260px;
    height: 260px;
    background-image: url('../specs/Logo symbol white bgc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

/* ─── CONTACT FORM ───────────────────────────────────────── */
.form-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(28,8,0,0.12);
    border-radius: 0.75rem;
    padding: 0.875rem 1.125rem;
    color: #1C0800;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s;
}
.form-input::placeholder { color: rgba(28,8,0,0.30); }
.form-input:focus { border-color: var(--orange); }

.form-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(28,8,0,0.50);
    margin-bottom: 0.5rem;
}

/* ─── BLOG / WORK CARDS ──────────────────────────────────── */
.blog-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}
.blog-card:hover {
    border-color: rgba(28,8,0,0.18);
    transform: translateY(-3px);
}

.work-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}
.work-card:hover {
    border-color: rgba(28,8,0,0.18);
    transform: translateY(-3px);
}

/* ─── SERVICES PAGE ──────────────────────────────────────── */
.services-tab {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(28,8,0,0.15);
    color: rgba(28,8,0,0.50);
    cursor: pointer;
    transition: all 0.25s;
    background: transparent;
}
.services-tab:hover {
    color: #1C0800;
    border-color: rgba(28,8,0,0.35);
}
.services-tab.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* ─── SOCIAL ICONS ──────────────────────────────────────── */
/* In footer (red bg) — white icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.55);
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
    text-decoration: none;
}
.social-icon:hover { transform: scale(1.12); }
.social-icon svg { width: 16px; height: 16px; }

/* Platform brand colors */
.social-yt  { color: #FF4444; border-color: rgba(255,0,0,0.40); }
.social-yt:hover  { color: #FF1111; border-color: #FF0000; background: rgba(255,0,0,0.14); }
.social-li  { color: #5599D5; border-color: rgba(10,102,194,0.40); }
.social-li:hover  { color: #3388CC; border-color: #0A66C2; background: rgba(10,102,194,0.14); }
.social-ig  { color: #E8609A; border-color: rgba(225,48,108,0.40); }
.social-ig:hover  { color: #E1306C; border-color: #E1306C; background: rgba(225,48,108,0.14); }

/* ─── RESPONSIVE TWEAKS ──────────────────────────────────── */
@media (max-width: 640px) {
    .section-heading { font-size: 1.75rem; }
}

/* ─── HAMBURGER ACTIVE STATE ─────────────────────────────── */
#mobile-menu-btn.open .ham-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#mobile-menu-btn.open .ham-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#mobile-menu-btn.open .ham-line:nth-child(3) {
    width: 1.5rem;
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES — applies site-wide (all on cream bg)
   Hero, page-hero, footer — all now cream/light
   ═══════════════════════════════════════════════════════════ */

/* text-white/* variants → warm dark on cream */
.text-white\/80 { color: rgba(28,8,0,0.85) !important; }
.text-white\/70 { color: rgba(28,8,0,0.75) !important; }
.text-white\/60 { color: rgba(28,8,0,0.60) !important; }
.text-white\/55 { color: rgba(28,8,0,0.55) !important; }
.text-white\/50 { color: rgba(28,8,0,0.50) !important; }
.text-white\/45 { color: rgba(28,8,0,0.50) !important; }
.text-white\/40 { color: rgba(28,8,0,0.45) !important; }
.text-white\/38 { color: rgba(28,8,0,0.42) !important; }
.text-white\/35 { color: rgba(28,8,0,0.40) !important; }
.text-white\/30 { color: rgba(28,8,0,0.35) !important; }
.text-white\/25 { color: rgba(28,8,0,0.30) !important; }
.text-white\/20 { color: rgba(28,8,0,0.25) !important; }
.text-white\/15 { color: rgba(28,8,0,0.20) !important; }
.text-white\/10 { color: rgba(28,8,0,0.15) !important; }
.text-white     { color: #1C0800 !important; }

/* EXCEPTIONS: buttons always keep white text */
.btn-orange, .btn-red,
.btn-orange:hover, .btn-red:hover,
.btn-orange .text-white, .btn-red .text-white,
.tab-btn.active-pr, .tab-btn.active-digital,
.services-tab.active { color: #fff !important; }

/* bg-white glass effects → faint dark tint on cream */
.bg-white\/30 { background-color: rgba(28,8,0,0.14) !important; }
.bg-white\/20 { background-color: rgba(28,8,0,0.10) !important; }
.bg-white\/10 { background-color: rgba(28,8,0,0.05) !important; }
.bg-white\/8  { background-color: rgba(28,8,0,0.04) !important; }
.bg-white\/6  { background-color: rgba(28,8,0,0.03) !important; }
.bg-white\/4  { background-color: rgba(28,8,0,0.02) !important; }

/* border-white/* variants → subtle dark */
.border-white\/10 { border-color: rgba(28,8,0,0.08) !important; }
.border-white\/8  { border-color: rgba(28,8,0,0.06) !important; }
.border-white\/15 { border-color: rgba(28,8,0,0.10) !important; }
.border-white\/20 { border-color: rgba(28,8,0,0.12) !important; }
.border-white\/25 { border-color: rgba(28,8,0,0.15) !important; }
.border-white\/30 { border-color: rgba(28,8,0,0.18) !important; }

/* hover variants */
.hover\:border-white\/20:hover { border-color: rgba(28,8,0,0.15) !important; }
.hover\:text-white:hover { color: #1C0800 !important; }

/* ─── FOOTER OVERRIDES — restore white text on red bg ─────── */
footer .text-white\/80 { color: rgba(255,255,255,0.85) !important; }
footer .text-white\/70 { color: rgba(255,255,255,0.80) !important; }
footer .text-white\/60 { color: rgba(255,255,255,0.68) !important; }
footer .text-white\/55 { color: rgba(255,255,255,0.62) !important; }
footer .text-white\/50 { color: rgba(255,255,255,0.58) !important; }
footer .text-white\/45 { color: rgba(255,255,255,0.55) !important; }
footer .text-white\/40 { color: rgba(255,255,255,0.55) !important; }
footer .text-white\/35 { color: rgba(255,255,255,0.50) !important; }
footer .text-white\/30 { color: rgba(255,255,255,0.45) !important; }
footer .text-white\/25 { color: rgba(255,255,255,0.40) !important; }
footer .text-white\/20 { color: rgba(255,255,255,0.35) !important; }
footer .text-white\/10 { color: rgba(255,255,255,0.25) !important; }
footer .text-white     { color: rgba(255,255,255,0.90) !important; }
footer .hover\:text-white:hover { color: #ffffff !important; }
/* border and bg overrides for red footer */
footer .border-white\/10 { border-color: rgba(255,255,255,0.18) !important; }
footer .border-white\/20 { border-color: rgba(255,255,255,0.28) !important; }
footer .bg-white\/10     { background-color: rgba(255,255,255,0.12) !important; }

/* divide-white */
.divide-white\/10 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(28,8,0,0.08);
}
