/* ---- Rader (for footer name only) ---- */

@font-face {
  font-family: "Rader";
  src: url("/font/rader/PPRader-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ---- Footer shell ---- */

.footer ::selection {
  background: #0f0f0f;
  color: #fff;
}

.footer ::-moz-selection {
  background: #0f0f0f;
  color: #fff;
}

.footer {
  --fg: #0f0f0f;
  background-color: #fff;
  color: var(--fg);
  width: 100vw;
  padding: 4em 2em 2em 2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: sticky;
  bottom: 0;
  z-index: 0;
  box-sizing: border-box;
}

/* ---- Row 1: contact left + nav right ---- */

.footer-row--top {
  display: flex;
  justify-content: space-between;
  gap: 4em;
}

.footer-contact,
.footer-nav {
  flex: 1;
}

/* Contact left */

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  justify-content: space-between;
}

.footer-contact h3 {
  font-family: "sohne-bold", sans-serif;
  font-size: 4vw;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  text-transform: uppercase;
}

.footer-contact h3 span {
  color: var(--fg);
}

.footer-tagline {
  font-family: "sohne", sans-serif;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.8;
  font-weight: 400;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  margin-bottom: 0.5em;
}

.footer-btn {
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  width: max-content;
  padding: 0.9em 1.5em;
  font-family: "sohne-bold", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 0.4em;
  background-color: #fff;
  color: var(--fg);
  border: 2px dashed var(--fg);
  -webkit-font-smoothing: antialiased;
  box-shadow: 4px 4px 0 0 var(--fg);
  transform: translate(-2px, -2px);
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.footer-btn:hover {
  background-color: var(--fg);
  color: #fff;
  border: 2px solid var(--fg);
  box-shadow: 1px 1px 0 0 var(--fg);
  transform: translate(1px, 1px);
}

/* Nav right */

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-nav-item {
  width: 50%;
  padding: 1em 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px dashed var(--fg);
  color: var(--fg);
  font-family: "sohne-bold", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

.footer-nav-item:last-child {
  border-bottom: 2px dashed var(--fg);
}

.footer-nav-item .hover-link {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  display: inline-block;
  position: relative;
  overflow: hidden;
  line-height: 1.2;
}

/* ---- Row 2: giant name + copyright ---- */

.footer-row--bottom {
  display: flex;
  flex-direction: column;
}

.footer-name {
  width: 100%;
  padding: 2em 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-name h1 {
  position: relative;
  font-family: "Rader", sans-serif;
  font-size: 15vw;
  font-weight: bold;
  line-height: 0.9;
  color: var(--fg);
  text-transform: uppercase;
}

.footer-name h1:first-child {
  left: -0.5vw;
}

.footer-copyright-line {
  width: 100%;
  padding: 0.5em 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 2px dashed var(--fg);
}

.footer-copyright-line p {
  font-family: "sohne-bold", sans-serif;
  font-size: clamp(0.55rem, 2vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
}

.footer-copyright-line p:last-child {
  text-align: right;
}

/* ---- Responsive ---- */

@media (max-width: 1000px) {
  .footer-row--top {
    flex-direction: column;
    gap: 0;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-nav-item {
    width: 100%;
  }

  .footer-name {
    padding: 1em 0;
  }

  .footer {
    padding: 4em 1.25em 1.25em 1.25em;
    gap: 2em;
  }

  .footer-contact h3 {
    font-size: 8vw;
    line-height: 1.1;
  }

  .footer-contact {
    padding-bottom: 2.5em;
  }
}