:root {
  color-scheme: dark;
  background: #05070b;
  --df-teal: #00c2c7;
  --df-blue: #1f6fff;
  --df-orange: #ff9a4d;
  --df-cream: #f5f7fa;
  --glow-strength: 1;
  --letter-slant: -10deg;
  --glitch-interval: 2s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  cursor: default;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 244, 255, 0.14), transparent 26rem),
    radial-gradient(circle at 12% 22%, rgba(255, 138, 42, 0.08), transparent 20rem),
    linear-gradient(135deg, #020308, #07101d 44%, #05070b);
  color: #eef8ff;
  font-family: Montserrat, Inter, Arial, sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  opacity: 0.18;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.18)),
    url("./assets/topography-reference.jpg");
  background-position: center;
  background-repeat: repeat;
  background-size: 560px auto;
  mix-blend-mode: screen;
  filter: contrast(1.08) brightness(0.86);
}

body::after {
  opacity: 0.32;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 244, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 12% 22%, rgba(255, 138, 42, 0.05), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(72, 128, 255, 0.06), transparent 24rem);
}

button,
input,
textarea {
  font: inherit;
}

.glitch-text {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.04em;
  color: var(--df-cream);
  filter:
    drop-shadow(0 0 calc(10px * var(--glow-strength)) rgba(0, 194, 199, 0.28))
    drop-shadow(0 0 calc(16px * var(--glow-strength)) rgba(31, 111, 255, 0.18));
  line-height: 0.82;
  vertical-align: middle;
}

.glitch-text::after {
  position: absolute;
  inset: -0.08em -0.03em;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background:
    repeating-linear-gradient(180deg, transparent 0 4px, rgba(245, 247, 250, 0.18) 5px 6px),
    linear-gradient(90deg, transparent 8%, rgba(0, 194, 199, 0.36) 18%, transparent 30%, rgba(255, 154, 77, 0.24) 78%, transparent 92%);
  mix-blend-mode: screen;
}

.glitch-text-hero {
  font-size: clamp(2.45rem, 5.45vw, 6.15rem);
}

.glitch-text-section {
  font-size: clamp(1.9rem, 4.15vw, 4.65rem);
}

.glitch-text-card {
  font-size: clamp(1.45rem, 2.4vw, 2.65rem);
}

.service-card-title-idle {
  width: 100%;
  font-size: clamp(1.05rem, 1.42vw, 1.55rem);
  letter-spacing: 0.006em;
  line-height: 1.02;
}

.service-card-title-active {
  width: 100%;
  font-size: clamp(1.45rem, 2.55vw, 2.8rem);
}

.glitch-char {
  position: relative;
  display: inline-block;
  width: 0.53em;
  height: 0.74em;
  margin-right: 0.015em;
  transform: skewX(var(--letter-slant));
}

.glitch-space {
  width: 0.34em;
  height: 0.74em;
}

.glitch-glyph-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity, clip-path;
}

.glitch-glyph-base {
  color: var(--df-cream);
}

.glitch-glyph-teal {
  color: var(--df-teal);
  opacity: 0;
}

.glitch-glyph-blue {
  color: var(--df-blue);
  opacity: 0;
}

.glitch-glyph-orange {
  color: var(--df-orange);
  opacity: 0;
}

.glitch-glyph-cut {
  fill: rgba(2, 7, 13, 0.92);
}

.glitch-glyph-streak {
  fill: var(--df-orange);
  opacity: 0.36;
}

.glitch-char::before,
.glitch-char::after {
  position: absolute;
  z-index: 3;
  content: "";
  pointer-events: none;
  opacity: 0.38;
  transform: skewX(-22deg);
}

.glitch-char::before {
  right: -0.08em;
  bottom: 0.06em;
  width: 0.34em;
  height: 0.035em;
  background: linear-gradient(90deg, transparent, var(--df-teal), transparent);
}

