/* ═══════════════════════════════════════════════
   css/footer.css — Premium redesigned footer
   UX: clear hierarchy, scan-friendly, mobile-first
   Design: bold name display, orange accent stripe,
           3-col links, social row, clean bottom bar
   ═══════════════════════════════════════════════ */

.footer {
  background: #060606;
  position: relative;
  overflow: hidden;
}

/* ── Decorative orange top border ── */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 30%,
    var(--accent) 70%,
    transparent 100%
  );
  opacity: 0.6;
}

/* Watermark BG text */
.footer::after {
  content: 'VS';
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  font-family: var(--font-sans);
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(254, 73, 28, 0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.06em;
  z-index: 0;
}

/* ── Section wrapper utility ── */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ════════════════════════════════
   TOP BLOCK — name + nav grid
   ════════════════════════════════ */
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
  padding-top: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Brand column ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}
.footer-name-first {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
}
.footer-name-last {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.footer-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.25rem;
}
.footer-role b {
  color: var(--accent);
  font-weight: 400;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  max-width: 30ch;
  margin-top: 0.25rem;
}

/* ── Nav columns wrapper ── */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.18s ease, gap 0.18s ease;
  min-height: 28px;    /* minimum touch area row height */
}
.footer-col a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease;
  flex-shrink: 0;
}
.footer-col a:hover {
  color: #fff;
  gap: 0.65rem;
}
.footer-col a:hover::before { width: 8px; }
.footer-col a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ════════════════════════════════
   SOCIAL STRIPE
   ════════════════════════════════ */
.footer-social-stripe {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-social-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  min-height: 44px;   /* Fitts's Law touch target */
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease,
              border-color 0.2s ease,
              background 0.2s ease,
              transform 0.2s ease;
}
.footer-social-link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.footer-social-link:hover {
  color: var(--accent);
  border-color: rgba(254, 73, 28, 0.45);
  background: rgba(254, 73, 28, 0.06);
  transform: translateY(-2px);
}
.footer-social-link:hover svg { transform: scale(1.15); }
.footer-social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ════════════════════════════════
   TAGLINE STRIPE
   ════════════════════════════════ */
.footer-tagline-stripe {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}
.footer-tagline-text {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.footer-tagline-text .t-accent {
  color: rgba(254, 73, 28, 0.35);
  font-style: italic;
}

/* ════════════════════════════════
   BOTTOM BAR — centered
   ════════════════════════════════ */
.footer-bottom {
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
  text-align: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
}
.footer-legal a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.18s ease;
  padding: 0.2rem 0;
}
.footer-legal a:hover { color: var(--accent); }
.footer-legal .sep { color: rgba(255,255,255,0.1); }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3rem;
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-top { padding-top: 2.5rem; padding-bottom: 2rem; gap: 2rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-social-stripe { gap: 1rem; }
  .footer-social-links { gap: 0.5rem; }
  .footer-social-link { padding: 0.65rem 0.9rem; font-size: 0.6rem; }
  .footer-bottom { gap: 0.6rem; }
  .footer-tagline-stripe { display: none; }
}

@media (max-width: 380px) {
  .footer-nav { grid-template-columns: 1fr; gap: 1.25rem; }
}
