/* ==========================================================================
   TNA — Digital Marketing Agency
   Design system: dark, premium, gradient-accented
   ========================================================================== */

/* ----- Tokens ----- */
:root {
    --bg: #08090D;
    --bg-2: #0D0E14;
    --surface: #11131B;
    --surface-2: #161826;
    --line: rgba(255, 255, 255, 0.07);
    --line-2: rgba(255, 255, 255, 0.12);

    --text: #F4F4F7;
    --text-2: #B4B4BD;
    --text-3: #7A7A85;

    --accent: #B94456;
    --accent-2: #D76C65;
    --accent-3: #F59474;
    --grad: linear-gradient(120deg, #B94456 0%, #D76C65 50%, #F59474 100%);
    --grad-soft: linear-gradient(120deg, rgba(185, 68, 86, 0.18), rgba(215, 108, 101, 0.16), rgba(245, 148, 116, 0.18));

    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --shadow-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -20px rgba(0, 0, 0, .6);
    --shadow-glow: 0 0 0 1px rgba(185, 68, 86, .25), 0 30px 80px -20px rgba(185, 68, 86, .35);

    --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ----- Reset / Base ----- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.tna-body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }

img, svg { max-width: 100%; display: block; }

::selection { background: rgba(185, 68, 86, .35); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .08); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .14); }

.container-xl { max-width: 1280px; padding-left: 28px; padding-right: 28px; margin: 0 auto; }

/* ----- Cursor glow ----- */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 480px;
    height: 480px;
    left: -240px;
    top: -240px;
    background: radial-gradient(circle, rgba(185, 68, 86, .18) 0%, rgba(185, 68, 86, 0) 60%);
    filter: blur(20px);
    z-index: 1;
    transform: translate3d(var(--cx, 50vw), var(--cy, 50vh), 0);
    transition: transform .3s var(--ease-out);
    mix-blend-mode: screen;
    will-change: transform;
}

@media (max-width: 900px) {
    .cursor-glow { display: none; }
}

/* ----- Background canvas ----- */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}

.bg-orb--1 {
    width: 520px; height: 520px;
    left: -120px; top: -120px;
    background: radial-gradient(circle, #B94456 0%, transparent 70%);
    animation: orbFloat1 18s ease-in-out infinite;
}

.bg-orb--2 {
    width: 600px; height: 600px;
    right: -160px; top: 200px;
    background: radial-gradient(circle, #F59474 0%, transparent 70%);
    opacity: .35;
    animation: orbFloat2 22s ease-in-out infinite;
}

.bg-orb--3 {
    width: 480px; height: 480px;
    left: 30%; top: 80vh;
    background: radial-gradient(circle, #D76C65 0%, transparent 70%);
    opacity: .25;
    animation: orbFloat1 26s ease-in-out infinite reverse;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 80px) scale(1.1); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 60px) scale(1.15); }
}

main, header, footer, .announce { position: relative; z-index: 2; }

/* ----- Typography utilities ----- */
.display {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

em.grad {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

em.under {
    font-style: italic;
    font-weight: 400;
    position: relative;
    display: inline-block;
}
em.under::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.06em;
    height: 0.45em;
    background: var(--grad);
    opacity: .25;
    border-radius: 4px;
    z-index: -1;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease),
                box-shadow .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn:hover::after { left: 140%; }

.btn i { font-size: 14px; transition: transform .3s var(--ease); }

.btn:hover i.fa-arrow-up-right { transform: translate(2px, -2px); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }

.btn--primary {
    background: #fff;
    color: #0A0A0F;
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 30px -10px rgba(255,255,255,.25);
}
.btn--primary:hover {
    background: var(--grad);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 36px -8px rgba(185,68,86,0.55), 0 1px 0 rgba(255,255,255,.12) inset;
}

.btn--ghost {
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    border-color: var(--line-2);
    backdrop-filter: blur(10px);
}
.btn--ghost:hover {
    background: rgba(185,68,86,0.08);
    border-color: rgba(185,68,86,0.45);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(185,68,86,0.12) inset, 0 10px 28px -8px rgba(185,68,86,0.28);
}

.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.btn__play {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px !important;
    color: #fff;
    margin-right: -2px;
}
.btn__play i { font-size: 9px !important; transform: translateX(1px); }

/* ----- Pills / Eyebrows ----- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-2);
    font-size: 13px;
    color: var(--text-2);
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.pill:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .22); color: var(--text); }
.pill__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .2);
    animation: pulse 2s ease-in-out infinite;
}
.pill i { font-size: 11px; opacity: .7; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, .05); }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-3);
    font-weight: 500;
    margin-bottom: 24px;
}
.eyebrow__line {
    width: 32px;
    height: 1px;
    background: var(--grad);
}
.eyebrow--center { justify-content: center; }

/* ----- Announcement bar ----- */
.announce {
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.announce__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 0;
    color: var(--text-2);
}
.announce__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 0 4px rgba(215, 108, 101, .15);
}
.announce__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-weight: 500;
}
.announce__link:hover { color: #fff; }
.announce__link i { font-size: 11px; transition: transform .25s var(--ease); }
.announce__link:hover i { transform: translateX(3px); }

@media (max-width: 700px) {
    .announce__text { display: none; }
}

/* ----- Navigation ----- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    background: rgba(8, 9, 13, 0.65);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled {
    background: rgba(8, 9, 13, 0.85);
    border-bottom-color: var(--line);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}
.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.nav__logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px -6px rgba(185, 68, 86, .55);
    position: relative;
}
.nav__logo-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, .8);
}
.nav__logo-text span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav__logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}
@media (max-width: 640px) {
    .nav__logo-img { height: 38px; }
}
.nav__menu {
    display: flex;
    gap: 6px;
    align-items: center;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
}
.nav__menu > a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-2);
    font-weight: 500;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__menu > a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-2);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}
.nav__toggle span {
    width: 16px; height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 980px) {
    .nav__menu { display: none; }
    .nav__toggle { display: flex; }
    .nav__actions .btn--primary { display: none; }
}

/* ----- Nav item wrappers (mega / drop triggers) ----- */
.nav__item {
    position: relative;
    display: flex;
    align-items: center;
}
.nav__trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-2);
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color .2s var(--ease), background .2s var(--ease);
    white-space: nowrap;
}
.nav__trigger:hover,
.nav__item.is-open .nav__trigger { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav__chevron {
    font-size: 10px;
    transition: transform .25s var(--ease);
}
.nav__item.is-open .nav__chevron { transform: rotate(180deg); }

/* ----- Mega panel (shared) ----- */
.mega {
    position: absolute;
    top: calc(100% + 28px);
    left: -16px;
    background: rgba(11, 12, 18, 0.97);
    border: 1px solid var(--line-2);
    border-radius: 18px;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
    z-index: 10;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255,255,255,.04);
}
.nav__item.is-open .mega {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mega__eyebrow {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-3);
    font-family: var(--font-display);
    margin: 0 0 14px 4px;
}

