.wd-page {
  background: var(--body-bg);
}

.wd-page .edge-lock-layer {
  z-index: 15;
  opacity: calc(var(--edge-opacity) * 1.2);
}

.wd-page main {
  margin-top: 62px;
  position: relative;
  z-index: 10;
}

.wd-page .hero-header,
.wd-page .site-footer {
  position: relative;
  z-index: 30;
}

.wd-page .site-footer {
  margin-top: 0;
}

.wd-header {
  z-index: 200;
}

.wd-shell {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.wd-section {
  position: relative;
  padding: clamp(52px, 6vw, 92px) 0;
  overflow: hidden;
}

.wd-section--light {
  background: transparent;
  color: #535962;
}

.wd-section--light h2,
.wd-section--light h3 {
  color: #515862;
}

.wd-section--dark {
  background: linear-gradient(98deg, #242628 0%, #1b1d20 56%, #242628 100%);
  color: #eef3f8;
}

.wd-hero {
  position: relative;
  min-height: clamp(520px, 64vh, 720px);
  display: grid;
  align-items: center;
  color: #ffffff;
  background: #0e1218;
}

.wd-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wd-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(6 10 16 / 0.78) 0%, rgb(6 10 16 / 0.56) 50%, rgb(6 10 16 / 0.76) 100%);
}

.wd-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.wd-hero__content h1 {
  margin: 0 auto;
  max-width: 1060px;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.1vw, 4.4rem);
  line-height: 1.06;
}

.wd-hero__content p {
  margin: 20px auto 0;
  width: min(980px, 94%);
  font-size: clamp(1rem, 1.2vw, 1.38rem);
  line-height: 1.5;
  color: rgb(243 248 253 / 0.94);
}

.wd-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 44px;
  z-index: 4;
  background: var(--story-bg);
  clip-path: polygon(0 30%, 10% 42%, 24% 34%, 35% 45%, 50% 32%, 65% 46%, 80% 35%, 92% 43%, 100% 32%, 100% 100%, 0 100%);
}

.wd-media {
  position: relative;
  background: linear-gradient(145deg, rgb(226 232 239 / 0.9), rgb(201 210 220 / 0.96));
  border: 1px solid rgb(118 132 148 / 0.35);
  overflow: hidden;
}

.wd-section--dark .wd-media {
  background: linear-gradient(145deg, rgb(54 63 74 / 0.75), rgb(39 45 53 / 0.88));
  border-color: rgb(169 186 206 / 0.28);
}

.wd-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wd-media--cover img {
  object-fit: cover;
}

.wd-media--contain img {
  object-fit: contain;
}

.wd-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  color: #31455f;
  line-height: 1.35;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px;
}

.wd-media__placeholder code {
  display: inline-block;
  margin-top: 6px;
  color: #1f3b5b;
}

.wd-section--dark .wd-media__placeholder {
  color: #e9f2ff;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) 0 0 / 32px 32px;
}

.wd-section--dark .wd-media__placeholder code {
  color: #ca0d00;
}

.wd-media.has-media .wd-media__placeholder {
  display: none;
}

.wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent-blue);
  padding: 12px 22px;
}

.wd-btn--solid {
  color: #ffffff;
  background: #ca0d00;
}

.wd-advantages {
  text-align: center;
}

.wd-advantages h2 {
  margin: 0 auto;
  width: min(1080px, 94%);
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.1;
}

.wd-advantages__lead {
  margin: 18px auto 0;
  width: min(1020px, 94%);
  font-size: clamp(1rem, 1.16vw, 1.3rem);
  line-height: 1.5;
}

.wd-advantages__grid {
  margin-top: clamp(34px, 3.6vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px) clamp(30px, 3.2vw, 54px);
}

.wd-advantages__grid article {
  max-width: 520px;
  margin: 0 auto;
}

.wd-icon {
  width: clamp(72px, 6.2vw, 92px);
  height: clamp(72px, 6.2vw, 92px);
  margin: 0 auto;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgb(202 13 0 / 0.12);
  border: 2px solid rgb(202 13 0 / 0.56);
  color: #ca0d00;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
}

.wd-icon svg {
  width: 58%;
  height: 58%;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wd-advantages__grid h3 {
  margin: 14px 0 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 2.1rem);
  line-height: 1.24;
}

