
#footer-custom-cursor { position: fixed; top: 0; 
    left: 0; width: 20px; 
    height: 20px; background-color: #fff; 
    border-radius: 50%; pointer-events: none; 
    mix-blend-mode: difference; z-index: 9999; 
    transform: translate(-50%, -50%);
    opacity: 0; 
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease; }
#footer-custom-cursor.is-visible { opacity: 1; }
#footer-custom-cursor.hovering { width: 60px; height: 60px; 
    background-color: #FF9A3D; mix-blend-mode: normal; opacity: 0.8; }


.footer-section { position: relative; width: 100%; 
    display: flex; flex-direction: column; justify-content: space-between; 
    padding: var(--pad-top, 4rem) var(--pad-x, 4rem) 0.9rem var(--pad-x, 4rem); z-index: 1; 
    overflow: hidden; background-color: #030303; 
    color: #f0f0f0; font-family: 'Inter', sans-serif; }
#footer-smoke-canvas { position: absolute; top: 0; left: 0; 
    width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.85; }

.top-row { display: flex; justify-content: space-between; 
    align-items: flex-start; flex-wrap: wrap; 
    gap: 2rem; width: 100%; 
    position: relative; z-index: 2;}
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr 1.5fr; gap: 3rem; 
    font-size: 0.85rem; font-weight: 400; max-width: 700px; width: 100%; }
.col-header { color: #666; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; font-size: 0.75rem; }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 0.5rem; }

.footer-social-link { color: #fff; text-decoration: none; 
    transition: opacity 0.3s ease; 
    display: inline-block; position: relative; }
.footer-social-link:hover { opacity: 0.6; }
.footer-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; }


.footer-nav { display: flex; flex-wrap: wrap; gap: 2rem clamp(2.5rem, 5vw, 5rem); margin: 0; padding: 0;
    font-size: 0.85rem; font-weight: 400; position: relative; z-index: 2; }