/* Services: 3-column, ~700px */
.mega--services { width: 700px; }
.mega--services .mega__grid { grid-template-columns: repeat(3, 1fr); }

/* Businesses: 3-column, ~700px */
.mega--businesses { width: 700px; }
.mega--businesses .mega__grid { grid-template-columns: repeat(3, 1fr); }

/* Resources: 2-column, narrow */
.mega--resources { width: 340px; }
.mega--resources .mega__grid { grid-template-columns: 1fr 1fr; }

.mega__grid {
    display: grid;
    gap: 6px;
}
.mega__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background .18s var(--ease), border-color .18s var(--ease);
    text-decoration: none;
}
.mega__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-top: 1.5px solid var(--accent);
    border-right: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.mega__card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 0;
    border-bottom: 1.5px solid var(--accent);
    border-left: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.mega__card:hover {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line);
}
.mega__card:hover::before {
    width: 100%;
    height: 100%;
    transition: width 0.2s linear 0s, height 0.2s linear 0.2s;
}
.mega__card:hover::after {
    width: 100%;
    height: 100%;
    transition: width 0.2s linear 0.4s, height 0.2s linear 0.6s;
}
.mega__icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(185, 68, 86, .12);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 6px;
    flex-shrink: 0;
}
.mega__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
}
.mega__desc {
    font-size: 11.5px;
    color: var(--text-3);
    line-height: 1.45;
}

/* ----- Simple dropdown (Resources) ----- */
.drop {
    position: absolute;
    top: calc(100% + 28px);
    left: 50%;
    margin-left: -115px;
    width: 230px;
    background: rgba(11, 12, 18, 0.97);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
    z-index: 10;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255,255,255,.04);
}
.nav__item.is-open .drop {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.drop__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .18s var(--ease);
}
.drop__item:hover { background: rgba(255, 255, 255, .05); }
.drop__icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(185, 68, 86, .12);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
}
.drop__text { display: flex; flex-direction: column; gap: 2px; }
.drop__label { font-size: 13px; font-weight: 600; color: var(--text); }
.drop__desc { font-size: 11.5px; color: var(--text-3); }

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(8, 9, 13, 0.96);
    backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
    padding-top: 80px;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer__inner {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.drawer__menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.drawer__menu a,
.drawer__link {
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    display: block;
    text-decoration: none;
}

/* Drawer accordion groups */
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-2);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}
.drawer__group-toggle i { font-size: 16px; transition: transform .25s var(--ease); flex-shrink: 0; }
.drawer__group.is-open .drawer__group-toggle i { transform: rotate(180deg); }
.drawer__sub {
    display: none;
    flex-direction: column;
    padding-bottom: 14px;
    gap: 0;
}
.drawer__group.is-open .drawer__sub { display: flex; }
.drawer__sub a {
    padding: 9px 0;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-3);
    border-bottom: none;
    transition: color .2s var(--ease);
}
.drawer__sub a:hover { color: var(--text-2); }

/* ============================== HERO ============================== */
.hero {
    padding: 20px 0 60px;
    position: relative;
    overflow: hidden;
    /* isolation: isolate creates a stacking context so z-index: -1
       on .hero-bg is scoped to .hero, not the whole page */
    isolation: isolate;
}

/* ----- Hero background image layer ----- */
/* z-index: -1 inside the isolated hero context → sits below ALL hero content */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.hero-bg__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    /* slight dim so image doesn't blind the text when revealed */
    filter: brightness(0.7) saturate(1.1);
}

/* ----- Canvas ink-dissolve veil ----- */
/* Canvas paints the dark overlay; JS erases an organic blob at cursor */
.hero-ink-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