.glitch-char::after {
  top: 0.05em;
  left: 0.08em;
  width: 0.24em;
  height: 0.026em;
  background: linear-gradient(90deg, transparent, var(--df-orange), transparent);
}

.glitch-char-fallback {
  width: auto;
  height: auto;
  color: var(--df-cream);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 900;
  line-height: 0.9;
  transform: skewX(-10deg);
}

.glitch-text-animated .glitch-glyph-base {
  animation: glitch-base var(--glitch-interval) infinite linear;
}

.glitch-text-animated .glitch-glyph-teal {
  animation: glitch-teal var(--glitch-interval) infinite linear;
}

.glitch-text-animated .glitch-glyph-blue {
  animation: glitch-blue var(--glitch-interval) infinite linear;
}

.glitch-text-animated .glitch-glyph-orange {
  animation: glitch-orange var(--glitch-interval) infinite linear;
}

.glitch-text-animated .glitch-char:nth-child(3n) .glitch-glyph-svg {
  animation-delay: 42ms;
}

.glitch-text-animated .glitch-char:nth-child(4n) .glitch-glyph-svg {
  animation-delay: 84ms;
}

@keyframes glitch-base {
  0%, 15%, 100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }

  4% {
    clip-path: inset(0 0 62% 0);
    transform: translate3d(2px, 0, 0);
  }

  8% {
    clip-path: inset(32% 0 28% 0);
    transform: translate3d(-2px, 0, 0);
  }

  12% {
    clip-path: inset(64% 0 0 0);
    transform: translate3d(1px, 0, 0);
  }
}

@keyframes glitch-teal {
  0%, 15%, 100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }

  4%, 12% {
    opacity: 0.64;
    clip-path: inset(12% 0 48% 0);
    transform: translate3d(-2px, 2px, 0);
  }

  8% {
    opacity: 0.46;
    clip-path: inset(58% 0 8% 0);
    transform: translate3d(-1px, 1px, 0);
  }
}

@keyframes glitch-blue {
  0%, 15%, 100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }

  5%, 13% {
    opacity: 0.52;
    clip-path: inset(0 0 68% 0);
    transform: translate3d(-2px, -2px, 0);
  }

  9% {
    opacity: 0.42;
    clip-path: inset(46% 0 26% 0);
    transform: translate3d(-1px, -1px, 0);
  }
}

@keyframes glitch-orange {
  0%, 15%, 100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }

  6%, 11% {
    opacity: 0.34;
    clip-path: inset(34% 0 42% 0);
    transform: translate3d(2px, 2px, 0);
  }
}

.sytl-reference-text {
  display: inline-grid;
  max-width: 100%;
  align-items: center;
  overflow: visible;
  padding: 0.04em 0.12em 0.08em 0.08em;
  color: transparent;
  font-family: Impact, Haettenschweiler, "Arial Black", Montserrat, Inter, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.012em;
  line-height: 0.98;
  text-transform: uppercase;
  transform: skewX(-10deg);
  text-wrap: balance;
  filter:
    drop-shadow(0 0 calc(12px * var(--glow-strength)) rgba(0, 194, 199, 0.28))
    drop-shadow(0 0 calc(18px * var(--glow-strength)) rgba(31, 111, 255, 0.16));
}

.sytl-reference-text::before {
  content: none;
}

.sytl-reference-text::after {
  content: none;
}

.sytl-layer,
.sytl-slice {
  grid-area: 1 / 1;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-transform: uppercase;
  overflow: visible;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity, clip-path, filter;
}

.sytl-layer-base {
  position: relative;
  z-index: 4;
  color: var(--df-cream);
  text-shadow:
    0.045em 0.01em 0 rgba(0, 194, 199, 0.2),
    -0.035em -0.01em 0 rgba(31, 111, 255, 0.16),
    0 0 20px rgba(0, 194, 199, 0.16);
  clip-path: none;
}

