/* ===== Footer — Resend layout + home/header brand colors ===== */

.hs-footer {
  --hs-footer-bg: #050508;
  --hs-footer-ink: #f6f6f8;
  --hs-footer-muted: #b4b9ce;
  --hs-footer-title: #f5f2ff;
  --hs-footer-line: rgba(255, 255, 255, 0.08);
  position: relative;
  width: 100%;
  margin-top: clamp(48px, 8vw, 120px);
  padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0));
  overflow: hidden;
  background: var(--hs-footer-bg);
  color: var(--hs-footer-ink);
  border-top: 1px solid var(--hs-footer-line);
}

/* Giant glossy wordmark — fades into footer like Resend */
.hs-footer__brand-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: clamp(140px, 22vw, 280px);
  margin: 0 auto;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 72%,
    transparent 100%
  );
}

.hs-footer__brand-word {
  position: relative;
  margin: 0;
  padding: 0 0.02em;
  font-family: "Russo One", "Arial Black", "Inter", sans-serif;
  font-size: clamp(72px, 18vw, 220px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(200, 204, 214, 0.28) 18%,
      rgba(28, 28, 36, 0.95) 38%,
      rgba(8, 8, 12, 1) 58%,
      rgba(36, 38, 48, 0.9) 78%,
      rgba(160, 166, 180, 0.3) 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.65));
  transform: translateY(18%);
}

.hs-footer__brand-word::before {
  content: "HEADSHOT";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.06) 28%,
    transparent 55%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}

.hs-footer__brand-word::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 12%;
  height: 28%;
  border-radius: 40%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.16) 0%,
    transparent 70%
  );
  filter: blur(8px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hs-footer__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  padding-top: clamp(8px, 1.5vw, 16px);
}

.hs-footer__grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.05fr) minmax(0, 2.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hs-footer__brand {
  display: grid;
  gap: 16px;
  justify-items: start;
  max-width: 280px;
}

.hs-footer__logo {
  display: inline-flex;
  transition: opacity 0.2s ease;
}

.hs-footer__logo:hover,
.hs-footer__logo:focus-visible {
  opacity: 0.85;
}

.hs-footer__logo img {
  display: block;
  height: 28px;
  width: auto;
}

.hs-footer__address {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--hs-footer-muted);
}

.hs-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #c8ccd6;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.hs-footer__status:hover,
.hs-footer__status:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hs-footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
  flex-shrink: 0;
}

.hs-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.hs-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--hs-footer-muted);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hs-footer__social a img {
  display: block;
  width: auto;
  height: 14px;
  object-fit: contain;
  opacity: 0.92;
}

.hs-footer__social a[aria-label="Discord"] img {
  height: 12px;
}

.hs-footer__social a[aria-label="Telegram"] img {
  height: 11px;
}

.hs-footer__social a[aria-label="TikTok"] img {
  height: 14px;
}

.hs-footer__social a:hover,
.hs-footer__social a:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.hs-footer__compact {
  display: none;
}

.hs-footer__legal-row {
  display: none;
}

.hs-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.hs-footer__col-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hs-footer-title);
}

.hs-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.hs-footer__links a {
  display: inline-flex;
  width: fit-content;
  font-size: 13px;
  line-height: 1.4;
  color: var(--hs-footer-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.hs-footer__links a:hover,
.hs-footer__links a:focus-visible {
  color: #fff;
}

.hs-footer__bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
  border-top: 1px solid var(--hs-footer-line);
}

.hs-footer__copy {
  margin: 0;
  font-size: 12px;
  color: rgba(180, 185, 206, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .hs-footer__social a,
  .hs-footer__status,
  .hs-footer__links a,
  .hs-footer__logo,
  .hs-footer__compact a {
    transition: none;
  }
}

@media (max-width: 980px) {
  .hs-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hs-footer__brand {
    max-width: none;
  }

  .hs-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

/* ===== Mobile footer design ===== */
@media (max-width: 720px) {
  .hs-footer {
    margin-top: 28px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
  }

  .hs-footer__brand-hero {
    height: clamp(88px, 26vw, 120px);
  }

  .hs-footer__brand-word {
    font-size: clamp(48px, 18vw, 84px);
    letter-spacing: -0.05em;
    transform: translateY(24%);
  }

  .hs-footer__shell {
    gap: 20px;
    padding-top: 4px;
  }

  .hs-footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .hs-footer__brand {
    width: 100%;
    max-width: 360px;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .hs-footer__logo img {
    height: 26px;
  }

  .hs-footer__address {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(180, 185, 206, 0.72);
  }

  .hs-footer__status {
    min-height: 36px;
    padding: 8px 14px 8px 12px;
  }

  .hs-footer__social {
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
  }

  .hs-footer__social a {
    width: 44px;
    height: 44px;
  }

  .hs-footer__social a img {
    height: 16px;
  }

  .hs-footer__social a[aria-label="Discord"] img {
    height: 14px;
  }

  .hs-footer__social a[aria-label="Telegram"] img {
    height: 13px;
  }

  .hs-footer__cols {
    display: none;
  }

  .hs-footer__compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    padding-top: 2px;
  }

  .hs-footer__compact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: rgba(232, 235, 248, 0.92);
    text-decoration: none;
    transition:
      color 0.18s ease,
      border-color 0.18s ease,
      background 0.18s ease;
  }

  .hs-footer__compact a:hover,
  .hs-footer__compact a:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
  }

  .hs-footer__bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    text-align: center;
  }

  .hs-footer__legal-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }

  .hs-footer__legal-row a {
    font-size: 11px;
    font-weight: 500;
    color: rgba(180, 185, 206, 0.72);
    text-decoration: none;
    transition: color 0.18s ease;
  }

  .hs-footer__legal-row a:hover,
  .hs-footer__legal-row a:focus-visible {
    color: #fff;
  }

  .hs-footer__copy {
    font-size: 11px;
    color: rgba(160, 166, 188, 0.65);
  }
}

@media (max-width: 420px) {
  .hs-footer__compact {
    max-width: 100%;
    gap: 8px;
  }

  .hs-footer__compact a {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}