/* Mobile: canvas hidden, solid brand-colour overlay via ::after */
.hero-bg::after {
    content: '';
    display: none; /* shown only on touch/mobile below */
    position: absolute;
    inset: 0;
    background: #08090D;
}
@media (hover: none), (max-width: 768px) {
    .hero-ink-canvas { display: none; }
    .hero-bg::after  { display: block; }
}
.hero__inner {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero__title {
    font-size: clamp(44px, 8vw, 96px);
    margin: 0 0 28px;
}
.hero__lead {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 18px 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.hero__meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}
.hero__meta-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
}
.hero__meta-num span { font-size: 16px; color: var(--text-3); font-weight: 400; }
.hero__meta-label {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.4;
}
.hero__meta-label strong { color: var(--text); display: block; font-weight: 500; font-size: 13px; }
.stars {
    color: #FFD700;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.hero__meta-divider { width: 1px; height: 28px; background: var(--line-2); }
.hero__meta-avatars { display: flex; }
.hero__meta-avatars span {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    margin-left: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.hero__meta-avatars span:first-child { margin-left: 0; }

@media (max-width: 640px) {
    .hero { padding: 10px 0 40px; }
    .hero__meta {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
        border-radius: 24px;
    }
    .hero__meta-divider { width: 80%; height: 1px; }
}

/* ----- Typewriter cursor ----- */
.tw-cursor {
    display: inline-block;
    width: 3px;
    height: 0.78em;
    background: var(--grad);
    border-radius: 2px;
    vertical-align: baseline;
    margin-left: 3px;
    margin-bottom: -0.08em;
    animation: twBlink 0.85s ease-in-out infinite;
}
@keyframes twBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ----- Hero reel ----- */
.hero-reel {
    padding: 40px 0 0;
}
.hero-reel__frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 6;
    max-height: 480px;
    border: 1px solid var(--line-2);
    background:
        radial-gradient(ellipse 55% 90% at 20% 50%, rgba(185,68,86,.28) 0%, transparent 65%),
        radial-gradient(ellipse 55% 90% at 82% 50%, rgba(245,148,116,.22) 0%, transparent 65%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(215,108,101,.15) 0%, transparent 65%),
        #120A0F;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/* subtle inner grid */
.hero-reel__inner-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 30%, transparent 80%);
    pointer-events: none;
}
.hero-reel__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    animation: reelOrb 10s ease-in-out infinite;
}
.hero-reel__orb--1 {
    width: 320px; height: 320px;
    left: 5%; top: -30%;
    background: radial-gradient(circle, rgba(185,68,86,.4), transparent 70%);
}
.hero-reel__orb--2 {
    width: 280px; height: 280px;
    right: 5%; bottom: -30%;
    background: radial-gradient(circle, rgba(245,148,116,.35), transparent 70%);
    animation-delay: -5s;
}
@keyframes reelOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(20px, 16px) scale(1.12); }
}
/* play button */
.hero-reel__play-btn {
    position: relative;
    z-index: 2;
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.hero-reel__play-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.3);
}
.hero-reel__play-icon { transform: translateX(2px); }
.hero-reel__pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(185,68,86,.4);
    animation: reelPulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes reelPulse {
    0%   { transform: scale(0.85); opacity: 1; }
    100% { transform: scale(1.5);  opacity: 0; }
}
/* wordmark watermark */
.hero-reel__wordmark {
    position: absolute;
    left: 36px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 96px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .12;
    user-select: none;
    pointer-events: none;
}
.hero-reel__wordmark span { opacity: .6; }
/* bottom meta bar */
.hero-reel__meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 100%);
}
.hero-reel__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    letter-spacing: 0.02em;
}
.hero-reel__tag i { font-size: 10px; color: var(--accent); }
.hero-reel__dur {
    font-family: var(--font-display);
    font-size: 13px;
    color: rgba(255,255,255,.4);
    letter-spacing: 0.06em;
}
@media (max-width: 640px) {
    .hero-reel__frame { aspect-ratio: 16 / 9; max-height: none; }
    .hero-reel__wordmark { font-size: 40px; }
}

/* ----- Marquee ----- */
.marquee {
    margin-top: 96px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: rgba(255, 255, 255, .015);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 36s linear infinite;
    width: max-content;
}
.marquee__track span:not(.dot) {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.6vw, 32px);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
}
.marquee__track .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--grad);
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================== TRUST STRIP ============================== */
.trust {
    padding: 64px 0;
}
.trust__label {
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--text-3);
    margin: 0 0 28px;
}
.trust__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px 56px;
    opacity: .7;
}
.trust__logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.trust__logo span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.trust__logo:hover { opacity: 1; transform: translateY(-2px); }
.trust__logo i { font-size: 18px; opacity: .8; }

/* ============================== SECTIONS ============================== */
.section { padding: 120px 0; position: relative; }
.section--alt {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015) 30%, rgba(255, 255, 255, .015) 70%, transparent);
}
.section__head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section__head--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
    max-width: 100%;
    margin-bottom: 64px;
}
.section__head--row .eyebrow { justify-content: flex-start; }
.section__title {
    font-size: clamp(36px, 5.5vw, 64px);
    margin: 0 0 20px;
}
.section__sub {
    font-size: 17px;
    color: var(--text-2);
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.section__head--row .section__sub { margin-left: 0; }

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section__head--row { flex-direction: column; align-items: stretch; }
}

/* ============================== SERVICES ============================== */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

.service {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
    min-height: 360px;
    display: flex;
    flex-direction: column;
}
.service::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-top: 1.5px solid var(--accent);
    border-right: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.service::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 0;
    border-bottom: 1.5px solid var(--accent);
    border-left: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.service:hover {
    transform: translateY(-6px);
    border-color: var(--line-2);
}
.service:hover::before {
    width: 100%;
    height: 100%;
    transition: width 0.22s linear 0s, height 0.22s linear 0.22s;
}
.service:hover::after {
    width: 100%;
    height: 100%;
    transition: width 0.22s linear 0.44s, height 0.22s linear 0.66s;
}

.service__num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}
.service__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 24px;
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.service:hover .service__icon {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
}
.service__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.service__copy {
    color: var(--text-2);
    font-size: 15px;
    margin: 0 0 20px;
    line-height: 1.6;
    flex-grow: 1;
}
.service__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.service__list li {
    font-size: 13px;
    color: var(--text-3);
    padding-left: 18px;
    position: relative;
}
.service__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 1px;
    background: var(--grad);
}
.service__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-top: auto;
    align-self: flex-start;
}
.service__link i { transition: transform .25s var(--ease); font-size: 12px; }
.service__link:hover i { transform: translate(2px, -2px); }

