.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

body {
  background:
    linear-gradient(180deg, rgba(250, 248, 242, 0.92), rgba(244, 239, 228, 0.94)),
    #f6f4ef;
}

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

body::before {
  opacity: 0.48;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='sand'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .18'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23sand)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
  animation: sand-grain-drift 22s linear infinite;
}

body::after {
  opacity: 0.34;
  background-image:
    repeating-linear-gradient(8deg, rgba(197, 173, 120, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.32) 0 1px, transparent 1px 22px);
  background-size: 260px 260px, 320px 320px;
  mix-blend-mode: soft-light;
  animation: sand-thread-drift 34s ease-in-out infinite alternate;
}

@keyframes sand-grain-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-42px, 28px, 0);
  }
}

@keyframes sand-thread-drift {
  from {
    transform: translate3d(-8px, 0, 0);
  }

  to {
    transform: translate3d(16px, -12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

.award-badge {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 88px;
  height: 88px;
  right: clamp(28px, 4vw, 56px);
  bottom: clamp(30px, 4vw, 58px);
  background: rgba(203, 181, 117, 0.94);
  color: #fffaf0;
  font-size: 0.66rem;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(70, 57, 25, 0.2);
  outline: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 18px 34px rgba(50, 43, 28, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.34);
}

.award-badge span {
  margin-bottom: 1px;
  color: rgba(255, 250, 240, 0.92);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.award-badge strong {
  font-size: inherit;
  font-weight: 850;
  line-height: 1.08;
}

.site-header {
  width: min(100% - clamp(44px, 8vw, 120px), 1120px);
  margin: 0 auto;
  padding-inline: 0;
}

.pill-action {
  color: #fffaf0;
  background: #101d3d;
  box-shadow:
    0 16px 34px rgba(16, 29, 61, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.16);
}

.pill-action:hover {
  color: #fffaf0;
  background: #162755;
  box-shadow:
    0 18px 38px rgba(16, 29, 61, 0.23),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

.hero {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  width: min(100% - clamp(44px, 8vw, 120px), 1120px);
  min-height: auto;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0 clamp(82px, 10vw, 132px);
}

.hero-copy {
  order: 1;
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 0 0 clamp(36px, 5vw, 58px);
  text-align: center;
  transform: none;
}

.hero .section-kicker {
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 22px;
  font-size: clamp(3.65rem, 6.2vw, 5.9rem);
  line-height: 0.98;
}

.hero-subheading {
  max-width: 640px;
  margin: 0 auto 30px;
  color: rgba(95, 92, 87, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 0.18s cubic-bezier(0.2, 0, 0, 1),
    background-color 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}

.hero-button:hover {
  transform: translateY(-1px);
}

.hero-button:active {
  transform: scale(0.96);
}

.hero-button-primary {
  color: #fffaf0;
  background: #101d3d;
  box-shadow: 0 16px 36px rgba(16, 29, 61, 0.16);
}

.hero-button-secondary {
  color: rgba(95, 92, 87, 0.86);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(95, 92, 87, 0.14),
    0 12px 28px rgba(50, 43, 28, 0.06);
}

.hero-image-wrap {
  order: 2;
  width: 100%;
  height: clamp(460px, 54vw, 680px);
  min-height: 0;
  border-radius: 8px;
  box-shadow:
    0 28px 70px rgba(50, 43, 28, 0.14),
    0 1px rgba(255, 255, 255, 0.6);
}

.hero-image {
  object-position: center 42%;
}

@media (width <= 640px) {
  .site-header {
    width: 100%;
    padding: 14px 20px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-copy strong {
    max-width: 150px;
    font-size: 0.5rem;
    letter-spacing: 0.24em;
  }

  .brand-copy span {
    max-width: 150px;
    font-size: 0.46rem;
    letter-spacing: 0.15em;
  }

  .hero {
    width: calc(100% - 36px);
    padding: 36px 0 68px;
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 28px;
  }

  .hero .section-kicker {
    margin-bottom: 14px;
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 11.5vw, 3.55rem);
    line-height: 0.98;
  }

  .hero-subheading {
    max-width: 318px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.56rem;
  }

  .hero-image-wrap {
    height: 410px;
    border-radius: 8px;
  }

  .award-badge {
    width: 76px;
    height: 76px;
    right: 22px;
    bottom: 24px;
    font-size: 0.56rem;
    line-height: 1.12;
  }

  .award-badge span {
    font-size: 0.43rem;
  }
}