.wd-advantages__grid p {
  margin: 10px 0 0;
  font-size: clamp(0.95rem, 1.1vw, 1.22rem);
  line-height: 1.5;
}

.wd-band {
  min-height: clamp(320px, 34vw, 500px);
  display: grid;
  align-items: center;
}

.wd-band__notch {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-bottom: 20px solid var(--story-bg);
  transform: translateX(-50%);
  z-index: 5;
}

.wd-band__bg {
  position: absolute;
  inset: 0;
}

.wd-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(5 9 14 / 0.76) 0%, rgb(5 9 14 / 0.56) 48%, rgb(5 9 14 / 0.76) 100%);
}

.wd-band__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.wd-band__content h2 {
  margin: 0;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.65rem);
  line-height: 1.1;
}

.wd-band__content p {
  margin: 18px auto 0;
  width: min(980px, 94%);
  color: rgb(238 245 253 / 0.9);
  font-size: clamp(1rem, 1.16vw, 1.3rem);
  line-height: 1.5;
}

.wd-gallery {
  padding-top: clamp(50px, 5.8vw, 84px);
}

.wd-gallery h2 {
  margin: 0;
  text-align: center;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.05vw, 3.45rem);
  line-height: 1.1;
}

.wd-gallery__lead {
  margin: 16px auto 0;
  width: min(1080px, 94%);
  text-align: center;
  font-size: clamp(1rem, 1.14vw, 1.28rem);
  line-height: 1.5;
}

.wd-gallery__grid {
  margin-top: clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wd-gallery-card {
  position: relative;
}

.wd-gallery-card .wd-media {
  min-height: clamp(320px, 36vw, 560px);
}

.wd-gallery-card h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.08rem, 1.4vw, 1.52rem);
  background: rgb(10 16 24 / 0.68);
  z-index: 2;
}

.wd-split__grid {
  display: grid;
  grid-template-columns: minmax(320px, 48%) 1fr;
  gap: clamp(34px, 3.8vw, 64px);
  align-items: center;
}

.wd-split .wd-media {
  min-height: clamp(260px, 30vw, 450px);
}

.wd-media--portrait {
  aspect-ratio: 4 / 5;
  max-height: 640px;
}

.wd-split__copy h2 {
  margin: 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.1vw, 3.5rem);
  line-height: 1.1;
}

.wd-split__copy p {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.18vw, 1.32rem);
  line-height: 1.54;
}

.wd-split__copy .wd-btn {
  margin-top: 22px;
}

.wd-centered-cta {
  margin-top: clamp(50px, 5vw, 72px);
  text-align: center;
}

.wd-centered-cta h2 {
  margin: 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.1;
}

.wd-centered-cta p {
  margin: 18px auto 0;
  width: min(1040px, 94%);
  font-size: clamp(1rem, 1.14vw, 1.26rem);
  line-height: 1.52;
}

.wd-centered-cta .wd-btn {
  margin-top: 20px;
}

.wd-final {
  padding-top: clamp(56px, 6vw, 90px);
}

.wd-split__grid--reverse {
  grid-template-columns: 1fr minmax(320px, 48%);
}

.wd-split__grid--reverse .wd-split__copy {
  order: 1;
}

@media (max-width: 1160px) {
  .wd-advantages__grid,
  .wd-gallery__grid,
  .wd-split__grid,
  .wd-split__grid--reverse {
    grid-template-columns: 1fr;
  }

  .wd-split__grid--reverse .wd-split__copy {
    order: 0;
  }
}

@media (max-width: 780px) {
  .wd-page main {
    margin-top: 44px;
  }

  .wd-section {
    padding: 42px 0;
  }

  .wd-hero {
    min-height: 460px;
  }

  .wd-hero__content h1,
  .wd-advantages h2,
  .wd-band__content h2,
  .wd-gallery h2,
  .wd-split__copy h2,
  .wd-centered-cta h2 {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .wd-hero__content p,
  .wd-advantages__lead,
  .wd-band__content p,
  .wd-gallery__lead,
  .wd-split__copy p,
  .wd-centered-cta p,
  .wd-advantages__grid p {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .wd-wave-divider {
    height: 28px;
  }
}