.service--featured {
    background: linear-gradient(180deg, rgba(185, 68, 86, .08), rgba(245, 148, 116, .04));
    border-color: rgba(215, 108, 101, .2);
}
.service__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--grad);
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

/* ============================== APPROACH ============================== */
.approach {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.approach__head {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}
.approach__head .section__title { font-size: clamp(32px, 4.5vw, 52px); }
.approach__head .section__sub { margin: 0 0 32px; max-width: none; text-align: center; }
.approach__head .eyebrow { justify-content: center; }
.approach__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.approach__note { font-size: 13px; color: var(--text-3); }

/* ── Pin stage: 480vh reserves scroll distance for 4 steps × 120vh ── */
#approach { overflow: clip; }

.approach__pin-stage {
    position: relative;
    height: 480vh;
}

.approach__pin-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Side-rail progress */
.approach__rail {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}
.approach__rail-dot {
    display: inline-block;
    width: 3px;
    height: 28px;
    border-radius: 999px;
    background: rgba(185, 68, 86, 0.22);
    transition: background 400ms var(--ease), height 400ms var(--ease);
}
.approach__rail-dot.is-active {
    background: var(--grad);
    height: 56px;
    box-shadow: 0 0 16px -2px rgba(185, 68, 86, 0.45);
}
.approach__rail-label {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    margin-top: 14px;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.approach__rail-current {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    min-width: 22px;
    text-align: center;
}
.approach__rail-divider,
.approach__rail-total {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(185, 68, 86, 0.45);
}
.approach__rail-divider { color: rgba(185, 68, 86, 0.30); }

/* Two-column grid inside pin (padding-left must clear the rail + label) */
.approach__pin-body {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding-left: 64px;
}

/* Futuristic image box */
.approach__img-box {
    position: relative;
    aspect-ratio: 4/5;
    max-height: 68vh;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 0 60px rgba(185,68,86,0.07);
}

/* Stacked images — crossfade on step change */
.approach__img-wrap {
    position: absolute;
    inset: 0;
}
.approach__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
                transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.approach__img.is-active {
    opacity: 1;
    transform: scale(1);
}

/* HUD corner brackets */
.approach__corner {
    position: absolute;
    width: 26px;
    height: 26px;
    z-index: 3;
    pointer-events: none;
}
.approach__corner--tl { top: 14px; left: 14px;  border-top: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); }
.approach__corner--tr { top: 14px; right: 14px;  border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }
.approach__corner--bl { bottom: 14px; left: 14px;  border-bottom: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); }
.approach__corner--br { bottom: 14px; right: 14px; border-bottom: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }

/* Scan line sweep */
.approach__scanline {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.approach__scanline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(185,68,86,0.55) 50%, transparent);
    animation: approachScan 5s linear infinite;
}
@keyframes approachScan {
    0%   { top: -2px; opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* HUD bar at bottom */
.approach__hud {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 32px 18px 16px;
    background: linear-gradient(0deg, rgba(8,9,13,0.92) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.approach__hud-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-3);
    font-family: var(--font-display);
    transition: opacity 0.3s;
}
.approach__hud-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.approach__dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.18);
    transition: background 0.35s, width 0.35s;
}
.approach__dot.is-active {
    background: var(--accent);
    width: 20px;
}

/* Step carousel — vertical slide */
.approach__steps-stack {
    position: relative;
    min-height: 320px;
}
.approach__step {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(80px);
    transition:
        opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
        transform 700ms var(--ease);
    pointer-events: none;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
.approach__step.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.approach__step.is-past {
    opacity: 0;
    transform: translateY(-80px);
}
.approach__step-num {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 80px);
    font-weight: 400;
    line-height: 1;
    background: var(--grad);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 0 18px rgba(185, 68, 86, 0.28));
    animation: approachNumShift 6s ease-in-out infinite;
}
@keyframes approachNumShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}
.approach__step-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0;
}
.approach__step-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-2);
    margin: 0;
    max-width: 480px;
}
.step__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.step__tags span {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--text-3);
}

/* Mobile — disable pin, stack all steps inline */
@media (max-width: 980px) {
    .approach__pin-stage { height: auto; }
    .approach__pin-content { position: static; height: auto; overflow: visible; padding: 40px 0; }
    .approach__pin-body { grid-template-columns: 1fr; gap: 36px; padding-left: 0; }
    .approach__steps-stack { min-height: 0; }
    .approach__step {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        padding: 28px 0;
        border-top: 1px solid var(--line);
    }
    .approach__step:first-child { border-top: 0; padding-top: 0; }
    .approach__rail { display: none; }
    .approach__img-box { aspect-ratio: 16/9; max-height: none; }
}
@media (max-width: 540px) {
    .approach__step { gap: 12px; padding: 20px 0; }
    .approach__step-num { font-size: 40px; }
    .approach__step-title { font-size: 22px; }
}

/* ============================== WORK ============================== */
.work {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 20px;
}
@media (max-width: 1024px) {
    .work { grid-template-columns: 1fr; }
}

.case {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease);
    display: flex;
    flex-direction: column;
}
.case::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-top: 1.5px solid var(--accent);
    border-right: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.case::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 0;
    border-bottom: 1.5px solid var(--accent);
    border-left: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.case:hover { transform: translateY(-4px); border-color: var(--line-2); }
