/* =========================================================
   Ananya Asthana — Portfolio
   Master stylesheet
   ========================================================= */
:root {
    --bg-0: #06020f;
    --bg-1: #0d0521;
    --bg-2: #160a33;
    --bg-3: #1f0d44;

    --c-text: #f3eafc;
    --c-text-dim: #c5b8da;
    --c-text-muted: #8a7ba6;

    --c-magenta: #b829e0;
    --c-pink: #ff4fa3;
    --c-orange: #ff8a3d;
    --c-amber: #ffb347;
    --c-violet: #7e2ad8;

    --grad-accent: linear-gradient(92deg, #ff4fa3 0%, #ff7a3a 50%, #ffb347 100%);
    --grad-cta: linear-gradient(92deg, #ff3d8a 0%, #ff6b3d 60%, #ffa247 100%);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-glow-pink: 0 18px 50px -10px rgba(255, 79, 163, 0.5);
    --shadow-card: 0 18px 60px -25px rgba(0, 0, 0, 0.85);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --header-h: 84px;
    --container: min(1380px, 92vw);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--c-text);
    background: var(--bg-0);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    height: 100vh;
}
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
svg { display: block; }

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

.container { width: var(--container); margin: 0 auto; }

/* Page background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(184,41,224,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 60%, rgba(255,107,61,0.10) 0%, transparent 55%),
        var(--bg-0);
    z-index: -2;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 60px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 60px);
    pointer-events: none;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

/* =========================================================
   Page loader
   ========================================================= */
.page-loader {
    position: fixed; inset: 0;
    background: var(--bg-0);
    display: grid; place-items: center;
    z-index: 999;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
    position: relative;
    width: 100px; height: 100px;
    display: grid; place-items: center;
}
.loader-letter {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: 56px;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.loader-dot { color: var(--c-orange); -webkit-text-fill-color: var(--c-orange); }
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--c-pink);
    border-right-color: var(--c-orange);
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Cursor
   ========================================================= */
.cursor-follower {
    position: fixed;
    top: 0; left: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,79,163,0.7), rgba(184,41,224,0.2));
    pointer-events: none;
    z-index: 999;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    transition: transform 0.25s var(--ease-spring), opacity 0.3s;
    opacity: 0;
    filter: blur(4px);
}
.cursor-follower.is-visible { opacity: 1; }
.cursor-follower.is-hover { transform: translate(-50%, -50%) scale(2.6); }
@media (hover: none) { .cursor-follower { display: none; } }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: fixed;
    top: 16px; left: 0; right: 0;
    z-index: 50;
    padding: 0 clamp(20px, 3vw, 44px);
    pointer-events: none;
}
.site-header.is-scrolled { top: 8px; }
.header-inner {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(13, 5, 33, 0.7);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 10px 12px 10px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 12px 40px -20px rgba(0,0,0,0.7);
    pointer-events: auto;
    transition: padding 0.3s ease;
}

.logo {
    flex-shrink: 0;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(184,41,224,0.4), rgba(255,79,163,0.4));
    border: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring);
}
.logo.has-image {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
}
.logo .logo-image {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 4px;
    z-index: 2;
    position: relative;
}
.logo:hover { transform: rotate(-6deg) scale(1.06); }
.logo-letter {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    color: #fff;
    z-index: 2;
    position: relative;
}
.logo-dot { color: var(--c-orange); }
.logo-glow {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, var(--c-pink), transparent 35%);
    animation: spin 3.5s linear infinite;
    opacity: 0.7;
}
.logo::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a0633, #2d0a55);
    z-index: 1;
}

.primary-nav { flex: 1; }
.primary-nav ul {
    display: flex;
    justify-content: center;
    gap: clamp(2px, 0.6vw, 8px);
    flex-wrap: nowrap;
}
.nav-link {
    position: relative;
    padding: 8px 11px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-text-dim);
    transition: color 0.25s var(--ease-out);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-underline {
    position: absolute;
    left: 11px; right: 11px; bottom: 4px;
    height: 2px;
    background: var(--grad-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
    border-radius: 2px;
}
.nav-link:hover .nav-underline,
.nav-link.is-active .nav-underline { transform: scaleX(1); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 18px;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.btn-pill {
    background: var(--grad-cta);
    color: #fff;
    box-shadow: var(--shadow-glow-pink);
    flex-shrink: 0;
}
.btn-pill:hover { transform: translateY(-2px) scale(1.02); }
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.32) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease-out);
    pointer-events: none;
}
.btn:hover::after { transform: translateX(100%); }
.btn-arrow {
    width: 18px; height: 18px;
    display: grid; place-items: center;
    transition: transform 0.4s var(--ease-spring);
}
.btn-arrow svg { width: 14px; height: 14px; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Hamburger */
.hamburger {
    display: none;
    width: 42px; height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}
.hamburger span {
    width: 20px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
    position: fixed;
    inset: 80px 16px auto 16px;
    background: rgba(6,2,15,0.97);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    z-index: 49;
    transform: translateY(-110%);
    transition: transform 0.5s var(--ease-out);
    padding: 16px;
    pointer-events: auto;
    max-height: 80vh;
    overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a {
    display: block;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.02);
    transition: all 0.3s var(--ease-out);
}
.mobile-drawer a:hover { background: rgba(255,79,163,0.1); transform: translateX(6px); }
.mobile-drawer .drawer-cta { background: var(--grad-cta); margin-top: 10px; text-align: center; }

/* =========================================================
   Slide stage
   ========================================================= */
.page {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: var(--footer-h);
    overflow: hidden;
    z-index: 5;
}
:root { --footer-h: 60px; }

/* =========================================================
   Section base — slide mode
   ========================================================= */
.section {
    position: absolute;
    inset: 0;
    /* Bottom padding clears the floating slide-nav so View More buttons don't
       collide with it. */
    padding: 24px 0 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.985);
    transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out), visibility 0s linear 0.7s;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}