.sytl-layer-teal,
.sytl-layer-blue,
.sytl-layer-orange,
.sytl-slice {
  position: relative;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.sytl-layer-teal,
.sytl-layer-blue,
.sytl-layer-orange,
.sytl-slice,
.glitch-text-animated.sytl-reference-text .sytl-layer-teal,
.glitch-text-animated.sytl-reference-text .sytl-layer-blue,
.glitch-text-animated.sytl-reference-text .sytl-layer-orange,
.glitch-text-animated.sytl-reference-text .sytl-slice {
  animation: none;
  opacity: 0;
}

.sytl-layer-teal {
  color: var(--df-teal);
}

.sytl-layer-blue {
  color: var(--df-blue);
}

.sytl-layer-orange {
  color: var(--df-orange);
}

.sytl-slice {
  z-index: 5;
  color: var(--df-cream);
  text-shadow:
    0.08em 0 0 rgba(0, 194, 199, 0.38),
    -0.06em 0 0 rgba(31, 111, 255, 0.28),
    0.035em 0.02em 0 rgba(255, 154, 77, 0.22);
}

.sytl-slice-one {
  clip-path: inset(18% 0 62% 0);
}

.sytl-slice-two {
  clip-path: inset(58% 0 16% 0);
}

.glitch-text-animated.sytl-reference-text .sytl-layer-base {
  animation: none;
}

.glitch-text-animated.sytl-reference-text .sytl-layer-teal {
  animation: sytl-teal-burst var(--glitch-interval) infinite linear;
}

.glitch-text-animated.sytl-reference-text .sytl-layer-blue {
  animation: sytl-blue-burst var(--glitch-interval) infinite linear;
}

.glitch-text-animated.sytl-reference-text .sytl-layer-orange {
  animation: sytl-orange-burst var(--glitch-interval) infinite linear;
}

.glitch-text-animated.sytl-reference-text .sytl-slice-one {
  animation: sytl-slice-one var(--glitch-interval) infinite linear;
}

.glitch-text-animated.sytl-reference-text .sytl-slice-two {
  animation: sytl-slice-two var(--glitch-interval) infinite linear;
}

@keyframes sytl-base-clean {
  0%, 15%, 100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }

  4% {
    transform: translate3d(2px, 0, 0);
  }

  8% {
    filter: blur(0.6px);
    transform: translate3d(-2px, 0, 0);
  }

  12% {
    transform: translate3d(1px, 0, 0);
  }
}

@keyframes sytl-teal-burst {
  0%, 15%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  4%, 12% {
    opacity: 0.68;
    transform: translate3d(-3px, 2px, 0);
    clip-path: inset(10% 0 46% 0);
  }

  8% {
    opacity: 0.44;
    transform: translate3d(-2px, 1px, 0);
    clip-path: inset(58% 0 8% 0);
  }
}

@keyframes sytl-blue-burst {
  0%, 15%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  5%, 13% {
    opacity: 0.58;
    transform: translate3d(-2px, -2px, 0);
    clip-path: inset(0 0 66% 0);
  }

  9% {
    opacity: 0.42;
    transform: translate3d(-1px, -1px, 0);
    clip-path: inset(42% 0 24% 0);
  }
}

@keyframes sytl-orange-burst {
  0%, 15%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
  }

  6%, 11% {
    opacity: 0.34;
    transform: translate3d(2px, 2px, 0);
    clip-path: inset(34% 0 42% 0);
  }
}

@keyframes sytl-slice-one {
  0%, 15%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  5%, 10% {
    opacity: 0.8;
    transform: translate3d(3px, -1px, 0);
  }
}

@keyframes sytl-slice-two {
  0%, 15%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  7%, 13% {
    opacity: 0.64;
    transform: translate3d(-3px, 1px, 0);
  }
}

