:root {
  --fitko-ink: #050505;
  --fitko-paper: #f4efe3;
  --fitko-gold: #c99321;
  --fitko-mouse-x: 50%;
  --fitko-mouse-y: 50%;
}

html:has(body.fitko-landing-page),
body.fitko-landing-page {
  width: 100%;
  min-height: 100%;
  margin: 0 !important;
  overflow: hidden !important;
  background: var(--fitko-ink) !important;
}

body.fitko-landing-page {
  color: var(--fitko-paper);
  font-family: Arial, Helvetica, sans-serif;
}

body.fitko-landing-page *,
body.fitko-landing-page *::before,
body.fitko-landing-page *::after {
  box-sizing: border-box;
}

body.fitko-landing-page #wpadminbar {
  z-index: 99999;
}

.fitko-site {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at var(--fitko-mouse-x) var(--fitko-mouse-y),
      rgba(201, 147, 33, 0.14),
      transparent 25vw
    ),
    radial-gradient(circle at 50% 48%, #18140d 0, #080706 33%, #030303 72%);
}

body.admin-bar .fitko-site {
  height: calc(100svh - 32px);
}

.fitko-ambient {
  position: absolute;
  inset: -20%;
  z-index: -6;
  background:
    conic-gradient(
      from 190deg at 52% 54%,
      transparent 0deg,
      rgba(227, 183, 84, 0.08) 38deg,
      transparent 79deg,
      transparent 198deg,
      rgba(227, 183, 84, 0.05) 244deg,
      transparent 310deg
    );
  filter: blur(28px);
  animation: fitko-ambient-drift 16s ease-in-out infinite alternate;
}

.fitko-grid {
  position: absolute;
  inset: 49% -25% -40%;
  z-index: -5;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(201, 147, 33, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 147, 33, 0.2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 28%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 28%, transparent);
  transform: perspective(480px) rotateX(62deg) scale(1.45);
  transform-origin: center top;
  animation: fitko-grid-travel 5s linear infinite;
}

.fitko-orb {
  position: absolute;
  z-index: -4;
  width: min(58vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 147, 33, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(201, 147, 33, 0.035),
    0 0 90px rgba(201, 147, 33, 0.035);
}

.fitko-orb::before,
.fitko-orb::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 147, 33, 0.1);
  border-radius: inherit;
}

.fitko-orb::before {
  inset: 9%;
}

.fitko-orb::after {
  inset: 19%;
}

.fitko-orb-one {
  top: -28%;
  right: -17%;
  animation: fitko-orbit-one 18s ease-in-out infinite alternate;
}

.fitko-orb-two {
  bottom: -37%;
  left: -17%;
  animation: fitko-orbit-two 20s ease-in-out infinite alternate;
}

.fitko-hero {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 5rem 2rem 7rem;
}

.fitko-logo-wrap {
  position: relative;
  width: clamp(260px, 31vw, 465px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.48));
  animation: fitko-logo-arrival 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fitko-logo-halo {
  position: absolute;
  inset: -24%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 147, 33, 0.15),
    rgba(201, 147, 33, 0.05) 35%,
    transparent 68%
  );
  animation: fitko-halo-pulse 3.2s ease-in-out infinite;
}

.fitko-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none !important;
  height: auto;
  margin: 0 !important;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.fitko-marquee {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.fitko-marquee-top {
  top: 15%;
  opacity: 0.95;
  transform: rotate(-4deg) scale(1.04);
}

.fitko-marquee-bottom {
  bottom: 15%;
  z-index: 0;
  opacity: 0.19;
  transform: rotate(3deg) scale(1.04);
}

.fitko-marquee-track {
  display: flex;
  width: max-content;
  margin: 0;
  will-change: transform;
  animation: fitko-marquee 25s linear infinite;
}

.fitko-marquee-track-reverse {
  animation-direction: reverse;
  animation-duration: 34s;
}

.fitko-marquee span {
  display: inline-flex;
  align-items: center;
  color: transparent;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5rem, 12.5vw, 13rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.84;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px rgba(230, 206, 153, 0.33);
}

.fitko-marquee span::after {
  content: "✦";
  padding: 0 0.24em;
  color: var(--fitko-gold);
  font-family: Arial, sans-serif;
  font-size: 0.28em;
  font-style: normal;
  -webkit-text-stroke: 0;
}

.fitko-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 2rem;
  color: rgba(244, 239, 227, 0.52);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.fitko-noise {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.95'/%3E%3C/svg%3E");
}

.fitko-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fitko-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

@keyframes fitko-ambient-drift {
  from {
    transform: rotate(-5deg) scale(0.96);
  }
  to {
    transform: rotate(7deg) scale(1.08);
  }
}

@keyframes fitko-grid-travel {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 64px;
  }
}

@keyframes fitko-orbit-one {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(-5vw, 6vh, 0) rotate(8deg);
  }
}

@keyframes fitko-orbit-two {
  from {
    transform: translate3d(0, 0, 0) rotate(6deg);
  }
  to {
    transform: translate3d(6vw, -5vh, 0) rotate(-7deg);
  }
}

@keyframes fitko-halo-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes fitko-logo-arrival {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-9deg);
    filter: blur(8px) drop-shadow(0 28px 45px rgba(0, 0, 0, 0.48));
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0) drop-shadow(0 28px 45px rgba(0, 0, 0, 0.48));
  }
}

@media (max-width: 782px) {
  body.admin-bar .fitko-site {
    height: calc(100svh - 46px);
  }
}

@media (max-width: 720px) {
  .fitko-site {
    min-height: 500px;
  }

  .fitko-hero {
    padding: 3rem 1.4rem 6rem;
  }

  .fitko-logo-wrap {
    width: clamp(245px, 71vw, 335px);
  }

  .fitko-marquee-top {
    top: 19%;
  }

  .fitko-marquee-bottom {
    bottom: 20%;
  }

  .fitko-marquee span {
    font-size: clamp(4.4rem, 24vw, 8rem);
  }

  .fitko-footer {
    padding: 1.35rem 1rem;
    font-size: 0.54rem;
    letter-spacing: 0.09em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fitko-site *,
  .fitko-site *::before,
  .fitko-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