/* Subtle gradient divider at the bottom of every section
   (visible briefly during slide transitions). */
.section::after {
    content: "";
    position: absolute;
    left: clamp(20px, 4vw, 60px);
    right: clamp(20px, 4vw, 60px);
    bottom: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 79, 163, 0.35), rgba(255, 138, 61, 0.35), transparent);
    opacity: 0.6;
    pointer-events: none;
}
.section.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out), visibility 0s;
    z-index: 2;
}
.section.is-leaving {
    opacity: 0;
    transform: translateY(-30px) scale(0.985);
}
/* hide custom scrollbars on sections */
.section::-webkit-scrollbar { width: 6px; }
.section::-webkit-scrollbar-track { background: transparent; }
.section::-webkit-scrollbar-thumb { background: rgba(255,79,163,0.3); border-radius: 3px; }
.section-num {
    display: inline-block;
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--c-pink);
    background: rgba(255, 79, 163, 0.1);
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid rgba(255, 79, 163, 0.2);
    letter-spacing: 0.04em;
}
.section-num-label {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: clamp(16px, 1.6vw, 22px);
    color: var(--c-text-dim);
    margin: 0;
}

/* Inline topline: section number + title + eyebrow on the same row */
.section-topline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.section-topline .eyebrow { margin: 0; }
.topline-divider {
    flex-shrink: 0;
    width: 1px;
    height: 18px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}
@media (max-width: 640px) {
    .section-topline { gap: 10px; }
    .topline-divider { display: none; }
}
.section-head { margin-bottom: 24px; }
.section-cta { margin-top: 32px; }
.section-head { margin-bottom: 36px; }
.big-title {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.sub {
    color: var(--c-text-dim);
    font-size: clamp(14px, 1vw, 16.5px);
    margin: 0;
}
.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: 0.18em;
    font-weight: 600;
    margin: 0 0 18px;
    color: #d2a6ff;
    text-transform: uppercase;
}
.eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-pink);
    box-shadow: 0 0 18px var(--c-pink);
    animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.55; } }

.grad, .grad-text {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

/* =========================================================
   Image placeholders — subtle so layout reads cleanly
   ========================================================= */
.ph-block, .art-placeholder {
    width: 100%; height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(184,41,224,0.18), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(255,107,61,0.12), transparent 60%),
        linear-gradient(140deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
    border-radius: inherit;
    color: rgba(255,255,255,0.18);
    text-align: center;
    padding: 14px;
    min-height: 100%;
}
.ph-block::before, .art-placeholder::before {
    content: "";
    width: 28px; height: 28px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    background:
        linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat;
    color: rgba(255,255,255,0.18);
    opacity: 0.7;
}
.ph-tag, .ph-path, .ph-name { display: none; }
.ph-mini { aspect-ratio: 2 / 1; }

/* =========================================================
   01 — HERO
   ========================================================= */
.section-hero { padding: 24px 0 100px; }

.bg-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: floatOrb 14s ease-in-out infinite;
}
.orb-1 { width: 380px; height: 380px; top: 10%; right: 0; background: radial-gradient(circle, var(--c-magenta), transparent 70%); }
.orb-2 { width: 460px; height: 460px; bottom: -20%; left: -10%; background: radial-gradient(circle, var(--c-orange), transparent 70%); animation-delay: -4s; }
.orb-3 { width: 280px; height: 280px; top: 30%; left: 35%; background: radial-gradient(circle, var(--c-pink), transparent 70%); opacity: 0.35; animation-delay: -8s; }
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.05); }
    66% { transform: translate(-20px, 35px) scale(0.95); }
}
.bg-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(210px, 0.4fr);
    gap: clamp(16px, 2vw, 32px);
    align-items: center;
    min-height: calc(100vh - var(--header-h) - var(--footer-h) - 100px);
}

/* New full-bleed hero layout (matches section 2's pattern) */
.hero-bleed {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    height: 100%;
    align-items: stretch;
}
.hero-content {
    padding: 24px clamp(20px, 3.5vw, 50px) 40px;
    /* Match the rest of the slides' container padding on the left */
    padding-left: max(clamp(20px, 4vw, 60px), calc((100vw - min(1380px, 92vw)) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}
.hero-content .hero-copy { display: flex; flex-direction: column; gap: 0; }
.hero-content .feature-cards {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-content .fcard {
    flex: 1 1 180px;
    min-width: 0;
}

.hero-photo {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    /* cover — fills the right half of the section. Transparent PNGs sit on
       the same dark section background as the rest of the page, so no extra
       rectangle or border is added by the layout. */
    object-fit: cover;
    object-position: center;
    display: block;
}
/* No dark overlay — transparent PNG uploads now blend cleanly with the section background. */
.hero-photo-fallback {
    width: 100%; height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(184,41,224,0.30), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(255,79,163,0.22), transparent 60%),
        var(--bg-1);
    color: var(--c-text-dim);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hpf-path {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    color: var(--c-pink);
    background: rgba(255,79,163,0.08);
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0.04em;
}

.hero-title {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: clamp(34px, 4.2vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.028em;
    margin: 0 0 22px;
    text-transform: uppercase;
}
.hero-line { display: block; overflow: hidden; white-space: nowrap; }
.hero-word {
    display: inline-block;
    margin-right: 0.18em;
    transform: translateY(110%);
    transition: transform 0.9s var(--ease-spring);
}
.hero-line.is-revealed .hero-word { transform: translateY(0); }
.hero-word.grad { font-style: italic; letter-spacing: -0.01em; }
.dot-pop {
    color: var(--c-orange);
    -webkit-text-fill-color: var(--c-orange);
    display: inline-block;
    animation: dotBounce 2s ease-in-out infinite;
}
@keyframes dotBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-sub {
    color: var(--c-text-dim);
    font-size: clamp(14.5px, 1.1vw, 17px);
    max-width: 460px;
    margin: 0 0 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-primary {
    background: var(--grad-cta);
    color: #fff;
    padding: 15px 24px;
    box-shadow: var(--shadow-glow-pink);
    font-size: 14.5px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -10px rgba(255,79,163,0.7); }
.btn-ghost {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 15px 24px;
    color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,138,61,0.5); }
.btn-xl { padding: 18px 32px; font-size: 16px; }

.follow-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--c-text-muted);
    font-size: 13px;
    font-weight: 500;
}
.follow-line {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, var(--c-text-muted), transparent);
}
.follow-inline ul { display: flex; gap: 8px; }
.follow-inline a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--c-text-dim);
    transition: all 0.35s var(--ease-spring);
}
.follow-inline a svg { width: 16px; height: 16px; }
.follow-inline a:hover {
    transform: translateY(-3px) rotate(-4deg);
    background: var(--grad-cta);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px -8px rgba(255,79,163,0.6);
}

