.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(44, 58, 42, 0.08);
  background: rgba(251, 246, 235, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-nav {
  width: min(1120px, 92%);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--leaf-deep);
  font-family: "Viga", system-ui, sans-serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links [aria-current="page"] {
  color: var(--leaf-deep);
}

.nav-links [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.site-nav-cta {
  flex: 0 0 auto;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  background: var(--leaf-deep);
  box-shadow: 0 4px 0 #2e5c35, 0 14px 30px -12px rgba(62, 122, 70, 0.55);
  font-family: "Viga", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #2e5c35, 0 20px 36px -12px rgba(62, 122, 70, 0.6);
}

.phone {
  position: relative;
  padding: 10px;
  border-radius: 32px;
  background: #22301f;
  box-shadow: var(--shadow);
}

.phone > img,
.phone > video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: #0d130b;
}

.word-card-scene {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 400px;
  justify-self: center;
}

.word-card {
  position: absolute;
  width: var(--word-card-width, 150px);
  padding: var(--word-card-padding, 0.9rem 0.9rem 0.6rem);
  border: 1px solid rgba(44, 58, 42, 0.08);
  border-radius: 18px;
  color: var(--ink);
  background: var(--paper-card);
  box-shadow: var(--shadow);
  text-align: center;
  animation: word-card-float 7s ease-in-out infinite;
  transition: transform 0.25s ease;
}

.word-card:nth-child(1) {
  top: 4%;
  left: 8%;
  transform: rotate(-7deg);
}

.word-card:nth-child(2) {
  top: 2%;
  right: 4%;
  transform: rotate(5deg);
  animation-duration: 8s;
  animation-delay: 1s;
}

.word-card:nth-child(3) {
  bottom: 18%;
  left: 0;
  transform: rotate(4deg);
  animation-duration: 9s;
  animation-delay: 0.5s;
}

.word-card:nth-child(4) {
  right: 12%;
  bottom: 8%;
  transform: rotate(-4deg);
  animation-duration: 7.5s;
  animation-delay: 1.6s;
}

.word-card img {
  width: auto;
  height: var(--word-card-image-height, 96px);
  margin: 0 auto var(--word-card-image-gap, 0.4rem);
  object-fit: contain;
}

.word-card span {
  display: block;
  color: var(--ink);
  font-family: "Viga", system-ui, sans-serif;
  font-size: var(--word-card-font-size, 1.05rem);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.word-card:hover {
  z-index: 5;
  transform: scale(1.06) rotate(0deg) !important;
}

@keyframes word-card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .word-card {
    animation: none;
    transition: none;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .site-nav-cta {
    padding: 0.62rem 0.9rem;
    font-size: 0.88rem;
  }

  .word-card-scene {
    --word-card-width: 120px;
    --word-card-image-height: 74px;
    height: 300px;
    margin-top: 1rem;
  }
}
