/**
 * Footer — Rapper / Premium Dark
 *
 * @package Bargtunes
 */

/* ========================================
   BASE
======================================== */

.site-footer {
    --ft-dock-space: var(--fn-dock-clearance, clamp(96px, 14vw, 120px));
    --ft-pad-x: clamp(20px, 5vw, 80px);
    --ft-pad-top: clamp(72px, 10vw, 140px);
    --ft-pad-bottom: clamp(48px, 6vw, 80px);
    --ft-gap: clamp(32px, 5vw, 64px);
    --ft-radius: clamp(16px, 2.5vw, 24px);
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--ft-pad-top) var(--ft-pad-x) calc(var(--ft-pad-bottom) + var(--ft-dock-space));
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   DECORATIVE BACKGROUND
======================================== */

.ft-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ── Aurora gradient mesh ── */
.ft-bg__aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.ft-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(88px);
    opacity: 0.35;
    transform: scale(0.92);
    will-change: transform, opacity;
    animation: ftOrbDrift 20s ease-in-out infinite;
}

.ft-bg__orb--1 {
    width: min(58vw, 560px);
    height: min(58vw, 560px);
    top: 0;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
}

.ft-bg__orb--2 {
    width: min(48vw, 460px);
    height: min(48vw, 460px);
    top: 32%;
    right: -14%;
    background: radial-gradient(circle, rgba(130, 170, 255, 0.12) 0%, transparent 70%);
    animation-delay: -7s;
    animation-duration: 24s;
}

.ft-bg__orb--3 {
    width: min(72vw, 680px);
    height: min(38vw, 340px);
    bottom: 18%;
    left: 18%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.09) 0%, transparent 72%);
    animation-delay: -12s;
    animation-duration: 26s;
}

.ft-bg__beam {
    position: absolute;
    top: 42%;
    left: -20%;
    width: 42%;
    height: 2px;
    opacity: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent 100%
    );
    transform: rotate(-6deg);
    filter: blur(1px);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

/* ── Scroll-reveal brand watermark ── */
.ft-bg__brand {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ft-bg__brand-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.015em;
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(12px, 3vw, 32px);
    transform: translateY(-4%);
    user-select: none;
}

.ft-bg__brand-char {
    display: inline-block;
    overflow: hidden;
    line-height: 0.82;
}

.ft-bg__brand-char-fill {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 15.5vw, 12.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    line-height: 0.82;
    opacity: 0;
    color: rgba(255, 255, 255, 0.16);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.22) 45%,
        rgba(190, 210, 255, 0.14) 72%,
        rgba(255, 255, 255, 0.07) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.14));
    will-change: clip-path, transform, opacity;
}

.ft-bg__fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        #000000 0%,
        rgba(0, 0, 0, 0.72) 22%,
        rgba(0, 0, 0, 0.55) 48%,
        rgba(0, 0, 0, 0.68) 82%,
        rgba(0, 0, 0, 0.92) 100%
    );
}

.ft-bg__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 45%, transparent 22%, rgba(0, 0, 0, 0.72) 100%);
}

/* Equalizer strip — full width, pinned to bottom */
.ft-bg__eq {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    gap: 3px;
    padding: 0;
    opacity: 0.22;
}

.ft-bg__eq-bar {
    flex: 1;
    min-width: 2px;
    max-width: none;
    height: 48px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 2px 2px 0 0;
    transform: scaleY(0.15);
    animation: ftEqBounce 0.9s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.05s);
    transform-origin: bottom center;
}

/* ========================================
   WRAPPER
======================================== */

.ft-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: var(--ft-gap);
}

/* ========================================
   TOP — BRAND + ADVISORY
======================================== */

.ft-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.ft-brand {
    flex: 1;
    min-width: 280px;
    max-width: 640px;
}

.ft-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