/* Hero art frame */
.hero-art, .cta-art { display: grid; place-items: center; }
.art-frame {
    position: relative;
    width: clamp(260px, 32vw, 460px);
    aspect-ratio: 1 / 1.12;
    display: grid;
    place-items: center;
}
.art-image {
    position: relative;
    width: 100%; height: 100%;
    z-index: 5;
    animation: floatY 6s ease-in-out infinite;
    border-radius: 22px;
    overflow: hidden;
}
.art-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 30px 50px rgba(255,79,163,0.35));
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.art-splash { position: absolute; border-radius: 50%; filter: blur(40px); z-index: 1; }
.splash-1 { width: 75%; height: 75%; top: 5%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, var(--c-magenta) 0%, transparent 60%); opacity: 0.7; animation: pulseSplash 5s ease-in-out infinite; }
.splash-2 { width: 60%; height: 60%; bottom: 8%; left: 10%; background: radial-gradient(circle, var(--c-orange) 0%, transparent 60%); opacity: 0.6; animation: pulseSplash 6s ease-in-out infinite -2s; }
.splash-3 { width: 50%; height: 50%; top: 18%; right: 5%; background: radial-gradient(circle, var(--c-pink) 0%, transparent 60%); opacity: 0.55; animation: pulseSplash 4.5s ease-in-out infinite -1s; }
@keyframes pulseSplash { 0%, 100% { transform: translateX(var(--tx, 0)) scale(1); } 50% { transform: translateX(var(--tx, 0)) scale(1.15); } }
.splash-1 { --tx: -50%; }

.art-rays { position: absolute; inset: 0; z-index: 2; pointer-events: none; animation: spinSlow 38s linear infinite; }
.art-rays span { position: absolute; top: 50%; left: 50%; width: 4px; height: 60%; background: linear-gradient(to top, transparent, rgba(255,79,163,0.4), transparent); transform-origin: 50% 0; border-radius: 2px; }
.art-rays span:nth-child(1) { transform: translate(-50%, 0) rotate(0deg); }
.art-rays span:nth-child(2) { transform: translate(-50%, 0) rotate(60deg); }
.art-rays span:nth-child(3) { transform: translate(-50%, 0) rotate(120deg); background: linear-gradient(to top, transparent, rgba(255,138,61,0.4), transparent); }
.art-rays span:nth-child(4) { transform: translate(-50%, 0) rotate(180deg); }
.art-rays span:nth-child(5) { transform: translate(-50%, 0) rotate(240deg); background: linear-gradient(to top, transparent, rgba(184,41,224,0.4), transparent); }
.art-rays span:nth-child(6) { transform: translate(-50%, 0) rotate(300deg); }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.art-sparks { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.spark {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px #fff, 0 0 24px var(--c-pink);
    animation: sparkle 2.5s ease-in-out infinite;
}
.spark.s1 { top: 12%; left: 20%; }
.spark.s2 { top: 25%; right: 15%; animation-delay: -0.4s; background: var(--c-orange); box-shadow: 0 0 12px var(--c-orange); }
.spark.s3 { bottom: 30%; left: 8%; animation-delay: -0.9s; }
.spark.s4 { bottom: 18%; right: 22%; animation-delay: -1.3s; background: var(--c-amber); box-shadow: 0 0 12px var(--c-amber); }
.spark.s5 { top: 50%; left: 5%; animation-delay: -1.8s; }
.spark.s6 { top: 8%; right: 35%; animation-delay: -2.2s; background: var(--c-magenta); box-shadow: 0 0 12px var(--c-magenta); }
@keyframes sparkle { 0%, 100% { transform: scale(0); opacity: 0; } 50% { transform: scale(1); opacity: 1; } }

/* Feature cards */
.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
    justify-content: center;
}
.fcard {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(140deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform 0.5s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
}
.fcard:hover {
    transform: translateX(-6px) translateY(-3px);
    border-color: rgba(255,79,163,0.4);
    box-shadow: 0 20px 50px -20px rgba(255,79,163,0.5);
}
.fcard-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--grad-cta);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(255,107,61,0.7);
}
.fcard-icon svg { width: 22px; height: 22px; }
.fcard-text { display: flex; flex-direction: column; line-height: 1.2; }
.fcard-text strong { font-family: 'Bricolage Grotesque', serif; font-weight: 700; font-size: 16px; color: #fff; }
.fcard-text span { font-size: 12.5px; color: var(--c-text-dim); }

/* =========================================================
   02 — ABOUT — left text column / right full-bleed photo
   ========================================================= */
.section-about { padding: 0; }
.section-about .section-num,
.section-about .section-num-label { /* keep the labels in the text column */ }

.about-bleed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    align-items: stretch;
}