.case:hover::before {
    width: 100%;
    height: 100%;
    transition: width 0.22s linear 0s, height 0.22s linear 0.22s;
}
.case:hover::after {
    width: 100%;
    height: 100%;
    transition: width 0.22s linear 0.44s, height 0.22s linear 0.66s;
}

.case__visual {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.case--lg .case__visual { height: 360px; }

.case__visual--1 {
    background: radial-gradient(ellipse at top right, rgba(185, 68, 86, .25), transparent 60%),
                radial-gradient(ellipse at bottom left, rgba(245, 148, 116, .15), transparent 60%),
                #160E12;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: column;
    gap: 24px;
}
.case__chart {
    display: flex;
    align-items: end;
    gap: 12px;
    width: 100%;
    height: 60%;
}
.case__chart-bar {
    flex: 1;
    height: var(--h);
    background: rgba(255, 255, 255, .08);
    border-radius: 6px 6px 0 0;
    transition: height .8s var(--ease) .2s, background .3s var(--ease);
    min-height: 6px;
}
.case__chart-bar.active { background: var(--grad); box-shadow: 0 0 30px rgba(215, 108, 101, .5); }
.case:hover .case__chart-bar.active { background: var(--grad); }
.case__metric {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.case__metric-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.04em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.case__metric-num em { font-style: normal; font-size: 0.6em; }
.case__metric-label { font-size: 13px; color: var(--text-3); }

.case__visual--2 {
    background: radial-gradient(ellipse at center, rgba(215, 108, 101, .25), transparent 70%), #1A0A0E;
    flex-direction: column;
    gap: 8px;
}
.case__visual--3 {
    background: radial-gradient(ellipse at center, rgba(245, 148, 116, .2), transparent 70%), #1E0E0B;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.case__rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.case__rings span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(245, 148, 116, .35);
    animation: ringPulse 3s ease-out infinite;
}
.case__rings span:nth-child(1) { width: 120px; height: 120px; }
.case__rings span:nth-child(2) { width: 200px; height: 200px; animation-delay: 1s; }
.case__rings span:nth-child(3) { width: 280px; height: 280px; animation-delay: 2s; }
@keyframes ringPulse {
    0% { opacity: 0; transform: scale(0.7); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: scale(1.1); }
}

.case__bigtext {
    font-family: var(--font-display);
    font-size: clamp(56px, 7vw, 84px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 1;
}
.case__bigtext span, .case__bigtext em { font-style: normal; font-size: 0.55em; }
.case__sub { font-size: 13px; color: var(--text-3); z-index: 1; }

.case__info { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.case__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case__tags span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.case__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--text);
    flex: 1;
}
.case--lg .case__title { font-size: 22px; }
.case__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    align-self: flex-start;
}
.case__link i { transition: transform .25s var(--ease); }
.case__link:hover i { transform: translate(2px, -2px); }

/* ============================== RESULTS ============================== */
.section--results {
    padding: 100px 0;
}
.results { text-align: center; }
.results__head { max-width: 640px; margin: 0 auto 64px; }
.results__head .eyebrow { justify-content: center; }

.results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .results__grid { grid-template-columns: repeat(2, 1fr); } }

.stat {
    padding: 56px 24px;
    border-right: 1px solid var(--line);
    text-align: center;
}
.stat:last-child { border-right: none; }
@media (max-width: 800px) {
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}
.stat__num em { font-style: normal; font-size: 0.55em; }
.stat__label {
    font-size: 14px;
    color: var(--text-2);
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================== TESTIMONIAL ============================== */
.quote {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 64px 32px;
}
.quote__mark {
    font-size: 56px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
    display: inline-block;
    opacity: .6;
}
.quote__text {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 40px;
    color: var(--text);
}
.quote__author {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
}
.quote__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}
.quote__name { font-weight: 500; font-size: 15px; text-align: left; }
.quote__role { font-size: 12px; color: var(--text-3); text-align: left; }
.quote__logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    padding-left: 16px;
    margin-left: 4px;
    border-left: 1px solid var(--line-2);
    letter-spacing: -0.02em;
}
.quote__logo span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 600px) {
    .quote__author { flex-wrap: wrap; justify-content: center; }
    .quote__logo { border-left: none; padding-left: 0; margin-left: 0; }
}

/* ============================== TESTIMONIAL SLIDER ============================== */
.tslider {
    max-width: 860px;
    margin: 0 auto;
}
.tslider__track {
    position: relative;
    min-height: 320px;
}
.tslider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.tslider__slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}
.tslider__mark {
    font-size: 44px;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.tslider__text {
    font-size: clamp(19px, 2.6vw, 27px);
    line-height: 1.45;
    color: var(--text);
    font-weight: 400;
    margin: 0;
}
.tslider__author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.tslider__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}
.tslider__name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 2px;
}
.tslider__role {
    font-size: 13px;
    color: var(--text-3);
}
.tslider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 52px;
}
.tslider__btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: transparent;
    color: var(--text-2);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tslider__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.tslider__dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.tslider__dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: width 0.35s var(--ease), background 0.35s var(--ease);
}
.tslider__dot.is-active {
    width: 24px;
    background: var(--accent);
}
@media (max-width: 600px) {
    .tslider__track { min-height: 420px; }
    .tslider__text { font-size: 17px; }
}
[data-theme="light"] .tslider__btn {
    border-color: var(--line-2);
    color: var(--text-2);
}
[data-theme="light"] .tslider__dot { background: rgba(0,0,0,0.15); }