.site-header {
  border-bottom: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(3, 7, 12, 0.92), rgba(4, 10, 18, 0.84)) padding-box,
    linear-gradient(90deg, rgba(32, 244, 255, 0.72), rgba(255, 138, 42, 0.62), rgba(32, 244, 255, 0.38)) border-box;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 14px 38px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(32, 244, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.2;
  background:
    linear-gradient(90deg, transparent 0 17px, rgba(255, 138, 42, 0.2) 18px 19px, transparent 20px 72px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, #20f4ff 18%, #ff8a2a 52%, #2c81ff 82%, transparent);
  box-shadow: 0 0 18px rgba(32, 244, 255, 0.45), 0 0 14px rgba(255, 138, 42, 0.22);
}

.summer-sale-bar {
  background: rgba(1, 4, 9, 0.68);
  min-height: 30px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  backdrop-filter: blur(14px);
}

.summer-sale-bar > div {
  position: relative;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  min-height: 30px;
  background:
    linear-gradient(135deg, rgba(3, 9, 16, 0.9), rgba(9, 18, 27, 0.76)) padding-box,
    linear-gradient(90deg, rgba(32, 244, 255, 0.86), rgba(44, 129, 255, 0.54) 38%, rgba(255, 138, 42, 0.82)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 22px rgba(32, 244, 255, 0.13),
    0 0 18px rgba(255, 138, 42, 0.08);
}

.summer-sale-bar > div::before,
.summer-sale-bar > div::after {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, #20f4ff, #2c81ff 45%, #ff8a2a);
  box-shadow:
    0 0 14px rgba(32, 244, 255, 0.58),
    0 0 10px rgba(255, 138, 42, 0.28);
}

.summer-sale-bar > div::before {
  left: 0;
}

.summer-sale-bar > div::after {
  right: 0;
}

.summer-countdown-cell {
  display: inline-flex;
  min-width: auto;
  align-items: baseline;
  gap: 0.22rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  padding: 0 0.2rem;
  text-align: center;
  box-shadow: none;
}

.nav-tab {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(7, 15, 27, 0.92), rgba(15, 21, 28, 0.82)) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.74), rgba(255, 138, 42, 0.55)) border-box;
  padding: 0.5rem 1rem;
  color: rgba(226, 237, 245, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -10px 20px rgba(255, 138, 42, 0.035),
    0 0 15px rgba(32, 244, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  isolation: isolate;
  transform: skewX(-10deg);
  transition: color 180ms ease, box-shadow 180ms ease, transform 180ms ease, filter 180ms ease, background 180ms ease;
}

.nav-tab > * {
  position: relative;
  z-index: 1;
  transform: skewX(10deg);
}

.nav-tab::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(44, 129, 255, 0.96), rgba(32, 244, 255, 0.82) 48%, rgba(255, 138, 42, 0.9));
  transform: translateX(-105%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.nav-tab:hover,
.nav-tab-active {
  color: #fff;
  filter: saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -10px 20px rgba(255, 138, 42, 0.055),
    0 0 22px rgba(32, 244, 255, 0.18),
    0 0 18px rgba(255, 138, 42, 0.1);
  transform: skewX(-10deg) translateY(-1px);
}

.nav-tab:hover::before,
.nav-tab-active::before {
  transform: translateX(0);
}

.nav-tab-services {
  background:
    linear-gradient(135deg, rgba(8, 18, 32, 0.92), rgba(21, 23, 26, 0.84)) padding-box,
    linear-gradient(135deg, #20f4ff, #2c81ff 42%, #ff8a2a) border-box;
}

.nav-tab-membership {
  background:
    linear-gradient(135deg, rgba(7, 15, 27, 0.92), rgba(15, 21, 28, 0.82)) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.74), rgba(255, 138, 42, 0.55)) border-box;
  padding: 0.6rem 1.2rem;
  color: rgba(226, 237, 245, 0.88);
  font-size: 0.9rem;
}

.nav-tab-membership::before {
  background: linear-gradient(90deg, rgba(44, 129, 255, 0.96), rgba(32, 244, 255, 0.82) 48%, rgba(255, 138, 42, 0.9));
}

