:root {
  --bg: #0b0d0f;
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.42);
  --accent: #a9cf38;
  --accent-2: #c7e86a;
  --accent-glow: rgba(169, 207, 56, 0.3);
  --accent-deep: #7da61a;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

@font-face {
  font-family: "AvenirLTStd-Book";
  src: url("../fonts/Avenir-Black.otf");
}

body.is-loading {
  overflow: hidden;
}

body.is-ready {
  overflow: visible;
}

.pd-site-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

body.is-ready .pd-site-content {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s linear 0s;
}

.pd-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  background: #282828;
  background-size: 52px 52px, 52px 52px, auto, auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.pd-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
}

.pd-loader-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.pd-meta {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  font-family: "AvenirLTStd-Book", sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.pd-word-stack {
  position: relative;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
}

.pd-word {
  position: absolute;
  margin: 0;
  max-width: 100%;
  width: 100%;
  padding: 0 10px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  font-family: "AvenirLTStd-Book", sans-serif;
  font-size: clamp(28px, 7vw, 80px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}

.pd-word.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  color: var(--text);
  text-shadow: 0 0 20px var(--accent-glow);
}

.pd-word.exit {
  opacity: 0;
  transform: translateY(-12px);
  filter: blur(6px);
}

.pd-progress-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 30px;
}

.pd-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pd-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(169, 207, 56, 0.3);
  transition: width 0.35s ease;
}

.pd-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  gap: 12px;
}

.pd-brand-lockup {
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  width: 100%;
}

.pd-brand-lockup.show {
  opacity: 1;
  transform: translateY(0);
}

.pd-brand-name {
  font-family: "AvenirLTStd-Book", sans-serif;
  font-size: clamp(20px, 5vw, 34px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.pd-accent {
  color: var(--accent);
}

.pd-brand-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  padding: 0 10px;
}

body.is-ready .hamburger-menu,
body.is-ready .fixed-nav,
body.is-ready .navigation-menu,
body.is-ready .nav-menu,
body.is-ready .menu,
body.is-ready .menu-container {
  pointer-events: auto;
}

@media (max-width: 991px) {
  .pd-loader-inner {
    padding: 30px 16px;
  }

  .pd-word-stack {
    min-height: 84px;
  }

  .pd-word {
    font-size: clamp(24px, 8vw, 50px);
    letter-spacing: 0.05em;
  }

  .pd-brand-name {
    font-size: clamp(18px, 6vw, 28px);
    letter-spacing: 0.12em;
  }
}

@media (max-width: 640px) {
  .pd-preloader {
    padding: 0 10px;
  }

  .pd-loader-inner {
    padding: 24px 12px;
  }

  .pd-meta {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .pd-word-stack {
    min-height: 72px;
    margin-bottom: 24px;
  }

  .pd-word {
    font-size: clamp(20px, 8.5vw, 34px);
    letter-spacing: 0.04em;
    line-height: 1.15;
    padding: 0 6px;
  }

  .pd-progress-wrap {
    margin-bottom: 24px;
  }

  .pd-progress-labels {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .pd-brand-name {
    font-size: clamp(16px, 6vw, 22px);
    letter-spacing: 0.08em;
  }

  .pd-brand-sub {
    font-size: 9px;
    letter-spacing: 0.05em;
    padding: 0 6px;
  }
}

@media (max-width: 380px) {
  .pd-loader-inner {
    padding: 20px 10px;
  }

  .pd-word {
    font-size: clamp(18px, 8vw, 28px);
    letter-spacing: 0.03em;
  }

  .pd-brand-name {
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .pd-brand-sub {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
}

