/* Footer copied from team.html so every page ends the same way.
   Variables are scoped to the footer; alignment uses the homepage column. */
.bespoke-footer{--blue:#0053E2;--gold:#FFC220;--gold-on-blue:#FFDC94;--white:#FFFFFF;--line-light:rgba(255,255,255,0.1);
  --f-sans:"DM Sans",'Helvetica Neue',Helvetica,Arial,sans-serif;--ease:cubic-bezier(0.19,1,0.22,1);--ease-out:cubic-bezier(0.16,1,0.3,1);
  --page-max:1280px;--page-pad:48px;font-family:var(--f-sans);font-size:16px;line-height:1.6}
.bespoke-footer *{box-sizing:border-box;margin:0;padding:0}
.bespoke-footer .label{font-family:var(--f-sans);font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;display:block;margin-bottom:0.75rem}
.bespoke-footer .status-dot{width:6px;height:6px;background:var(--gold);border-radius:50%;display:inline-block;margin-right:6px;animation:pulse-dot 2s ease infinite}
@keyframes pulse-dot{0%,100%{opacity:1}50%{opacity:0.3}}
/* ── Bespoke Footer ── */
        /* the column labels are small uppercase text, so they take the
           lighter gold; --gold itself is unchanged for the light sections */
        .bespoke-footer .label { color: var(--gold-on-blue); }

        .bespoke-footer {
            position: relative;
            /* same blue as the header, so the page is bookended in it */
            background: var(--blue);
            color: var(--white);
            overflow: hidden;
            padding: 5rem 3rem 0;
            display: flex;
            flex-direction: column;
            border-top: 1px solid var(--line-light);
            z-index: 10;
        }

        .footer-ambient {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        .footer-glow {
            position: absolute;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(255,194,32,0.32) 0%, rgba(255,194,32,0) 70%);
            border-radius: 50%;
            top: 0; left: 0;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 0.8s var(--ease);
            mix-blend-mode: screen;
        }

        @media (hover: hover) { .bespoke-footer:hover .footer-glow { opacity: 1; } }

        .footer-noise {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
            opacity: 0.04;
            mix-blend-mode: overlay;
        }

        .footer-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            min-height: 40vh;
            justify-content: space-between;
            max-width: var(--page-max);
            margin: 0 auto;
            padding-inline: var(--page-pad);
            width: 100%;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .footer-col {
            display: flex;
            flex-direction: column;
        }

        .footer-brand {
            font-family: var(--f-sans);
            font-size: 1.7rem;
            letter-spacing: -0.02em;
            margin-bottom: 0.5rem;
            color: var(--white);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .footer-brand-logo {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .footer-brand-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .footer-coord {
            font-family: var(--f-sans);
            font-size: 0.85rem;
            color: rgba(255,255,255,0.88);
            line-height: 1.8;
            max-width: 300px;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }

        .footer-links a {
            color: rgba(255,255,255,0.93);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s, transform 0.3s;
            display: inline-block;
        }

        /* hover-capable pointers only: on touch a tapped link would stay gold and shifted */
        @media (hover: hover) {
            .footer-links a:hover {
                color: var(--gold-on-blue);
                transform: translateX(5px);
            }
        }

        .footer-legal-col {
            align-items: flex-end;
            text-align: right;
        }

        .footer-legal {
            font-family: var(--f-sans);
            font-size: 0.75rem;
            color: rgba(255,255,255,0.8);
            line-height: 1.8;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            height: 100%;
        }

        .footer-bottom {
            width: 100%;
            text-align: center;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            margin-bottom: -1.5rem;
        }

        .massive-logo-container {
            position: absolute;
            bottom: -30%;
            right: -10%;
            width: 60vw;
            height: 60vw;
            max-width: 800px;
            max-height: 800px;
            opacity: 0.055;
            pointer-events: none;
            transition: opacity 0.8s ease, transform 0.8s var(--ease-out), filter 0.8s ease;
            transform: translate(20px, 20px) rotate(-15deg);
        }

        .massive-logo-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            animation: slow-spin 90s linear infinite;
        }

        @keyframes slow-spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @media (hover: hover) { .bespoke-footer:hover .massive-logo-container {
            opacity: 0.1;
            transform: translate(0, 0) rotate(0deg);
            filter: drop-shadow(0 0 40px rgba(255,194,32,0.3));
        } }

        
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .footer-legal-col { align-items: flex-start; text-align: left; }
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .bespoke-footer { padding: 4rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .massive-logo-img, .bespoke-footer .status-dot { animation: none !important; }
  .footer-glow { display: none; }
}

/* homepage: line the footer up with the page column above */
@media (min-width: 769px) { .bespoke-footer { padding-left: 0; padding-right: 0; } }
@media (max-width: 899px) { .bespoke-footer { --page-pad: 16px; } }

/* ── MOBILE PASS ── */
/* touch: 44px link rows; the list gap goes so the column keeps about the same height */
@media (pointer: coarse) {
  .footer-links { gap: 0; }
  .footer-links a { display: inline-flex; align-items: center; min-height: var(--space-44); min-width: var(--space-44); }
}
/* phones and tablets: body copy holds the 14px floor (the uppercase column labels may stay at 12px) */
@media (max-width: 899px) {
  .footer-coord, .footer-legal { font-size: var(--text-14); }
}