.about-text {
    position: relative;
    padding: 36px clamp(20px, 3.5vw, 60px) 60px clamp(20px, 4vw, 60px);
    /* Push left padding so it lines up with the rest of the slides' container.
       container = min(1380, 92vw); side padding = (100vw - container) / 2.
       We add that padding-left to the text column. */
    padding-left: max(clamp(20px, 4vw, 60px), calc((100vw - min(1380px, 92vw)) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.about-eyebrow { margin: 18px 0 22px; }

.about-heading {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.018em;
    margin: 0 0 28px;
    text-transform: uppercase;
}

.about-body { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.about-body p {
    color: var(--c-text-dim);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

.about-monogram-bottom {
    position: absolute;
    left: clamp(20px, 4vw, 60px);
    bottom: 28px;
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    pointer-events: none;
    letter-spacing: -0.02em;
}
.about-monogram-bottom .monogram-dot { color: var(--c-orange); -webkit-text-fill-color: var(--c-orange); }

/* Right photo column — true full bleed */
.about-photo {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* No dark overlay — transparent PNG uploads sit flush with the section. */

/* Fallback graffiti placeholder when no photo uploaded */
.about-photo-fallback {
    width: 100%; height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(184,41,224,0.35), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(255,79,163,0.25), transparent 60%),
        var(--bg-1);
    position: relative;
}
.abf-graffiti {
    position: relative;
    width: 70%; height: 70%;
    display: grid;
    place-items: center;
}
.abf-arc {
    position: absolute;
    border: 2px solid rgba(255, 79, 163, 0.6);
    border-radius: 50%;
}
.abf-arc-1 { inset: 5%; border-color: rgba(184,41,224,0.5); border-style: dashed; }
.abf-arc-2 { inset: 18%; border-color: rgba(255,79,163,0.7); }
.abf-arc-3 { inset: 32%; border-color: rgba(255,138,61,0.6); border-style: dotted; }
.abf-tag {
    position: relative;
    z-index: 2;
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--c-text-dim);
    text-align: center;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 22px;
    background: rgba(6, 2, 15, 0.7);
    border: 1px solid rgba(255,79,163,0.4);
    border-radius: 14px;
}
.abf-tag code {
    display: block;
    margin-top: 6px;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 10.5px;
    color: var(--c-pink);
    letter-spacing: 0.04em;
    text-transform: none;
}

@media (max-width: 880px) {
    .about-bleed { grid-template-columns: 1fr; }
    .about-photo { aspect-ratio: 4 / 5; height: auto; }
    .about-text { padding: 28px clamp(20px, 4vw, 60px) 80px; }
    .about-monogram-bottom { font-size: clamp(40px, 11vw, 64px); }
}

/* =========================================================
   03 — SKILLS / TOOLS — bigger cards, auto-shrink to fit slide
   ========================================================= */
.skills-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(20px, 3vw, 44px);
    align-items: start;
}
.col-label {
    font-size: 12.5px;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: var(--c-pink);
    margin: 0 0 16px;
    text-transform: uppercase;
}
.skill-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.skill-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(140deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--c-text);
    transition: transform 0.4s var(--ease-spring), border-color 0.4s, background 0.4s, box-shadow 0.4s;
    min-height: 70px;
}
.skill-chip:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--sk) 55%, transparent);
    background: linear-gradient(140deg, color-mix(in srgb, var(--sk) 12%, transparent), rgba(255,255,255,0.02));
    box-shadow: 0 14px 32px -16px color-mix(in srgb, var(--sk) 60%, transparent);
}
.skill-icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--sk) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--sk) 30%, transparent);
    color: var(--sk);
    flex-shrink: 0;
    font-size: 18px;
    transition: transform 0.35s var(--ease-spring);
}
.skill-icon i { font-size: 18px; line-height: 1; }
.skill-chip:hover .skill-icon { transform: scale(1.08) rotate(-4deg); }
.skill-name {
    line-height: 1.2;
    color: #fff;
}

/* Tools — bigger, brand-coloured, two-row 3+2 layout */
.tool-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 18px;
    background:
        radial-gradient(ellipse at 30% 20%, var(--tbg), transparent 65%),
        linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.5s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
    text-align: center;
    gap: 12px;
}
.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--tbd);
    box-shadow: 0 22px 50px -22px color-mix(in srgb, var(--tc) 60%, transparent);
}
.tool-mark {
    width: clamp(54px, 5vw, 72px);
    height: clamp(54px, 5vw, 72px);
    display: grid; place-items: center;
    border-radius: 14px;
    background: linear-gradient(140deg, color-mix(in srgb, var(--tc) 22%, #0c0420), color-mix(in srgb, var(--tc) 14%, #18062b));
    border: 1.5px solid var(--tc);
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: clamp(28px, 2.6vw, 36px);
    color: var(--tc);
    box-shadow: 0 10px 26px -8px var(--tc);
    line-height: 1;
}
.tool-name {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-text-dim);
}
.tool-glow {
    position: absolute;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--tc), transparent 70%);
    top: -50px; right: -40px;
    filter: blur(28px);
    opacity: 0.25;
    transition: opacity 0.5s;
    pointer-events: none;
}
.tool-card:hover .tool-glow { opacity: 0.55; }

/* =========================================================
   04 — EXPERIENCE
   ========================================================= */