/* ============================== CTA ============================== */
.section--cta { padding: 80px 0 160px; }
.cta {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line-2);
    isolation: isolate;
}
.cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 30% 20%, rgba(185, 68, 86, .35), transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 80%, rgba(245, 148, 116, .3), transparent 60%),
        radial-gradient(ellipse 80% 80% at 50% 50%, rgba(215, 108, 101, .15), transparent 70%),
        #160C12;
    z-index: -1;
}
.cta__inner {
    padding: clamp(48px, 8vw, 96px) 32px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.cta__title {
    font-size: clamp(36px, 5.5vw, 60px);
    margin: 0 0 20px;
}
.cta__sub {
    font-size: 17px;
    color: var(--text-2);
    margin: 0 0 40px;
    line-height: 1.6;
}
.cta__form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    padding: 6px;
    backdrop-filter: blur(10px);
    position: relative;
}
.cta__field {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}
.cta__field i { color: var(--text-3); font-size: 14px; }
.cta__field input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font: inherit;
    color: var(--text);
    font-size: 15px;
    padding: 12px 0;
}
.cta__field input::placeholder { color: var(--text-3); }
.cta__form .btn--primary { padding: 14px 24px; }

.cta__success {
    position: absolute;
    left: 0; right: 0;
    bottom: -44px;
    text-align: center;
    font-size: 14px;
    color: #10B981;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cta__success.show { opacity: 1; transform: translateY(0); }

.cta__alt {
    font-size: 14px;
    color: var(--text-3);
    margin-top: 28px;
}
.cta__alt a {
    color: var(--text);
    border-bottom: 1px solid var(--line-2);
    padding-bottom: 1px;
}
.cta__alt a:hover { color: var(--text); border-color: var(--accent); }

@media (max-width: 600px) {
    .cta__form { border-radius: 24px; flex-direction: column; }
    .cta__form .btn--primary { width: 100%; justify-content: center; }
}

/* ============================== FOOTER ============================== */
.foot {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .3));
    padding: 80px 0 40px;
    overflow: hidden;
}
.foot__top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 64px;
    margin-bottom: 80px;
}
@media (max-width: 900px) {
    .foot__top { grid-template-columns: 1fr; gap: 48px; }
}
.foot__brand .nav__logo { margin-bottom: 20px; }
.foot__about {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 380px;
}
.foot__social { display: flex; gap: 8px; }
.foot__social a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.foot__social a:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border-color: var(--line-2);
    transform: translateY(-2px);
}

.foot__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
@media (max-width: 900px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot__cols { grid-template-columns: 1fr; } }

.foot__col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-3);
    margin: 0 0 20px;
    font-weight: 500;
}
.foot__col a, .foot__col span {
    display: block;
    color: var(--text-2);
    font-size: 14px;
    padding: 6px 0;
    line-height: 1.5;
}
.foot__col a:hover { color: var(--text); }
.foot__pill {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    vertical-align: 2px;
}

.foot__big {
    font-family: var(--font-display);
    font-size: clamp(120px, 22vw, 280px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.06em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin: 0 -24px 0;
    padding-top: 16px;
    user-select: none;
    opacity: .85;
    display: block;
    overflow: hidden;
}
.foot__big span {
    color: var(--text);
    -webkit-text-fill-color: var(--text);
}

.foot__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-3);
    flex-wrap: wrap;
    gap: 16px;
}
.foot__bottom-links { display: flex; gap: 24px; }
.foot__bottom-links a:hover { color: var(--text); }

/* ----- Back to top ----- */
.totop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-2);
    backdrop-filter: blur(20px);
    color: var(--text);
    cursor: pointer;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
}
.totop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.totop:hover { background: rgba(255, 255, 255, .08); }

/* ----- Reveal animations ----- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ============================== THEME TOGGLE ============================== */

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-2);
    font-size: 15px;
    padding: 0;
    transition: background .2s var(--ease), color .2s var(--ease),
                border-color .2s var(--ease), transform .35s cubic-bezier(.34,1.56,.64,1);
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, .09);
    color: var(--text);
    border-color: rgba(255, 255, 255, .2);
    transform: rotate(22deg);
}
.theme-toggle i { pointer-events: none; }

/* ============================== VIDEO REEL ============================== */

.hero-reel__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* gradient background shows when no video file is present */
}

/* mute toggle in meta bar */
.hero-reel__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-reel__mute-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    padding: 0;
    transition: background .2s, color .2s;
}
.hero-reel__mute-btn:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

/* ============================== LIGHT THEME ============================== */

/* Smooth token swap on switch */
html { transition: background-color .3s ease; }
body.tna-body { transition: background-color .3s ease, color .3s ease; }

/* Override CSS custom properties */
[data-theme="light"] {
    color-scheme: light;

    --bg:       #F4F4F8;
    --bg-2:     #EAEAF2;
    --surface:  #FFFFFF;
    --surface-2:#F0F0F6;
    --line:     rgba(0, 0, 0, 0.08);
    --line-2:   rgba(0, 0, 0, 0.13);
    --text:     #0A0A0F;
    --text-2:   #42424E;
    --text-3:   #888893;
    --shadow-1: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 60px -20px rgba(0,0,0,.12);
    --shadow-glow: 0 0 0 1px rgba(185,68,86,.25), 0 30px 80px -20px rgba(185,68,86,.15);
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(0,0,0,.12); }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.2); }

/* Background canvas */
[data-theme="light"] .bg-grid {
    background-image:
        linear-gradient(rgba(0,0,0,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.055) 1px, transparent 1px);
}
[data-theme="light"] .bg-orb { opacity: .2; }
[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(185,68,86,.1) 0%, transparent 60%);
}

