:root {
  --red: #b3202c;
  --deep-green: #123d36;
  --gold: #c99a37;
  --cream: #fcfbf7;
  --ink: #18312b;
  --muted: #64736e;
  --line: #dbe4df;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
.serif {
  font-family: "Playfair Display", serif;
}
.ppni-shell {
  width: 100%;
}
.nav-glass {
  background: rgba(18, 61, 54, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.nav-solid {
  background: rgba(252, 251, 247, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(18, 61, 54, 0.08);
}
.nav-solid .nav-link,
.nav-solid .brand-word {
  color: var(--deep-green);
}
.nav-solid .nav-mark {
  border-color: var(--red);
  color: var(--red);
}
.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-image {
  transform: scale(1.06);
  transition: transform 6s ease;
}
.hero-slide.is-active .hero-image {
  transform: scale(1);
}
.hero-overlay {
  background: linear-gradient(
    100deg,
    rgba(18, 61, 54, 0.94) 0%,
    rgba(18, 61, 54, 0.73) 42%,
    rgba(179, 32, 44, 0.4) 100%
  );
}
.hero-copy {
  animation: heroIn 0.8s 0.12s both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section-line {
  width: 68px;
  height: 3px;
  background: var(--gold);
}
.gold-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.card-lift {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.card-lift:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 42px rgba(18, 61, 54, 0.14);
}
.image-zoom {
  transition: transform 0.55s ease;
}
.card-lift:hover .image-zoom {
  transform: scale(1.07);
}
.btn-red {
  background: var(--red);
  color: white;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.btn-red:hover {
  background: #921a24;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(179, 32, 44, 0.23);
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: white;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}
.quick-item {
  transition:
    color 0.2s,
    transform 0.2s,
    background 0.2s;
}
.quick-item:hover {
  color: var(--red);
  transform: translateY(-3px);
  background: #fff;
}
.mobile-menu {
  transform: translateX(105%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}
.qr-grid {
  background-image:
    linear-gradient(
      90deg,
      #173d36 18%,
      transparent 18%,
      transparent 50%,
      #173d36 50%,
      #173d36 68%,
      transparent 68%
    ),
    linear-gradient(
      #173d36 18%,
      transparent 18%,
      transparent 50%,
      #173d36 50%,
      #173d36 68%,
      transparent 68%
    );
  background-size: 13px 13px;
  background-position:
    0 0,
    6px 6px;
}
.loading-ring {
  width: 28px;
  height: 28px;
  border: 3px solid #dbe4df;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#splash {
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#splash.hide {
  opacity: 0;
  visibility: hidden;
}
.stat-number {
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