.nav-tab-active {
  color: #fff;
}

.btn-primary-skew {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(32, 244, 255, 0.95), rgba(32, 244, 255, 0.82)) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.82), rgba(255, 138, 42, 0.5)) border-box;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  color: #05070b;
  transform: skewX(-10deg);
  transition: color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease, background 180ms ease;
}

.btn-primary-skew.btn-hero-secondary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(5, 14, 25, 0.72)) padding-box,
    linear-gradient(135deg, rgba(255, 138, 42, 0.7), rgba(32, 244, 255, 0.45)) border-box;
  color: #05070b;
}

.btn-primary-skew::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(110deg, #9ffcff, #20f4ff 42%, #11d7b2 100%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.btn-primary-skew-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  transform: skewX(10deg);
}

.btn-primary-skew:hover,
.btn-primary-skew:focus-visible {
  background:
    linear-gradient(110deg, #9ffcff, #20f4ff 42%, #11d7b2 100%) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.9), rgba(17, 215, 178, 0.92)) border-box;
  color: #04101a;
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 26px rgba(32, 244, 255, 0.24),
    0 0 18px rgba(17, 215, 178, 0.16);
  transform: skewX(-10deg) translateY(-1px);
}

.btn-primary-skew.btn-hero-secondary:hover,
.btn-primary-skew.btn-hero-secondary:focus-visible {
  color: #05070b;
}

.btn-primary-skew:hover::before,
.btn-primary-skew:focus-visible::before {
  opacity: 1;
}

.steampunk-menu {
  border: 2px solid transparent;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(3, 7, 12, 0.97), rgba(13, 18, 24, 0.95)) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.68), rgba(255, 138, 42, 0.58)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 48px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(32, 244, 255, 0.14);
  backdrop-filter: blur(18px);
}

.steampunk-menu-item {
  display: block;
  width: 100%;
  border-radius: 0.7rem;
  padding: 0.75rem 1rem;
  color: rgba(203, 216, 225, 0.86);
  text-align: left;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.steampunk-menu-item:hover,
.steampunk-menu-item-active {
  background: linear-gradient(135deg, rgba(32, 244, 255, 0.1), rgba(255, 138, 42, 0.08));
  color: #fff;
  box-shadow: inset 2px 0 0 rgba(255, 138, 42, 0.78);
}

.home-page > section {
  position: relative;
}

.home-page::before,
.home-page::after {
  position: fixed;
  z-index: -1;
  width: min(28vw, 320px);
  height: min(28vw, 320px);
  content: "";
  pointer-events: none;
  opacity: 0.38;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(32, 244, 255, 0) 0 16px,
      rgba(32, 244, 255, 0.62) 16px 36px,
      rgba(255, 138, 42, 0.58) 36px 56px,
      rgba(255, 138, 42, 0) 56px 76px
    );
  filter: drop-shadow(0 0 18px rgba(32, 244, 255, 0.2)) drop-shadow(0 0 14px rgba(255, 138, 42, 0.14));
  mask-image: linear-gradient(135deg, #000, transparent 70%);
}

.home-page::before {
  top: 0;
  left: 0;
}

.home-page::after {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}

.home-page > section + section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, #20f4ff 18%, #2c81ff 36%, #ff8a2a 68%, transparent);
  box-shadow:
    0 0 18px rgba(32, 244, 255, 0.55),
    0 0 16px rgba(255, 138, 42, 0.26);
}

.glass-panel {
  border: 3px solid transparent;
  background:
    linear-gradient(145deg, rgba(10, 25, 42, 0.9), rgba(4, 9, 16, 0.94)) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.72), rgba(32, 244, 255, 0.16) 38%, rgba(255, 138, 42, 0.18) 68%, rgba(255, 138, 42, 0.62)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 16px 46px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(32, 244, 255, 0.08),
    0 0 20px rgba(255, 138, 42, 0.05);
  backdrop-filter: blur(18px);
}