/* Nav */
[data-theme="light"] .nav {
    background: rgba(244,244,248,.75);
}
[data-theme="light"] .nav.scrolled {
    background: rgba(244,244,248,.92);
}
[data-theme="light"] .nav__menu {
    background: rgba(0,0,0,.04);
    border-color: var(--line);
}
[data-theme="light"] .nav__menu a { color: var(--text-2); }
[data-theme="light"] .nav__menu a:hover { color: var(--text); background: rgba(0,0,0,.05); }
[data-theme="light"] .nav__toggle {
    background: rgba(0,0,0,.04);
    border-color: var(--line-2);
}
[data-theme="light"] .nav__toggle span { background: var(--text); }
[data-theme="light"] .theme-toggle {
    background: rgba(0,0,0,.05);
    border-color: var(--line-2);
}
[data-theme="light"] .theme-toggle:hover {
    background: rgba(0,0,0,.09);
    border-color: rgba(0,0,0,.2);
}

/* Drawer */
[data-theme="light"] .drawer { background: rgba(244,244,248,.97); }
[data-theme="light"] .drawer__menu a { border-color: var(--line); }

/* Announce bar */
[data-theme="light"] .announce { background: rgba(0,0,0,.02); }

/* Buttons — primary flips to dark on light bg */
[data-theme="light"] .btn--primary {
    background: #0A0A0F;
    color: #F4F4F8;
    box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 30px -10px rgba(0,0,0,.3);
}
[data-theme="light"] .btn--primary:hover {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 36px -8px rgba(185,68,86,0.45), 0 1px 0 rgba(255,255,255,.1) inset;
}
[data-theme="light"] .btn--ghost {
    background: rgba(0,0,0,.04);
    border-color: var(--line-2);
    color: var(--text);
}
[data-theme="light"] .btn--ghost:hover {
    background: rgba(185,68,86,0.06);
    border-color: rgba(185,68,86,0.4);
    box-shadow: 0 0 0 1px rgba(185,68,86,0.10) inset, 0 10px 28px -8px rgba(185,68,86,0.2);
}

/* Pill + eyebrow */
[data-theme="light"] .pill {
    background: rgba(0,0,0,.04);
    border-color: var(--line-2);
}

/* Hero meta */
[data-theme="light"] .hero__meta {
    background: rgba(0,0,0,.03);
    border-color: var(--line);
}

/* Hero reel */
[data-theme="light"] .hero-reel__frame {
    background:
        radial-gradient(ellipse 55% 90% at 20% 50%, rgba(185,68,86,.12) 0%, transparent 65%),
        radial-gradient(ellipse 55% 90% at 82% 50%, rgba(245,148,116,.1) 0%, transparent 65%),
        #FEF0F2;
    border-color: var(--line-2);
}

/* Services */
[data-theme="light"] .service {
    background: linear-gradient(180deg, rgba(0,0,0,.025), rgba(0,0,0,.012));
    border-color: var(--line);
}
[data-theme="light"] .service--featured {
    background: linear-gradient(180deg, rgba(185,68,86,.07), rgba(245,148,116,.03));
    border-color: rgba(185,68,86,.15);
}
[data-theme="light"] .service__icon {
    background: rgba(0,0,0,.04);
    border-color: var(--line-2);
    color: var(--text);
}
[data-theme="light"] .service__list li { color: var(--text-3); }
[data-theme="light"] .step__tags span {
    background: rgba(0,0,0,.04);
    border-color: var(--line);
    color: var(--text-3);
}

/* Steps */
[data-theme="light"] .step {
    background: rgba(0,0,0,.025);
    border-color: var(--line);
}
[data-theme="light"] .step:hover {
    background: rgba(0,0,0,.04);
    border-color: var(--line-2);
}

/* Work / case cards */
[data-theme="light"] .case {
    background: var(--surface);
    border-color: var(--line);
}
[data-theme="light"] .case__visual--1 {
    background:
        radial-gradient(ellipse at top right, rgba(185,68,86,.14), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(245,148,116,.08), transparent 60%),
        #FEF0F2;
}
[data-theme="light"] .case__visual--2 {
    background: radial-gradient(ellipse at center, rgba(215,108,101,.14), transparent 70%), #FEF2F0;
}
[data-theme="light"] .case__visual--3 {
    background: radial-gradient(ellipse at center, rgba(245,148,116,.12), transparent 70%), #FEF4F0;
}
[data-theme="light"] .case__chart-bar { background: rgba(0,0,0,.08); }

/* Results / stats */
[data-theme="light"] .results__grid {
    border-color: var(--line);
}
[data-theme="light"] .stat { border-color: var(--line); }

/* Quote */
[data-theme="light"] .quote__author {
    background: rgba(0,0,0,.03);
    border-color: var(--line);
}
[data-theme="light"] .quote__logo { border-color: var(--line-2); }

/* CTA */
[data-theme="light"] .cta { border-color: rgba(0,0,0,.1); }
[data-theme="light"] .cta__bg {
    background:
        radial-gradient(ellipse 60% 80% at 30% 20%, rgba(185,68,86,.18), transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 80%, rgba(245,148,116,.14), transparent 60%),
        #FEF0F2;
}
[data-theme="light"] .cta__form {
    background: rgba(255,255,255,.7);
    border-color: rgba(0,0,0,.1);
}

/* Section alt */
[data-theme="light"] .section--alt {
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.018) 30%, rgba(0,0,0,.018) 70%, transparent);
}

/* Footer */
[data-theme="light"] .foot { border-color: var(--line); }
[data-theme="light"] .foot__social a {
    background: rgba(0,0,0,.04);
    border-color: var(--line);
}
[data-theme="light"] .foot__social a:hover { background: rgba(0,0,0,.07); }
[data-theme="light"] .foot__col a { color: var(--text-2); }
[data-theme="light"] .foot__col a:hover { color: var(--text); }
[data-theme="light"] .foot__col span { color: var(--text-3); }
[data-theme="light"] .foot__bottom { border-color: var(--line); }

