:root {
  color-scheme: dark;
  --navy: #062c40;
  --teal: #125875;
  --white: #fff;
  --muted: #d5e8f0
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  min-height: 100%
}

body {
  font-family: "IBM Plex Sans Thai", sans-serif;
  background: var(--navy);
  color: var(--white)
}

.page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden
}

.backdrop,
.backdrop::before,
.backdrop::after {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.backdrop {
  z-index: -2;
  background: #125875
}

.backdrop::before,
.backdrop::after {
  content: "";
  background-size: cover;
  background-position: center right;
  animation: fade 18s infinite alternate
}

.backdrop::before {
  background-image: url('../../assets/img/ent-banner-01.png')
}

.backdrop::after {
  background-image: url('../../assets/img/ent-banner-02.png');
  animation-name: fadeIn
}

.shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 36, 56, .96) 0%, rgba(6, 48, 70, .92) 27%, rgba(11, 64, 86, .77) 47%, rgba(7, 50, 71, .31) 73%, rgba(5, 46, 66, .2) 100%), linear-gradient(0deg, rgba(3, 35, 51, .76), transparent 32%)
}

header,
main,
footer {
  width: min(1340px, calc(100% - 100px));
  margin-inline: auto
}

header {
  padding-top: 42px;
  display: flex;
  align-items: center;
  gap: 21px
}

.logo {
  width: 160px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center
}

.brand {
  border-left: 1px solid rgba(255, 255, 255, .3);
  padding-left: 20px
}

.brand strong {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 650;
  display: block;
  line-height: 1.55
}

.brand span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .025em
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 75px 90px
}

.content {
  max-width: 710px
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: #a5e2ed;
  font-weight: 750;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 13px
}

.eyebrow:before {
  content: "";
  height: 2px;
  width: 36px;
  background: #8cd1e0
}

h1 {
  font-size: clamp(58px, 8.7vw, 122px);
  line-height: 1.05;
  letter-spacing: -.065em;
  font-weight: 800;
  margin: 0 0 22px;
  text-wrap: balance
}

h1 .accent {
  color: #95dcf0
}

h2 {
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 15px
}

.description {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.95;
  color: #d5e7ed;
  max-width: 550px;
  margin: 0
}

.rule {
  height: 1px;
  background: rgba(255, 255, 255, .23);
  margin: 34px 0 25px;
  max-width: 500px
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #e4f3f7
}

.status i {
  width: 9px;
  height: 9px;
  background: #8bdccd;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(139, 220, 205, .14)
}

footer {
  padding-block: 23px 30px;
  border-top: 1px solid rgba(255, 255, 255, .19);
  font-size: 12px;
  color: #d0e4eb;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap
}

@keyframes fade {

  0%,
  44% {
    opacity: 1
  }

  55%,
  100% {
    opacity: 0
  }
}

@keyframes fadeIn {

  0%,
  44% {
    opacity: 0
  }

  55%,
  100% {
    opacity: 1
  }
}

@media(max-width:700px) {

  header,
  main,
  footer {
    width: calc(100% - 42px)
  }

  header {
    padding-top: 25px;
    gap: 13px
  }

  .logo {
    width: 94px
  }

  .brand {
    padding-left: 13px
  }

  .brand strong {
    font-size: 13px
  }

  .brand span {
    font-size: 10px
  }

  .shade {
    background: linear-gradient(90deg, rgba(4, 36, 56, .96), rgba(6, 48, 70, .88) 72%, rgba(6, 48, 70, .75)), linear-gradient(0deg, rgba(3, 35, 51, .8), transparent)
  }

  main {
    padding-block: 75px 80px
  }

  h1 {
    font-size: clamp(53px, 13vw, 85px)
  }

  .backdrop::before,
  .backdrop::after {
    background-position: 65% center
  }

  footer {
    line-height: 1.7
  }
}

@media(prefers-reduced-motion:reduce) {

  .backdrop::before,
  .backdrop::after {
    animation: none
  }

  .backdrop::after {
    opacity: 0
  }
}