.hero-logo-panel,
.hero-copy-panel {
  border: 3px solid transparent;
  background:
    linear-gradient(145deg, rgba(2, 7, 13, 0.72), rgba(5, 14, 25, 0.62)) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.86), rgba(44, 129, 255, 0.42) 42%, rgba(255, 138, 42, 0.72)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(32, 244, 255, 0.18),
    0 0 20px rgba(255, 138, 42, 0.1);
  backdrop-filter: blur(16px);
}

.hero-copy-panel {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78);
}

.hero-logo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 24% 18%, rgba(32, 244, 255, 0.13), transparent 34%) padding-box,
    radial-gradient(circle at 86% 80%, rgba(255, 138, 42, 0.11), transparent 34%) padding-box,
    linear-gradient(145deg, rgba(10, 25, 42, 0.9), rgba(4, 9, 16, 0.94)) padding-box,
    linear-gradient(135deg, rgba(32, 244, 255, 0.72), rgba(32, 244, 255, 0.16) 38%, rgba(255, 138, 42, 0.18) 68%, rgba(255, 138, 42, 0.62)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 16px 46px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(32, 244, 255, 0.08),
    0 0 20px rgba(255, 138, 42, 0.05);
}

.hero-logo-panel::before,
.hero-logo-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  border-radius: inherit;
}

.hero-logo-panel::before {
  inset: 0;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(32, 244, 255, 0.08), transparent 42%, rgba(255, 138, 42, 0.08));
}

.hero-logo-panel::after {
  inset: auto 12% 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #20f4ff, #ff8a2a, transparent);
  box-shadow: 0 0 18px rgba(32, 244, 255, 0.65);
}

.hero-logo-panel img {
  position: relative;
  z-index: 1;
}

.animated-gallery-section {
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(1, 4, 9, 0.92), rgba(4, 12, 22, 0.84) 48%, rgba(1, 4, 9, 0.94)),
    radial-gradient(circle at 50% 34%, rgba(32, 244, 255, 0.16), transparent 26rem);
}

.animated-gallery-section::before,
.animated-gallery-section::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 20;
  height: 8rem;
  content: "";
  pointer-events: none;
}

.animated-gallery-section::before {
  top: 0;
  background: linear-gradient(180deg, #020409 0%, rgba(2, 4, 9, 0.78) 36%, transparent 100%);
}

.animated-gallery-section::after {
  bottom: 0;
  background: linear-gradient(0deg, #020409 0%, rgba(2, 4, 9, 0.78) 36%, transparent 100%);
}

.gallery-wall-grid {
  width: min(100%, 1800px);
  margin: 0 auto;
}

.gallery-wall-column {
  position: relative;
  height: clamp(34rem, 72vh, 56rem);
  overflow: hidden;
  border: 1px solid rgba(32, 244, 255, 0.18);
  border-radius: 1.35rem;
  background: rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 20px 60px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(32, 244, 255, 0.08);
}

.gallery-wall-column::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32, 244, 255, 0.1), transparent 18%, transparent 82%, rgba(255, 138, 42, 0.1)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.46));
}