.timeline {
    position: relative;
    margin-top: 24px;
    padding-left: 44px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 24px; top: 16px; bottom: 16px;
    width: 1px;
    background: linear-gradient(180deg, var(--c-pink), var(--c-orange), transparent);
}
.t-item {
    position: relative;
    padding: 6px 0 6px 56px;
}
.t-dot {
    position: absolute;
    left: -23px; top: 26px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--grad-cta);
    box-shadow: 0 0 0 4px rgba(255,79,163,0.15), 0 0 20px rgba(255,79,163,0.5);
    z-index: 2;
}
.t-icon {
    position: absolute;
    left: 8px; top: 18px;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--grad-cta);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(255,107,61,0.7);
    z-index: 3;
    overflow: hidden;
}
.t-icon svg { width: 24px; height: 24px; }
.t-icon.has-logo {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px;
}
.t-icon.has-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 9px;
}
.t-card {
    background: linear-gradient(140deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.t-card:hover { transform: translateY(-3px); border-color: rgba(255,79,163,0.3); }
.t-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.t-company {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    color: #fff;
}
.t-years {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 13px;
    color: var(--c-pink);
    background: rgba(255,79,163,0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,79,163,0.2);
}
.t-role {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-text-muted);
    margin: 0 0 10px;
}
.t-bullets li {
    position: relative;
    color: var(--c-text-dim);
    font-size: 13.5px;
    padding-left: 16px;
    margin: 4px 0;
    line-height: 1.5;
}
.t-bullets li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-pink);
}

/* =========================================================
   Tab bar (shared)
   ========================================================= */
.tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.tab {
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-text-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-pill);
    transition: all 0.3s var(--ease-out);
}
.tab:hover { color: #fff; border-color: rgba(255,79,163,0.4); }
.tab.is-active {
    color: #fff;
    background: var(--grad-cta);
    border-color: transparent;
    box-shadow: 0 8px 20px -8px rgba(255,79,163,0.5);
}

/* =========================================================
   05 — AD CREATIVES — large branded tabs + 5×1:1 grid
   ========================================================= */
.tab-bar-lg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 28px;
}
.tab-lg {
    padding: 14px 22px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: rgba(20, 9, 50, 0.6);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--c-text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.35s var(--ease-spring);
    backdrop-filter: blur(10px);
}
.tab-lg:hover {
    color: #fff;
    border-color: rgba(255,79,163,0.4);
    transform: translateY(-2px);
}
.tab-lg.is-active {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.18), rgba(184, 41, 224, 0.12));
    border-color: rgba(24, 119, 242, 0.45);
    color: #fff;
    box-shadow: 0 12px 30px -12px rgba(24, 119, 242, 0.4);
}
.tab-ico {
    width: 22px; height: 22px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.tab-ico svg { width: 100%; height: 100%; }

.ads-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: min(1280px, 100%);
    margin: 0 auto;
}
.ad-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.5s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.ad-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,79,163,0.4);
    box-shadow: 0 24px 50px -20px rgba(255,79,163,0.4);
}
.ad-card.is-hidden { display: none; }
.ad-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.ad-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.ad-card:hover .ad-thumb img { transform: scale(1.06); }
.ad-meta {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.ad-title {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 600;
    font-size: 14.5px;
    color: #fff;
}
.ad-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
}
.ad-pill.meta { background: rgba(24, 119, 242, 0.25); color: #6ba6ff; }
.ad-pill.google { background: rgba(255, 138, 61, 0.2); color: var(--c-orange); }
.ad-pill.whatsapp { background: rgba(37, 211, 102, 0.2); color: #5ee68f; }

/* =========================================================
   06 — PRODUCT
   ========================================================= */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}
.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.5s var(--ease-spring), border-color 0.4s;
}
.product-card.is-hidden { display: none; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,79,163,0.4); }
.product-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card.mobile .product-thumb { aspect-ratio: 9 / 16; max-height: 480px; }
.product-meta {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.product-title {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}
.product-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255,79,163,0.12);
    color: var(--c-pink);
}

/* =========================================================
   07 — SOCIAL — 6 cards in 1:1, kept inside the slide viewport
   ========================================================= */
.social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: min(1200px, 100%);
    margin: 0 auto;
}
.social-card {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.5s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
    position: relative;
    background: rgba(255,255,255,0.02);
    cursor: pointer;
}
.social-card.is-hidden { display: none; }
.social-card:hover {
    transform: scale(1.04);
    border-color: rgba(255,79,163,0.5);
    box-shadow: 0 18px 40px -16px rgba(255,79,163,0.45);
    z-index: 2;
}
.social-thumb { width: 100%; height: 100%; }
.social-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   08 — THUMBNAILS — 4 cards in 1:1, sized to fit the slide
   ========================================================= */
.thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    /* keep the four squares + title + button inside the slide */
    max-width: min(1100px, 100%);
    margin: 0 auto;
}
.thumb-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.5s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.thumb-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,79,163,0.4);
    box-shadow: 0 22px 50px -20px rgba(255,79,163,0.45);
}
.thumb-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.thumb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-play {
    position: absolute;
    inset: 0;
    display: grid; place-items: center;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s;
}
.thumb-card:hover .thumb-play { opacity: 1; }
.thumb-play svg {
    width: 56px; height: 56px;
    color: #fff;
    background: var(--grad-cta);
    border-radius: 50%;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(255,79,163,0.6);
}
.thumb-title {
    padding: 14px 18px;
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 600;
    font-size: 15px;
}

/* =========================================================
   09 — BRANDING — clean 5×2 grid of 1:1 cells, latest 10
   ========================================================= */
