:root {
  font-family: "IBM Plex Sans Thai", sans-serif;
  color: #153528;
  background: #eef8f4;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body { min-width: 320px; }

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  z-index: -1;
  background: linear-gradient(90deg, rgba(244, 251, 255, .98) 0%, rgba(244, 251, 255, .91) 26%, rgba(244, 251, 255, .2) 52%, transparent 70%);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  width: min(100% - 64px, 1500px);
  margin-inline: auto;
}

.topbar { justify-content: space-between; padding-block: 28px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: clamp(150px, 14vw, 205px);
  height: auto;
  object-fit: contain;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(21, 53, 40, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .56);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
}

.status__dot {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff6b57;
  box-shadow: 0 0 0 4px rgba(255, 107, 87, .15);
}

.hero__content {
  align-self: center;
  width: min(100% - 64px, 1500px);
  margin-inline: auto;
  padding-block: 40px 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #e45140;
  font: 700 12px/1.4 "Outfit", sans-serif;
  letter-spacing: .17em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: .99;
  font-weight: 700;
  letter-spacing: 0;
}

h1 span {
  color: #0a7658;
  font-family: "Outfit", sans-serif;
}

.intro {
  max-width: 510px;
  margin: 24px 0 30px;
  color: #355c4e;
  font-size: 17px;
  line-height: 1.75;
}

.facebook {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 12px 14px 12px 18px;
  border-radius: 6px;
  color: white;
  background: #176b51;
  box-shadow: 0 12px 30px rgba(23, 107, 81, .22);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.facebook:hover { background: #0d5943; transform: translateY(-2px); }
.facebook:focus-visible { outline: 3px solid #ffb54a; outline-offset: 4px; }
.facebook svg { width: 21px; height: 21px; fill: currentColor; }
.facebook .arrow { margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 2; }

.footer {
  gap: 16px;
  padding-block: 22px;
  color: rgba(21, 53, 40, .66);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.footer__line { width: 44px; height: 1px; background: currentColor; }

@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero__image { object-position: 66% center; }
  .hero__veil { background: linear-gradient(180deg, rgba(244, 251, 255, .96) 0%, rgba(244, 251, 255, .9) 40%, rgba(244, 251, 255, .24) 69%, rgba(12, 43, 32, .5) 100%); }
  .topbar, .hero__content, .footer { width: min(100% - 40px, 1500px); }
  .topbar { padding-block: 20px; }
  .brand__logo { width: 152px; }
  .status { padding: 7px 9px; font-size: 11px; }
  .hero__content { align-self: start; padding-block: 54px 20px; }
  h1 { max-width: 520px; font-size: clamp(42px, 12vw, 64px); }
  .intro { max-width: 460px; margin-block: 18px 24px; font-size: 15px; line-height: 1.65; }
  .footer { color: rgba(255, 255, 255, .9); }
}

@media (max-width: 460px) {
  .brand__logo { width: 136px; }
  .status { max-width: 116px; line-height: 1.3; }
  .hero__content { padding-top: 32px; }
  .footer { gap: 8px; font-size: 9px; }
  .footer__line { width: 20px; }
}

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