body.lang-persian .ft-eyebrow {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.ft-artist {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: #ffffff;
    text-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

body.lang-persian .ft-artist {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
    letter-spacing: 0;
}

.ft-tagline {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    max-width: 520px;
}

body.lang-persian .ft-tagline {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
}

/* Parental Advisory Badge */
.ft-advisory__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    padding: 12px 10px;
    border: 2px solid #ffffff;
    background: #000000;
    text-align: center;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.08),
        inset 0 0 20px rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ft-advisory__badge:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.ft-advisory__title {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1.2;
}

.ft-advisory__subtitle {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.ft-advisory__explicit {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 6px;
    width: 100%;
}

.ft-advisory__badge--sm {
    width: 80px;
    padding: 8px 6px;
}

.ft-advisory__badge--sm .ft-advisory__title,
.ft-advisory__badge--sm .ft-advisory__subtitle {
    font-size: 8px;
}

.ft-advisory__badge--sm .ft-advisory__explicit {
    font-size: 6px;
    padding-top: 4px;
}

.ft-advisory--inline {
    display: none;
}

/* Image badge from Customizer */
.ft-advisory__badge--image {
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.ft-advisory__badge--image:hover {
    box-shadow: none;
}

.ft-advisory__img {
    display: block;
    width: 110px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.ft-advisory__img--sm {
    width: 80px;
}

.ft-advisory__badge--image:hover .ft-advisory__img {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

/* ========================================
   CONTENT GRID
======================================== */

.ft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3.5vw, 48px);
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--ft-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Column accordion (mobile) */
.ft-col__details {
    margin: 0;
}

.ft-col__details summary {
    list-style: none;
    cursor: default;
}

.ft-col__details summary::-webkit-details-marker {
    display: none;
}

.ft-col__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.25s ease;
}

.ft-col__title::after {
    content: '';
    display: none;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ft-col__panel {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ft-col__panel-inner {
    overflow: hidden;
    min-height: 0;
}

body.lang-persian .ft-col__title {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

/* Nav links */
.ft-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ft-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease, padding 0.25s ease;
}

body.lang-persian .ft-nav a {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
}

.ft-nav a::before {
    content: '';
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.ft-nav a:hover {
    color: #fff;
    padding-left: 8px;
}

.ft-nav a:hover::before {
    width: 16px;
}

/* Streams */
.ft-streams {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ft-streams a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

body.lang-persian .ft-streams a {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
}

.ft-streams__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.ft-streams a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.ft-streams a:hover .ft-streams__dot {
    transform: scale(1.3);
}

body.rtl .ft-streams a:hover {
    transform: translateX(-4px);
}

/* Connect */
.ft-connect__text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 16px;
}

body.lang-persian .ft-connect__text {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
}

.ft-connect__email {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    transition: border-color 0.3s ease, opacity 0.3s ease;
    margin-bottom: 24px;
}

.ft-connect__email:hover {
    border-color: rgba(255, 255, 255, 0.6);
    opacity: 0.9;
}

.ft-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 4px;
}

.ft-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.ft-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45) 50%,
        transparent
    );
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.ft-stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 65%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ft-stat:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ft-stat:hover::before {
    opacity: 1;
}

.ft-stat:hover::after {
    opacity: 1;
}

.ft-stat__num {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    color: #fff;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

body.lang-persian .ft-stat__num {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
    letter-spacing: 0;
}

.ft-stat__unit {
    font-size: 0.72em;
    font-weight: 700;
    opacity: 0.75;
    margin-inline-start: 1px;
}

.ft-stat--symbol .ft-stat__num {
    font-size: clamp(1.55rem, 2.4vw, 1.85rem);
    line-height: 0.9;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.55) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.ft-stat__lbl {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.3s ease;
}

.ft-stat__lbl::before {
    content: '';
    width: 12px;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.ft-stat:hover .ft-stat__lbl {
    color: rgba(255, 255, 255, 0.62);
}

.ft-stat:hover .ft-stat__lbl::before {
    width: 18px;
    background: rgba(255, 255, 255, 0.5);
}

body.lang-persian .ft-stat__lbl {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

body.lang-persian .ft-stat__lbl::before {
    display: none;
}

/* ========================================
   MARQUEE
======================================== */

.ft-marquee {
    overflow: hidden;
    padding: 16px 0;
    border-block: 1px solid rgba(255, 255, 255, 0.06);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ft-marquee__track {
    display: flex;
    width: max-content;
    animation: ftMarquee 30s linear infinite;
}

.ft-marquee__track span {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-right: 40px;
    color: rgba(255, 255, 255, 0.06);
}

/* ========================================
   SOCIAL
======================================== */

.ft-social-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ft-social__label {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

body.lang-persian .ft-social__label {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.ft-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.5vw, 16px);
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.ft-social a {
    position: relative;
    width: clamp(46px, 11vw, 52px);
    height: clamp(46px, 11vw, 52px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.ft-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ft-social a:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.ft-social a:hover::before {
    opacity: 1;
}

.ft-social a svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
    pointer-events: none;
}

.ft-social a svg path {
    fill: currentColor;
}

/* ========================================
   BOTTOM BAR
======================================== */

.ft-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.ft-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 8px;
}

body.lang-persian .ft-copyright {
    font-family: 'ModamWeb', 'Poppins', sans-serif;
}

.ft-copyright strong {
    color: rgba(255, 255, 255, 0.75);
}

.ft-bottom__links {
    display: flex;
    gap: 20px;
}

.ft-bottom__links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.25s ease;
}

.ft-bottom__links a:hover {
    color: #fff;
}

.ft-scroll-top {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.ft-scroll-top:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ft-scroll-top svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes ftOrbDrift {
    0%, 100% {
        transform: translate(0, 0) scale(0.92);
    }
    33% {
        transform: translate(3%, -4%) scale(1.04);
    }
    66% {
        transform: translate(-2%, 3%) scale(0.96);
    }
}

@keyframes ftEqBounce {
    0%, 100% { transform: scaleY(0.1); }
    50% { transform: scaleY(1); }
}

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

/* ========================================
   RESPONSIVE — Advanced breakpoints
======================================== */

/* Large tablet / small laptop */
@media (max-width: 1100px) {
    .ft-artist {
        font-size: clamp(2.4rem, 6vw, 4.5rem);
    }

    .ft-grid {
        gap: clamp(18px, 3vw, 32px);
        padding: clamp(22px, 3.5vw, 32px);
    }
}

/* Tablet landscape — 2 columns */
@media (max-width: 900px) {
    .site-footer {
        align-items: flex-start;
        padding-top: clamp(64px, 8vw, 96px);
    }

    .ft-top {
        gap: 24px;
    }

    .ft-brand {
        max-width: 100%;
    }

    .ft-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(16px, 2.5vw, 28px);
    }

    .ft-col--connect {
        grid-column: 1 / -1;
    }

    .ft-col--connect .ft-stats {
        max-width: 100%;
    }

    .ft-bg__brand-char-fill {
        font-size: clamp(2.8rem, 14vw, 8rem);
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .site-footer {
        --ft-dock-space: max(108px, var(--fn-dock-clearance, 108px));
        --ft-pad-x: clamp(16px, 4vw, 28px);
        --ft-gap: clamp(28px, 5vw, 40px);
        min-height: auto;
    }

    .ft-wrap {
        gap: var(--ft-gap);
    }

    .ft-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ft-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
    }

    .ft-tagline {
        max-width: 36rem;
    }

    .ft-top > .ft-advisory {
        display: none;
    }

    .ft-advisory--inline {
        display: block;
    }

    /* Accordion columns */
    .ft-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px;
    }

    .ft-col + .ft-col {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ft-col__details summary {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .ft-col__title {
        margin: 0;
        padding: 16px 14px;
        border-bottom: none;
    }

    .ft-col__title::after {
        display: block;
    }

    .ft-col__details[open] .ft-col__title {
        color: rgba(255, 255, 255, 0.65);
    }

    .ft-col__details[open] .ft-col__title::after {
        transform: rotate(-135deg);
    }

    .ft-col__details:not([open]) .ft-col__panel {
        grid-template-rows: 0fr;
    }

    .ft-col__panel-inner {
        padding: 0 14px 16px;
    }

    .ft-nav a {
        min-height: 44px;
        padding: 12px 0;
    }

    body.rtl .ft-nav a:hover {
        padding-right: 8px;
        padding-left: 0;
    }

    .ft-streams a {
        min-height: 44px;
    }

    .ft-connect__email {
        word-break: break-all;
    }

    .ft-marquee {
        padding: 12px 0;
    }

    .ft-marquee__track span {
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
        padding-right: 28px;
    }

    .ft-social-wrap {
        align-items: center;
    }

    .ft-social__label {
        text-align: center;
    }

    .ft-social {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
        padding: 4px 0;
        margin-inline: 0;
        width: 100%;
        max-width: 100%;
        scroll-snap-type: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .ft-social a {
        flex-shrink: 0;
    }

    .ft-bottom {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            'scroll scroll'
            'advisory advisory'
            'copy copy'
            'links links';
        gap: 16px 20px;
        padding-top: 24px;
        text-align: center;
    }

    .ft-scroll-top {
        grid-area: scroll;
        justify-self: center;
        width: 48px;
        height: 48px;
    }

    .ft-advisory--inline {
        grid-area: advisory;
        justify-self: center;
    }

    .ft-bottom__left {
        grid-area: copy;
    }

    .ft-bottom__links {
        grid-area: links;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .ft-copyright {
        font-size: 12px;
        line-height: 1.6;
    }

    .ft-bg__brand-inner {
        transform: translateY(0);
    }

    .ft-bg__brand-char-fill {
        font-size: clamp(2.2rem, 12.5vw, 5rem);
    }

    .ft-bg__eq {
        height: 56px;
        opacity: 0.18;
    }

    .ft-bg__eq-bar {
        height: 36px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .site-footer {
        --ft-pad-top: 52px;
        --ft-pad-x: 16px;
        --ft-dock-space: max(112px, var(--fn-dock-clearance, 112px));
        padding-bottom: calc(var(--ft-pad-bottom) + var(--ft-dock-space) + env(safe-area-inset-bottom, 0px));
    }

    .ft-eyebrow {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .ft-artist {
        font-size: clamp(2rem, 11vw, 2.75rem);
        margin-bottom: 14px;
    }

    .ft-tagline {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .ft-grid {
        border-radius: 18px;
        padding: 6px;
    }

    .ft-col__title {
        padding: 14px 12px;
        font-size: 10px;
    }

    .ft-col__panel-inner {
        padding: 0 12px 14px;
    }

    .ft-stats {
        gap: 8px;
    }

    .ft-stat {
        padding: 12px 8px 10px;
        border-radius: 12px;
        align-items: center;
        text-align: center;
    }

    .ft-stat::before {
        left: 8px;
        right: 8px;
    }

    .ft-stat__num {
        font-size: clamp(1.15rem, 4.5vw, 1.35rem);
    }

    .ft-stat__lbl {
        font-size: 9px;
        justify-content: center;
    }

    .ft-stat__lbl::before {
        display: none;
    }

    .ft-social a {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .ft-scroll-top {
        width: 44px;
        height: 44px;
    }

    .ft-bg__orb--1,
    .ft-bg__orb--2,
    .ft-bg__orb--3 {
        filter: blur(64px);
    }
}

/* Small mobile */
@media (max-width: 360px) {
    .ft-stats {
        grid-template-columns: 1fr;
        max-width: 220px;
        margin-inline: auto;
    }

    .ft-stat {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        text-align: left;
    }

    body.lang-persian .ft-stat,
    body.rtl .ft-stat {
        text-align: right;
    }

    .ft-artist {
        font-size: 1.85rem;
        word-break: break-word;
    }
}

/* Desktop — accordion always open */
@media (min-width: 769px) {
    .ft-col__details {
        display: block;
    }

    .ft-col__details summary {
        pointer-events: none;
        cursor: default;
    }

    .ft-col__title::after {
        display: none !important;
    }

    .ft-col__panel {
        grid-template-rows: 1fr !important;
    }

    .ft-social-wrap {
        gap: 12px;
    }

    .ft-social__label {
        display: none;
    }
}

/* Touch — disable hover lift on coarse pointers */
@media (hover: none) and (pointer: coarse) {
    .ft-stat:hover,
    .ft-social a:hover,
    .ft-scroll-top:hover,
    .ft-streams a:hover {
        transform: none;
    }

    .ft-nav a:hover {
        padding-left: 0;
    }

    body.rtl .ft-nav a:hover {
        padding-right: 0;
    }

    .ft-nav a:active,
    .ft-streams a:active,
    .ft-social a:active {
        opacity: 0.75;
    }
}

/* Fallback visibility — no JS / GSAP not loaded */
.no-js .ft-wrap,
.no-js .ft-social a,
.no-js .ft-col,
.no-js .ft-bottom > *,
body:not(.js-loaded) .ft-wrap,
body:not(.js-loaded) .ft-social a,
body:not(.js-loaded) .ft-col,
body:not(.js-loaded) .ft-bottom > * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .ft-bg__eq-bar,
    .ft-bg__orb,
    .ft-marquee__track {
        animation: none !important;
    }

    .ft-bg__brand-char-fill {
        opacity: 0.12 !important;
        clip-path: none !important;
        transform: none !important;
    }

    .ft-bg__beam {
        display: none;
    }

    .ft-nav a,
    .ft-streams a,
    .ft-social a,
    .ft-stat,
    .ft-scroll-top {
        transition: none !important;
    }

    .ft-stat:hover {
        transform: none !important;
    }
}