.branding-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: min(1100px, 100%);
    margin: 0 auto;
}
.branding-cell {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
    cursor: pointer;
    text-align: center;
}
.branding-cell:hover {
    transform: translateY(-4px);
    border-color: rgba(255,79,163,0.4);
    box-shadow: 0 18px 40px -16px rgba(255,79,163,0.45);
}
.branding-cell img {
    width: 100%; height: 100%;
    /* contain — logos and brand marks of any shape render at their natural
       proportions, no forced crop or rectangular frame. */
    object-fit: contain;
    object-position: center;
    display: block;
}
.branding-cell.is-fallback {
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px;
}
.bc-name {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.bc-tag {
    font-family: 'Caveat', cursive;
    font-size: 13px;
    color: var(--c-pink);
}

/* keep old class for legacy fallback */
.branding-gallery { display: flex; flex-direction: column; gap: 16px; }
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}
.logo-card {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,79,163,0.4);
    box-shadow: 0 16px 40px -16px rgba(255,79,163,0.5);
}
.logo-card img { max-height: 70%; max-width: 80%; object-fit: contain; }
.logo-fallback {
    text-align: center;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.lf-name {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.04em;
    color: var(--c-text);
    text-transform: uppercase;
}
.lf-tag {
    font-family: 'Caveat', cursive;
    font-size: 13px;
    color: var(--c-pink);
    letter-spacing: 0.06em;
}

/* Brand artefacts row: palette + typography + mockup */
.brand-extras {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 14px;
    /* Keep the row from blowing past the slide */
    max-height: 240px;
}
.brand-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(140deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    padding: 16px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), border-color 0.4s;
    position: relative;
}
.brand-card:hover { transform: translateY(-3px); border-color: rgba(255,79,163,0.35); }

/* Palette card */
.brand-palette {
    display: flex;
    flex-direction: column;
    gap: 12px;
    aspect-ratio: 1.6 / 1;
}
.bp-swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}
.bp-swatches span {
    border-radius: 4px;
    transition: transform 0.3s ease;
}
.brand-palette:hover .bp-swatches span:nth-child(odd) { transform: translateY(-2px); }
.bp-meta { display: flex; flex-direction: column; gap: 1px; }
.bp-title {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.06em;
}
.bp-sub { font-size: 11px; color: var(--c-text-muted); }
.bp-sub2 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 10px;
    color: var(--c-pink);
    letter-spacing: 0.1em;
    margin-top: 2px;
}

/* Typography card */
.brand-typography {
    display: flex;
    align-items: center;
    gap: 14px;
    aspect-ratio: 1.6 / 1;
}
.bt-mark {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: clamp(40px, 4vw, 64px);
    line-height: 1;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex-shrink: 0;
}
.bt-meta { display: flex; flex-direction: column; gap: 2px; }
.bt-sub { font-size: 10.5px; color: var(--c-text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.bt-title {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.bt-sub2 { font-size: 11px; color: var(--c-text-dim); }

/* Mockup card */
.brand-mockup {
    aspect-ratio: auto;
    padding: 0;
    cursor: pointer;
    height: 100%;
    max-height: 240px;
    overflow: hidden;
}
.brand-mockup img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s var(--ease-out), visibility 0s;
}
.lb-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
}
.lb-stage.is-grabbing { cursor: grabbing; }
.lb-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    transform: scale(1) translate(0, 0);
    transition: transform 0.3s var(--ease-out);
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 8px;
    box-shadow: 0 30px 80px -20px rgba(255, 79, 163, 0.35);
}
.lightbox.is-grabbing .lb-image { transition: none; }

.lb-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
}
.lb-close svg { width: 22px; height: 22px; }
.lb-close:hover {
    background: var(--grad-cta);
    border-color: transparent;
    transform: rotate(90deg) scale(1.06);
}
.lb-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 5, 35, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 6px;
    z-index: 10;
}
.lb-btn {
    width: 38px; height: 38px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}
.lb-btn svg { width: 18px; height: 18px; }
.lb-btn:hover { background: rgba(255, 79, 163, 0.2); transform: scale(1.06); }
.lb-zoom-label {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--c-text-dim);
    padding: 0 10px;
    min-width: 56px;
    text-align: center;
    user-select: none;
}
.lb-caption {
    position: absolute;
    top: 32px; left: 32px;
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--c-text-dim);
    background: rgba(15, 5, 35, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 50vw;
    z-index: 10;
}
.lb-caption:empty { display: none; }

/* Cursor on zoomable elements */
.ad-thumb img, .product-thumb img, .social-thumb img,
.thumb-thumb img, .extra-card img, .logo-card img,
.brand-mockup img, .about-image img, .art-image img {
    cursor: zoom-in;
}

/* =========================================================
   10 — EXTRA / EXPERIMENTS — slider
   ========================================================= */
.extra-slider {
    position: relative;
    margin: 8px 0 0;
    padding: 6px 0;
    overflow: hidden;
}
.extra-track {
    display: flex;
    gap: 14px;
    padding: 4px 0 14px;
    transform: translateX(0);
    transition: transform 0.6s var(--ease-out);
    will-change: transform;
}
.extra-card {
    flex: 0 0 calc((100% - 14px * 4) / 5);
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.5s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
    position: relative;
    background: rgba(255,255,255,0.02);
}
.extra-card.is-hidden { display: none; }
.extra-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255,79,163,0.5);
    box-shadow: 0 24px 50px -20px rgba(255,79,163,0.4);
    z-index: 2;
}
.extra-card img { width: 100%; height: 100%; object-fit: cover; }
.extra-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 30px 14px 14px;
    background: linear-gradient(180deg, transparent, rgba(6,2,15,0.85));
    color: #fff;
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 600;
    font-size: 13.5px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.extra-card:hover .extra-card-overlay { opacity: 1; transform: translateY(0); }

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(13,5,33,0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.35s var(--ease-spring);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
}
.slider-arrow svg { width: 18px; height: 18px; }
.slider-prev { left: 6px; }
.slider-next { right: 6px; }
.slider-arrow:hover {
    background: var(--grad-cta);
    border-color: transparent;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 30px -8px rgba(255,79,163,0.6);
}
.slider-arrow.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}
.slider-arrow.is-hidden { display: none; }

