@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Rubik:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   FOOTER (Zenskar theme: black, amber #ffaa17, Oswald / Rubik / Space Grotesk)
   Top: big ZENSKAR word with a skyline rising in front of it.
   Below: the footer body in the same dark colour as the hills.
   Columns, left to right: brand (logo, about, follow), quick links,
   get in touch, newsletter.
   ============================================================ */

.zf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #050505;
  color: #ffffff;
  border-top: 1px solid rgba(255, 170, 23, 0.22);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

/* soft amber light behind the big word */
.zf::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: -1;
  width: 80%;
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgba(255, 170, 23, 0.18), transparent 70%);
  pointer-events: none;
}

/* thin vertical guide lines, same feel as the banner */
.zf::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 25% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%);
  mask-image: linear-gradient(to bottom, #000, transparent 60%);
}

/* fade-up entrance, one block after another */
.zf-rise {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease calc(var(--i, 0) * 0.12s),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 0.12s);
}

.zf--in .zf-rise {
  opacity: 1;
  transform: none;
}

/* ============================================================
   TOP: big word + skyline
   ============================================================ */

.zf-sky {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(0.5rem, 2vw, 2rem) 0;
  box-sizing: border-box;
  line-height: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease 0.2s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}

.zf--in .zf-sky {
  opacity: 1;
  transform: none;
}

.zf-sky svg {
  display: block;
  width: 100%;
  height: auto;
  /* darker towards the bottom of the word */
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, rgba(0, 0, 0, 0.22) 100%);
  mask-image: linear-gradient(to bottom, #000 35%, rgba(0, 0, 0, 0.22) 100%);
}

.zf-sky text {
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-size: 235px;
  font-weight: 700;
  text-transform: uppercase;
}

/* the skyline overlaps the bottom of the word, so the hills and buildings stand in front of it.
   The drawing is 1440 x 250, so there is no big empty block under the hills */
.zf-skyline {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 250;
  margin-top: -9.3%;
}

.zf-sil {
  fill: url(#zf-sil);
  stroke: rgba(255, 170, 23, 0.3);
  stroke-width: 1;
}

/* tree stems have no outline, the crown does */
.zf-sil .zf-stem {
  stroke: none;
}

/* glowing edge along the top of the hills */
.zf-ridge {
  fill: none;
  stroke: #ffaa17;
  stroke-opacity: 0.6;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 6px rgba(255, 170, 23, 0.8));
}

.zf-antenna {
  stroke: rgba(255, 170, 23, 0.5);
  stroke-width: 2;
}

.zf-blink {
  fill: #ffaa17;
  filter: drop-shadow(0 0 6px #ffaa17);
  animation: zf-blink 1.8s ease-in-out infinite;
}

.zf-win {
  fill: #ffaa17;
}

.zf-win--tw {
  animation: zf-twinkle 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes zf-twinkle {
  0%,
  100% {
    opacity: 0.12;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes zf-blink {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

/* the rocket floats up and down, and the flame flickers */
.zf-rocket {
  animation: zf-float 4s ease-in-out infinite alternate;
}

.zf-flame {
  transform-box: fill-box;
  transform-origin: top center;
  animation: zf-flicker 0.28s ease-in-out infinite alternate;
}

@keyframes zf-float {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(8px);
  }
}

@keyframes zf-flicker {
  from {
    transform: scaleY(0.8);
  }
  to {
    transform: scaleY(1.25);
  }
}

/* ============================================================
   BODY
   ============================================================ */

.zf-body {
  position: relative;
  z-index: 1;
  background: #120e08; /* same as the bottom of the hills */
}

.zf-inner {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(8px, 1.2vw, 20px) clamp(1.25rem, 4vw, 4rem) 0;
  box-sizing: border-box;
}

/* brand | quick links | get in touch | newsletter */
.zf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.7fr) minmax(0, 1.1fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(28px, 4vw, 72px);
}

.zf-col {
  min-width: 0;
}

.zf-title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 14px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #ffffff;
}

/* short amber bar under each heading */
.zf-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 4px;
  background: #ffaa17;
  box-shadow: 0 0 12px rgba(255, 170, 23, 0.7);
}

/* ---------- newsletter (right column) ---------- */
.zf-note {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.7;
}

.zf-form {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 460px;
}

.zf-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  background: #0a0805;
  color: #ffffff;
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.zf-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.zf-form input:focus {
  border-color: #ffaa17;
  box-shadow: 0 0 18px rgba(255, 170, 23, 0.25);
}

/* button spans the same width as the email field */
.zf-form button {
  width: 100%;
  padding: 16px 34px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffaa17, #ffbd45);
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.zf-form button:hover,
.zf-form button:focus-visible {
  box-shadow: 0 0 26px rgba(255, 170, 23, 0.55);
  transform: translateY(-2px);
  outline: none;
}

.zf-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #ffaa17;
  font-size: 1rem;
}

.zf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- link list ---------- */
.zf-links {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zf-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.zf-links a:hover,
.zf-links a:focus-visible {
  color: #ffaa17;
  transform: translateX(6px);
  outline: none;
}

/* ---------- contact ---------- */
.zf-info {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.6;
}

.zf-info strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 1.08em;
  font-weight: 600;
}

.zf-info a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}

.zf-info a:hover,
.zf-info a:focus-visible {
  color: #ffaa17;
  outline: none;
}

/* ---------- brand: logo + about + follow (left column) ---------- */
.zf-logo {
  display: inline-block;
  text-decoration: none;
}

.zf-logo img {
  display: block;
  width: auto;
  height: clamp(64px, 5vw, 84px);
}

/* text logo, only used if the image is missing */
.zf-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #ffaa17;
  font-family: "Times New Roman", Georgia, serif;
}

.zf-wordmark b {
  font-size: 38px;
  letter-spacing: 2px;
}

.zf-wordmark small {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.zf-about {
  max-width: 460px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.7;
}

.zf-follow {
  margin: 28px 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #ffffff;
}

.zf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zf-social a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 170, 23, 0.45);
  color: #ffaa17;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.zf-social a:hover,
.zf-social a:focus-visible {
  background: #ffaa17;
  color: #000000;
  box-shadow: 0 0 22px rgba(255, 170, 23, 0.55);
  transform: translateY(-3px);
  outline: none;
}

/* ---------- bottom row ---------- */
.zf-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(32px, 4vw, 52px);
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.05rem;
}

.zf-bottom p {
  margin: 0;
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .zf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

/* ---------- mobile ---------- */
@media (max-width: 620px) {
  /* a fixed height, the drawing is cropped at the sides instead of shrinking */
  .zf-skyline {
    aspect-ratio: auto;
    height: 130px;
    margin-top: -36px;
  }

  .zf-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .zf-bottom {
    flex-direction: column;
  }
}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .zf-rise,
  .zf-sky {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .zf-win--tw,
  .zf-blink,
  .zf-rocket,
  .zf-flame {
    animation: none;
  }

  .zf-links a,
  .zf-social a,
  .zf-form button {
    transition: none;
  }
}