@font-face {
  font-family: "Noto Sans Thai";
  src: url("/fonts/noto-sans-thai-thai-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}

:root {
  color-scheme: dark;
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  color: #f4f3ee;
  background: #101319;
}

* { box-sizing: border-box; }
body { margin: 0; }
.layout {
  display: flex;
  flex-direction: column;
  width: min(100% - clamp(2.5rem, 10vw, 10rem), 76rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}
header {
  padding: clamp(1.3rem, 3.7vh, 2.5rem) 0;
  border-bottom: 1px solid #343940;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .52em;
  font-family: system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.044em;
  color: #f7d079;
}
.wordmark::before {
  content: "";
  border-block: .43em solid transparent;
  border-left: .73em solid currentColor;
}
main {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(3rem, 12vh, 8rem) 0;
}
main::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 10% 0 10% 52%;
  background: repeating-linear-gradient(122deg, transparent 0 28px, #f7d0790b 28px 29px);
  mask-image: linear-gradient(95deg, transparent, #000 80%);
  pointer-events: none;
}
.message { max-width: 41rem; }
h1 {
  margin: 0 0 1.05rem;
  font-size: clamp(2.2rem, 6.4vw, 4.8rem);
  line-height: 1.3;
  font-weight: 750;
}
p {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.85;
  color: #bbc2ce;
}
a {
  display: inline-block;
  margin-top: 1.35rem;
  padding-block: .45rem;
  color: #f7d079;
  font-weight: 650;
  text-underline-offset: .26em;
}
a:focus-visible { outline: 2px solid #f7d079; outline-offset: .3rem; }