/* Totop */
[data-theme="light"] .totop {
    background: rgba(0,0,0,.05);
    border-color: var(--line-2);
    color: var(--text);
}
[data-theme="light"] .totop:hover { background: rgba(0,0,0,.09); }

/* ==========================================================================
   Zig-Zag Content + Image Section
   ========================================================================== */

.zz {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 80px;
}

.zz__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

/* Flip: image moves to the right column */
.zz__block--flip .zz__img-wrap { order: 2; }
.zz__block--flip .zz__content  { order: 1; }

/* Image wrap */
.zz__img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-1);
}

.zz__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease);
}

.zz__block:hover .zz__img { transform: scale(1.04); }

/* Gradient overlay on the image */
.zz__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(185, 68, 86, .25) 0%,
        rgba(8, 9, 13, .45) 100%
    );
    pointer-events: none;
}

/* Badge in the corner */
.zz__img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(8, 9, 13, .72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.zz__img-badge i { color: var(--accent-2); }

/* Content column */
.zz__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.zz__num {
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--accent-2);
    background: var(--grad-soft);
    border: 1px solid rgba(185, 68, 86, .2);
    border-radius: 100px;
    padding: 4px 14px;
}

.zz__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    margin: 0;
    letter-spacing: -.03em;
}

.zz__body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-2);
    margin: 0;
    max-width: 480px;
}

.zz__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zz__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: var(--text-2);
}

.zz__list li i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--grad-soft);
    border: 1px solid rgba(185, 68, 86, .2);
    color: var(--accent-2);
    font-size: .7rem;
}


/* ---------- Responsive ---------- */

/* Tablet: slightly tighter gap */
@media (max-width: 1100px) {
    .zz__block { gap: 48px; }
    .zz { gap: 96px; }
}

/* Mobile: single column, image always on top */
@media (max-width: 860px) {
    .zz { gap: 64px; margin-top: 56px; }

    .zz__block,
    .zz__block--flip {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Reset order so image is always first on mobile */
    .zz__block--flip .zz__img-wrap { order: -1; }
    .zz__block--flip .zz__content  { order: 0; }

    .zz__img-wrap { aspect-ratio: 16 / 9; }

    .zz__body { max-width: 100%; }
    .zz__title { font-size: clamp(1.25rem, 5vw, 1.6rem); }
}

/* Small phones */
@media (max-width: 480px) {
    .zz { gap: 48px; margin-top: 40px; }
    .zz__block { gap: 20px; }
    .zz__img-wrap { aspect-ratio: 4 / 3; border-radius: var(--radius); }
    .zz__content { gap: 16px; }
    .zz__title { font-size: 1.2rem; }
    .zz__body { font-size: .9rem; }
    .zz__list li { font-size: .85rem; }
    .zz__img-badge { font-size: .7rem; padding: 5px 10px; top: 12px; left: 12px; }
}

/* Light theme overrides */
[data-theme="light"] .zz__img-wrap {
    border-color: var(--line-2);
    box-shadow: 0 8px 40px -12px rgba(0,0,0,.12);
}
[data-theme="light"] .zz__img-badge {
    background: rgba(255,255,255,.88);
    border-color: var(--line-2);
    color: var(--text-2);
}
[data-theme="light"] .zz__img-overlay {
    background: linear-gradient(135deg, rgba(185,68,86,.15) 0%, rgba(255,255,255,.1) 100%);
}
[data-theme="light"] .zz__list li i {
    background: rgba(185,68,86,.06);
    border-color: rgba(185,68,86,.15);
}

/* ============================== SVC SPLIT (Ecommerce & B2B) ============================== */
.svc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
}
.svc-split__card {
    position: relative;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.svc-split__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-top: 1.5px solid var(--accent);
    border-right: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.svc-split__card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 0;
    border-bottom: 1.5px solid var(--accent);
    border-left: 1.5px solid var(--accent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    transition: width 0s, height 0s;
}
.svc-split__card:hover {
    background: rgba(255,255,255,.04);
    border-color: var(--line-2);
}
.svc-split__card:hover::before {
    width: 100%;
    height: 100%;
    transition: width 0.22s linear 0s, height 0.22s linear 0.22s;
}
.svc-split__card:hover::after {
    width: 100%;
    height: 100%;
    transition: width 0.22s linear 0.44s, height 0.22s linear 0.66s;
}
.svc-split__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(185,68,86,.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 20px;
}
.svc-split__title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}
.svc-split__body {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
.svc-split__list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.svc-split__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-2);
}
.svc-split__list li i {
    color: var(--accent);
    font-size: 13px;
    flex-shrink: 0;
}
@media (max-width: 700px) {
    .svc-split { grid-template-columns: 1fr; }
    .svc-split__card { padding: 28px 24px; }
}

/* ============================== AUTHORITY ============================== */
.authority {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.authority__title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 8px 0 0;
}
.authority__body {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0;
}
.authority__caps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 8px 0 12px;
}
.authority__caps span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(185,68,86,.1);
    border: 1px solid rgba(185,68,86,.25);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
}
.authority__caps span i { color: var(--accent); font-size: 12px; }

/* ============================== FAQ ============================== */
.faq {
    max-width: 760px;
    margin: 0 auto;
}
.faq__item {
    border-bottom: 1px solid var(--line);
}
.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-display);
    gap: 16px;
    transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
    font-size: 14px;
    color: var(--text-3);
    flex-shrink: 0;
    transition: transform .3s var(--ease), color .2s var(--ease);
}
.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
    color: var(--accent);
}
.faq__a {
    display: none;
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 640px;
}
.faq__item.is-open .faq__a { display: block; }