.gallery-wall-track {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation-duration: var(--gallery-duration, 44s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.gallery-wall-track-up {
  animation-name: gallery-scroll-up;
}

.gallery-wall-track-down {
  animation-name: gallery-scroll-down;
}

.gallery-wall-card {
  position: relative;
  flex: 0 0 auto;
  height: clamp(15rem, 23vw, 24rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  background: #05070b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.gallery-wall-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.08) saturate(1.03);
  transform: scale(1.001);
  transition: filter 220ms ease, transform 220ms ease;
}

.gallery-wall-card:hover img {
  filter: brightness(1.02) contrast(1.1) saturate(1.08);
  transform: scale(1.03);
}

.hero-gallery-backdrop {
  overflow: hidden;
  opacity: 0.98;
  filter: saturate(1.08) contrast(1.08) brightness(1.05);
  transform: scale(1.04);
}

.hero-gallery-backdrop .gallery-wall-grid {
  width: 100%;
  max-width: none;
}

.hero-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-gallery-backdrop .gallery-wall-column {
  height: 100%;
  min-height: 52rem;
  border-color: rgba(32, 244, 255, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-gallery-backdrop .gallery-wall-track {
  gap: 0.65rem;
  padding: 0;
}

.hero-gallery-backdrop .gallery-wall-card {
  height: 17rem;
  border-color: rgba(255, 255, 255, 0.045);
  border-radius: 0.9rem;
  box-shadow: none;
}

.hero-gallery-backdrop .gallery-wall-card img {
  filter: brightness(1) contrast(1.08) saturate(1.06);
}

.hero-gallery-backdrop .gallery-wall-card:hover img {
  filter: brightness(1) contrast(1.08) saturate(1.06);
  transform: scale(1.001);
}

@keyframes gallery-scroll-up {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes gallery-scroll-down {
  from {
    transform: translate3d(0, -50%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}


.neon-line {
  position: relative;
}

.neon-line::after {
  position: absolute;
  right: 12%;
  bottom: 0;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #20f4ff, #ff8a2a, transparent);
  box-shadow: 0 0 18px rgba(32, 244, 255, 0.65);
}

.before-after-range {
  appearance: none;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 138, 42, 0.55), rgba(32, 244, 255, 0.78));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 18px rgba(32, 244, 255, 0.12);
}

.before-after-range::-webkit-slider-thumb {
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #20f4ff 58%, #0b2631 100%);
  box-shadow: 0 0 18px rgba(32, 244, 255, 0.55), 0 0 8px rgba(255, 138, 42, 0.22);
  cursor: ew-resize;
}

.before-after-range::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #20f4ff 58%, #0b2631 100%);
  box-shadow: 0 0 18px rgba(32, 244, 255, 0.55), 0 0 8px rgba(255, 138, 42, 0.22);
  cursor: ew-resize;
}

.topographic {
  background-image: none;
}

.garage-slats {
  background:
    repeating-linear-gradient(
      to bottom,
      #111722 0,
      #192538 18px,
      #05080e 19px,
      #05080e 22px
    ),
    linear-gradient(135deg, #1f2b3c, #06080c);
}

.service-form input,
.service-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 244, 255, 0.34);
  border-radius: 0.75rem;
  background: rgba(3, 8, 15, 0.78);
  padding: 0.9rem 1rem;
  color: #fff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-form input:focus,
.service-form textarea:focus {
  border-color: rgba(255, 138, 42, 0.86);
  box-shadow: 0 0 0 4px rgba(32, 244, 255, 0.1), 0 0 24px rgba(255, 138, 42, 0.14);
}

.service-option-card,
.service-addon-card {
  min-width: 0;
  overflow: hidden;
}

.service-option-label,
.service-addon-label,
.service-option-price {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.service-option-price {
  display: block;
  font-size: clamp(1.65rem, 7vw, 2.25rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.service-addon-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.service-addon-price {
  min-width: max-content;
  text-align: right;
}

.service-form label {
  display: grid;
  gap: 0.45rem;
  color: #b8d8e8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.faq-card:hover,
.faq-card-open {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(32, 244, 255, 0.15);
  filter: saturate(1.08);
}

.faq-accordion-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1.25rem 1.35rem;
  color: #f4fbff;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-accordion-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(32, 244, 255, 0.44);
  border-radius: 0.7rem;
  background: rgba(3, 8, 15, 0.72);
  color: #20f4ff;
  box-shadow: 0 0 18px rgba(32, 244, 255, 0.12);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1.35rem;
  color: #bfd7e6;
  transition: grid-template-rows 220ms ease, padding 220ms ease;
}

.faq-answer > p {
  min-height: 0;
  overflow: hidden;
  line-height: 1.75;
}

.faq-answer-open {
  grid-template-rows: 1fr;
  padding-bottom: 1.35rem;
}

.faq-form-card {
  align-self: start;
  position: sticky;
  top: 8.5rem;
}

.faq-submit-button {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(32, 244, 255, 0.72);
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(44, 129, 255, 0.95), rgba(32, 244, 255, 0.82));
  padding: 0.95rem 1.1rem;
  color: #02101b;
  box-shadow: 0 0 24px rgba(32, 244, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transform: skewX(-10deg);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.faq-submit-button:hover,
.faq-submit-button:focus-visible {
  box-shadow: 0 0 30px rgba(32, 244, 255, 0.28), 0 0 18px rgba(44, 129, 255, 0.22);
  filter: brightness(1.08);
  transform: skewX(-10deg) translateY(-1px);
}

.faq-success {
  border: 1px solid rgba(32, 244, 255, 0.35);
  border-radius: 0.85rem;
  background: rgba(32, 244, 255, 0.08);
  padding: 0.85rem 1rem;
  color: #d7fbff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 768px) {
  .site-header > div:first-child {
    gap: 0.75rem;
    padding-top: 0.55rem;
    padding-bottom: 0.45rem;
  }

  .site-header img[alt="Downforce Detailing logo"] {
    width: 7.8rem;
  }

  .nav-tab {
    padding: 0.42rem 0.72rem;
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .nav-tab-membership {
    padding: 0.48rem 0.82rem;
    font-size: 0.72rem;
  }

  .steampunk-menu {
    min-width: min(17rem, calc(100vw - 2rem));
  }

  .faq-form-card {
    position: static;
  }

  .summer-sale-bar {
    top: 6.95rem !important;
  }

  .summer-sale-bar > div {
    min-height: 32px;
    gap: 0.35rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .summer-sale-bar p:first-child {
    font-size: 0.68rem;
  }

  .summer-sale-bar p:last-child {
    font-size: 0.4rem;
    letter-spacing: 0.1em;
  }

  .summer-countdown-cell {
    gap: 0.14rem;
    padding: 0;
  }

  .summer-countdown-cell span:first-child {
    font-size: 0.66rem;
  }

  .summer-countdown-cell span:last-child {
    font-size: 0.36rem;
  }

  body::before {
    background-size: 420px auto;
    opacity: 0.14;
  }

  body::after {
    opacity: 0.26;
  }

  .home-page > section:first-child {
    padding-top: 1.8rem;
    padding-bottom: 2.8rem;
  }

  .hero-gallery-backdrop {
    opacity: 0.72;
    transform: scale(1.03);
  }

  .hero-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .hero-gallery-backdrop .gallery-wall-column {
    min-height: 100%;
  }

  .hero-gallery-backdrop .gallery-wall-track {
    gap: 0.35rem;
  }

  .hero-gallery-backdrop .gallery-wall-card {
    height: 10.5rem;
    border-radius: 0.45rem;
  }

  .hero-logo-panel {
    max-width: 100%;
    padding: 0.65rem;
  }

  .hero-logo-panel img[alt="Downforce Detailing logo"] {
    width: min(17rem, 78vw);
  }

  .hero-copy-panel {
    padding: 1.25rem;
    border-radius: 1.15rem;
  }

  .glitch-text-hero {
    font-size: clamp(2.1rem, 11vw, 3.05rem);
  }

  .glitch-text-section {
    font-size: clamp(1.75rem, 8.4vw, 2.75rem);
  }

  .hero-copy-panel .sytl-reference-text {
    max-width: 100%;
  }

  .hero-copy-panel p {
    font-size: 1rem;
  }

  .before-after-range {
    height: 0.55rem;
  }

  .gallery-wall-column {
    height: 36rem;
  }

  .gallery-wall-card {
    height: 16rem;
  }
}