/* Outline / ghost button (used in section 10 CTA) */
.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 79, 163, 0.5);
    color: var(--c-text);
    padding: 13px 22px;
    font-size: 14px;
    transition: all 0.35s var(--ease-spring);
}
.btn-outline:hover {
    background: var(--grad-cta);
    border-color: transparent;
    box-shadow: 0 18px 40px -12px rgba(255, 79, 163, 0.55);
    transform: translateY(-2px);
}

/* =========================================================
   11 — FINAL CTA
   ========================================================= */
.section-cta-final { padding: 0; }

/* New full-bleed CTA layout */
.cta-bleed {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    height: 100%;
    align-items: stretch;
}
.cta-content {
    position: relative;
    padding: 30px clamp(20px, 3.5vw, 50px) 60px;
    padding-left: max(clamp(20px, 4vw, 60px), calc((100vw - min(1380px, 92vw)) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.cta-photo {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.cta-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* No dark overlay — transparent PNG uploads sit flush with the section. */
.cta-photo-fallback {
    width: 100%; height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(184,41,224,0.30), transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(255,79,163,0.22), transparent 60%),
        var(--bg-1);
    color: var(--c-text-dim);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Script overlay sitting in the empty space on the LEFT column */
.cta-script-left {
    align-self: flex-start;
    margin: 4px 0 4px;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(40px, 5.4vw, 84px);
    line-height: 0.95;
    color: var(--c-orange);
    text-shadow:
        0 2px 12px rgba(255, 138, 61, 0.6),
        0 0 24px rgba(255, 79, 163, 0.4);
    transform: rotate(-3deg);
    pointer-events: none;
    user-select: none;
    background: linear-gradient(92deg, #ff4fa3 0%, #ff7a3a 50%, #ffb347 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta-script-left .cta-bang { color: var(--c-pink); -webkit-text-fill-color: transparent; }

/* Old grid kept for fallback rules used elsewhere */
.cta-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
}
.cta-headline {
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.cta-sub {
    color: var(--c-text-dim);
    font-size: 14.5px;
    margin: 0 0 22px;
    max-width: 520px;
}

/* Contact list */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.contact-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 79, 163, 0.12);
    border: 1px solid rgba(255, 79, 163, 0.2);
    color: var(--c-pink);
    transition: all 0.35s var(--ease-spring);
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-item:hover .contact-icon {
    background: var(--grad-cta);
    color: #fff;
    border-color: transparent;
    transform: rotate(-6deg) scale(1.06);
    box-shadow: 0 10px 24px -8px rgba(255, 79, 163, 0.5);
}
.contact-item a {
    color: var(--c-text-dim);
    transition: color 0.3s ease;
}
.contact-item a:hover { color: #fff; }

/* Script overlay on hero photo */
.cta-frame {
    width: clamp(300px, 38vw, 540px);
    aspect-ratio: 1 / 0.65;
}
.cta-script {
    position: absolute;
    top: 50%; left: 6%;
    transform: translateY(-50%);
    z-index: 8;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(40px, 5vw, 84px);
    line-height: 0.95;
    color: var(--c-orange);
    text-shadow:
        0 2px 12px rgba(255, 138, 61, 0.6),
        0 0 24px rgba(255, 79, 163, 0.4);
    pointer-events: none;
    transform-origin: left center;
    animation: scriptWobble 5s ease-in-out infinite;
}
.cta-bang { color: var(--c-pink); }
@keyframes scriptWobble {
    0%, 100% { transform: translateY(-50%) rotate(-2deg); }
    50% { transform: translateY(-52%) rotate(0deg); }
}

/* =========================================================
   FOOTER (fixed bottom in slide mode)
   ========================================================= */
.site-footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--footer-h);
    z-index: 40;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(6,2,15,0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0 clamp(20px, 3vw, 44px);
    display: flex;
    align-items: center;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--c-text-dim);
    transition: all 0.4s var(--ease-spring);
}
.footer-socials a:hover {
    background: var(--grad-cta);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}
.footer-socials svg { width: 14px; height: 14px; }
.footer-meta {
    color: var(--c-text-muted);
    font-size: 12.5px;
    margin: 0;
}

/* =========================================================
   Slide nav (fixed bottom-right above footer)
   ========================================================= */
.slide-nav {
    position: fixed;
    bottom: calc(var(--footer-h) + 16px);
    right: clamp(16px, 3vw, 36px);
    z-index: 41;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(13,5,33,0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-pill);
    padding: 6px;
    box-shadow: 0 18px 50px -10px rgba(0,0,0,0.6);
}
.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    color: var(--c-text-dim);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.35s var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.slide-btn:hover { color: #fff; background: rgba(255,255,255,0.06); }
.slide-btn.is-disabled { opacity: 0.35; pointer-events: none; }
.slide-btn svg { width: 16px; height: 16px; }
.slide-prev { padding: 9px 12px; }
.slide-next {
    background: var(--grad-cta);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(255,79,163,0.5);
}
.slide-next:hover {
    background: var(--grad-cta);
    color: #fff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 14px 30px -8px rgba(255,79,163,0.6);
}
.slide-next .slide-next-label { font-weight: 600; }
.slide-progress {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    font-family: 'Bricolage Grotesque', serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--c-text-muted);
    letter-spacing: 0.02em;
    user-select: none;
}
.slide-progress #slideCurrent {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sp-divider { color: rgba(255,255,255,0.18); }

/* =========================================================
   Reveal animations
   ========================================================= */
[data-anim] {
    opacity: 0;
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-spring);
    transition-delay: calc(var(--anim-delay, 0) * 1ms);
}
[data-anim="fade-up"] { transform: translateY(30px); }
[data-anim="zoom-in"] { transform: scale(0.92); }
[data-anim="slide-left"] { transform: translateX(40px); }
[data-anim].is-in {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .social-grid { grid-template-columns: repeat(3, 1fr); }
    .ads-grid { grid-template-columns: repeat(3, 1fr); }
    .branding-grid { grid-template-columns: repeat(3, 1fr); }
    .tab-bar-lg { max-width: 100%; }
    .tab-lg { padding: 12px 16px; font-size: 13px; }
    .primary-nav { display: none; }
    .hamburger { display: flex; }
    .header-inner { gap: 12px; padding: 8px 8px 8px 14px; }

    .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 24px; }
    .feature-cards {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .fcard { min-width: 220px; flex: 1 1 220px; }

    .skills-grid, .about-grid, .cta-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-card.mobile { grid-column: 1 / -1; max-width: 320px; margin: 0 auto; }
    .brand-mockups { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
    /* On phones, every section is a normal scrollable column. */
    .section {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        height: auto;
        overflow: visible;
        padding: 64px 0 32px;
        display: none;
    }
    .section.is-active { display: block; }
    .section::after { display: none; }

    .page {
        position: relative;
        top: 0; left: 0; right: 0; bottom: 0;
        height: auto;
        min-height: calc(100vh - var(--header-h));
        margin-top: var(--header-h);
        overflow: visible;
    }
    body { overflow-y: auto; height: auto; }
    .site-header { padding: 0 14px; top: 8px; }
    .header-inner { padding: 8px 8px 8px 14px; }

    /* slide-nav on mobile becomes inline at the section bottom */
    .slide-nav {
        position: sticky;
        bottom: calc(var(--footer-h) + 14px);
        right: auto; left: 0;
        margin: 24px auto 0;
        width: max-content;
    }

    .section-hero { padding-top: 32px; padding-bottom: 20px; }

    .hero-grid,
    .hero-bleed,
    .about-bleed,
    .cta-bleed,
    .cta-grid,
    .skills-grid,
    .brand-extras {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        text-align: center;
        gap: 24px;
    }
    .hero-copy { order: 2; display: flex; flex-direction: column; align-items: center; }
    .hero-art, .hero-photo { order: -1; width: 100%; max-width: 420px; margin: 0 auto; }
    .hero-photo { aspect-ratio: 4 / 5; height: auto; border-radius: 18px; }
    .hero-photo::after { display: none; }
    .hero-content { order: 1; padding-left: clamp(20px, 4vw, 36px); padding-right: clamp(20px, 4vw, 36px); text-align: center; align-items: center; }
    .hero-content .hero-copy { align-items: center; }
    .hero-content .feature-cards { width: 100%; flex-direction: column; }
    .feature-cards { order: 3; flex-direction: column; }
    /* CTA section: photo on top, text below */
    .cta-bleed .cta-photo { order: -1; aspect-ratio: 4 / 5; height: auto; border-radius: 18px; }
    .cta-bleed .cta-photo::after { display: none; }
    .cta-content { order: 1; padding-left: clamp(20px, 4vw, 36px); padding-right: clamp(20px, 4vw, 36px); }
    /* About section: photo on top, text below */
    .about-bleed .about-photo { order: -1; aspect-ratio: 4 / 5; height: auto; border-radius: 18px; }
    .about-bleed .about-photo::after { display: none; }
    .about-text { order: 1; padding-left: clamp(20px, 4vw, 36px); padding-right: clamp(20px, 4vw, 36px); padding-bottom: 80px; }
    .about-monogram-bottom { left: clamp(20px, 4vw, 36px); bottom: 16px; font-size: clamp(40px, 11vw, 56px); }
    .hero-line { white-space: normal; }
    .hero-sub { margin: 0 auto 24px; }
    .hero-ctas { justify-content: center; flex-direction: column; width: 100%; }
    .hero-ctas .btn { justify-content: center; width: 100%; }
    .follow-inline { justify-content: center; }

    .ads-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card.mobile { max-width: 320px; margin: 0 auto; }
    .social-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .thumbs-grid { grid-template-columns: 1fr 1fr; }
    .skill-list { grid-template-columns: 1fr 1fr; }
    .tool-list { grid-template-columns: repeat(3, 1fr); }
    .logos-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { padding-left: 30px; }
    .t-icon { left: -6px; }

    /* Section topline keeps everything visible, no awkward wrap */
    .section-topline { gap: 8px; row-gap: 6px; }

    /* Tab bars become horizontally scrollable instead of squashing */
    .tab-bar, .tab-bar-lg {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .tab-bar::-webkit-scrollbar, .tab-bar-lg::-webkit-scrollbar { display: none; }
    .tab-bar-lg { display: flex; gap: 8px; }
    .tab-lg { padding: 11px 14px; font-size: 12.5px; flex-shrink: 0; }

    .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 540px) {
    .ads-grid, .social-grid, .thumbs-grid, .skill-list, .branding-grid { grid-template-columns: 1fr 1fr; }
    .tool-list { grid-template-columns: repeat(2, 1fr); }
    .extra-card { flex-basis: calc((100% - 14px) / 2); }
    .product-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .big-title { font-size: 26px; }
    .about-heading { font-size: 24px; line-height: 1.18; }
    .cta-headline { font-size: 28px; }
    .section-topline {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .topline-divider { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .big-title { font-size: 28px; }
    .about-heading { font-size: 28px; }
    .cta-headline { font-size: 32px; }
    .header-inner { gap: 10px; }
    .logo { width: 40px; height: 40px; }
    .logo-letter { font-size: 20px; }
    .btn-pill span:first-child { display: none; }
    .btn-pill { padding: 10px 12px; }
    .skill-list { grid-template-columns: 1fr; }
    .tool-list { grid-template-columns: repeat(2, 1fr); }
    .ads-grid, .social-grid, .thumbs-grid, .extra-grid { grid-template-columns: 1fr 1fr; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .thumbs-grid { grid-template-columns: repeat(2, 1fr); }
    .ad-meta, .product-meta { padding: 12px; }
    .ad-title, .product-title { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
}