.footer-nav .col-header { margin-bottom: 1.5rem; }
.footer-nav__list { display: flex; flex-direction: column; gap: 0.55rem; margin: 0; }
.footer-section .footer-nav__list li { margin-bottom: 0; }
.footer-nav__link { color: #fff; text-decoration: none; transition: opacity 0.3s ease, color 0.3s ease; }
.footer-nav__link:hover { opacity: 1; color: #FF9A3D; }
.top-row > .contact-grid { margin-left: auto; }
.top-row { margin-bottom: clamp(3rem, 8vh, 6rem); }
.footer-nav__link:focus-visible { outline: 2px solid #FF9A3D; outline-offset: 4px; border-radius: 2px; }

#floating-media { position: fixed; top: 0; left: 0; width: 250px; height: 300px; 
    background-size: cover; background-position: center; pointer-events: none; opacity: 0; 
    transform: scale(0.8) translate(-50%, -50%); border-radius: 12px; z-index: 10; 
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
#floating-media.visible { opacity: 1; transform: scale(1) translate(-50%, -50%); }

.mid-info-row { display: flex; flex-wrap: wrap; justify-content: center; 
    align-items: center; gap: 0.3rem 2rem; 
    width: 100%; 
    font-size: 0.75rem; color: #888; 
    letter-spacing: 0.05em; text-transform: uppercase; z-index: 2; position: relative; }

.footer-partner__link { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: color 0.3s ease, border-color 0.3s ease; }
.footer-partner__link:hover, .footer-partner__link:focus-visible { color: #FF9A3D; border-color: #FF9A3D; }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .top-row > .contact-grid { margin-left: 0; }   
}

@media (max-width: 768px) {
    .top-row { flex-direction: column; gap: 3rem; }
    .footer-nav { gap: 2rem; margin-top: 2.5rem; margin-bottom: 6.4rem; }
    .footer-section { padding-bottom: 0.5rem; }
    .mid-info-row { font-size: 0.62rem; gap: 0.2rem 1rem; }
    .footer-nav__list { gap: 0.6rem 1.5rem; }
    
    .footer-nav__group--legal { margin-left: 0; text-align: left; }
    .footer-nav__group--legal .footer-nav__list { justify-content: flex-start; }
}


.footer-brand { position: relative; z-index: 1; margin: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(1.2rem, 3vh, 2rem); text-align: center; }
.footer-brand__word { margin: 0; font-family: 'League Spartan', 'Inter', sans-serif; font-size: clamp(4.5rem, 21vw, 24rem); font-weight: 800; line-height: 0.78; letter-spacing: -0.05em; color: #fff; white-space: nowrap; }
.footer-brand__tag { margin: clamp(0.8rem, 2vh, 1.4rem) 0 0; display: inline-flex; align-items: center; gap: 12px; font-size: clamp(0.7rem, 1vw, 0.9rem); font-weight: 600; letter-spacing: 0.5em; text-transform: uppercase; color: #a1a1a1; }
.footer-brand__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF9A3D; }
@media (max-width: 768px) { .footer-brand__tag { letter-spacing: 0.3em; } }


.footer-brand__word {
    font-style: italic; padding-right: 0.08em;  
    background: linear-gradient(100deg, #ffffff 0%, #ffffff 38%, #FF9A3D 48%, #ffd2a8 52%, #ffffff 62%, #ffffff 100%);
    background-size: 260% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    animation: footerBrandShine 3.5s ease-in-out infinite;   
}
.footer-brand__word span { -webkit-text-fill-color: transparent; }
.footer-brand::after { content: ""; display: block; width: min(38vw, 420px); height: 2px; margin: clamp(0.6rem, 1.6vh, 1rem) auto 0; background: linear-gradient(90deg, transparent, #FF9A3D, transparent); transform-origin: 50% 50%; animation: footerBrandLine 3.5s ease-in-out infinite; }
@keyframes footerBrandShine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
@keyframes footerBrandLine { 0%, 100% { transform: scaleX(0.35); opacity: 0.4; } 50% { transform: scaleX(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .footer-brand__word, .footer-brand::after { animation: none; }
    .footer-brand__word { background: none; color: #fff; -webkit-text-fill-color: #fff; }
    .footer-brand__word span { -webkit-text-fill-color: #fff; }
}

@media (max-width: 768px) { .footer-brand__tag { font-size: 0.78rem; } }

/* Phones: partner line readable, footer links big enough to tap */
@media (max-width: 768px) {
    .footer-partner, .footer-partner__link { font-size: 0.78rem; }
    .footer-nav__link { display: inline-block; padding: 6px 0; }
}

/* Footer: business enquiry + social only (the two buttons were removed) */
.contact-grid { grid-template-columns: 1fr 1fr; max-width: 520px; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }

/* Tablets (portrait) and phones: Pages | Legal | Business Enquiry side by side, centred; Social centred below */
@media (max-width: 1024px) and (orientation: portrait), (max-width: 767px) {
    /* columns spread across the full width (the free space goes between them), each link on one line */
    .footer-section .top-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: start; column-gap: 16px; row-gap: 2.4rem; }
    .footer-section .footer-nav__link { white-space: nowrap; }
    .footer-section .footer-nav, .footer-section .contact-grid { display: contents; }
    .footer-section .footer-nav { margin: 0; }
    .footer-section .footer-nav__group--legal { margin-left: 0; }
    .footer-section .contact-grid > div:last-child { grid-column: 1 / -1; justify-self: center; text-align: center; }
    .footer-section .footer-social-grid { grid-template-columns: auto auto; justify-content: center; gap: 0.5rem 2.5rem; }
    .footer-section .col-header { margin-bottom: 1rem; }
}
@media (max-width: 767px) {
    /* phones: the three columns use the side space too (about 22px from each edge) */
    .footer-section .top-row { width: calc(100% + 84px); max-width: none; margin-left: -42px; margin-right: -42px; }
}
@media (max-width: 480px) {
    .footer-section .top-row { column-gap: 12px; font-size: 0.8rem; }
    .footer-section .top-row address, .footer-section .top-row li { font-size: 0.8rem; }
}