:root {
  --dark: #060717;
  --ink: #111421;
  --heading: "Sarabun", Arial, sans-serif;
  --body: "Quattrocento Sans", Arial, sans-serif;
  --max: 1080px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 18px/1.5 var(--body);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2b8ed5;
}
button,
input,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 2px solid #3c9fe7;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.2;
}
p + p {
  margin-top: 1em;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(80%, var(--max));
  margin-inline: auto;
}
.section-title {
  font-size: clamp(34px, 5vw, 55px);
  font-weight: 700;
}

.masthead {
  min-height: 131px;
  display: grid;
  justify-items: center;
  align-content: start;
  background: var(--dark);
  color: #9aa7af;
}
.masthead a {
  display: grid;
  align-items: start;
  justify-items: center;
  height: 100px;
  padding-top: 4px;
}
.masthead img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.wordmark {
  font:
    400 26px/1 Montserrat,
    Arial,
    sans-serif;
}
.wordmark-cursor {
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero,
.services,
.work-heading,
.commitment,
.contact {
  background-color: var(--dark);
  color: #fff;
}
.hero {
  min-height: 738px;
  background-image:
    radial-gradient(ellipse 240px 340px at 56% 55%, #242366b0, transparent 85%),
    radial-gradient(ellipse 220px 260px at 58% 24%, #562142ad, transparent 87%);
}
.hero-inner {
  min-height: 660px;
  position: relative;
  padding-top: 81px;
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
}
.hero-art {
  position: absolute;
  width: min(32%, 338px);
  aspect-ratio: 338 / 520;
  left: 35.2%;
  top: 156px;
}
.hero-art img {
  position: absolute;
}
.hero-gradient {
  width: 82%;
  left: 0;
  bottom: 0;
}
.hero-monitor {
  width: 82%;
  left: 14%;
  top: 8%;
  border-radius: 0 28% 0 28%;
  aspect-ratio: 374 / 549;
  object-fit: cover;
}
.hero-triangle {
  width: 21%;
  left: 4%;
  top: 2%;
}
.hero-orb {
  width: 21%;
  right: -5%;
  bottom: 5%;
}
.hero-dots {
  position: absolute;
  width: 123px;
  right: 9%;
  top: 299px;
}
.hero-copy {
  position: absolute;
  width: min(29.7%, 320px);
  right: 0;
  top: 458px;
}
.hero-copy h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 8px;
}
.hero-copy p {
  max-width: 295px;
  margin-left: 30px;
  color: #b9bac6;
  font:
    400 clamp(20px, 1.8vw, 27px) / 1.35 Montserrat,
    Arial,
    sans-serif;
}
.learn {
  display: none;
  width: min(94%, 1320px);
  margin: auto;
  padding: 12px 0 30px;
}
.learn a {
  color: #ffcb26;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
}
.learn a:hover {
  text-decoration: underline;
}

.services {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: 5.1%;
  padding: 47px 0 81px;
}
.service-images {
  display: grid;
  align-content: start;
  gap: 42px;
}
.service-images img {
  width: 100%;
}
.service-copy {
  max-width: 940px;
  padding: 74px max(24px, 4.2vw) 0 0;
  font-weight: 700;
}
.service-copy h2 {
  margin-bottom: 12px;
}
.service-copy .lead {
  font-family: var(--heading);
  font-size: 23px;
  margin-top: 38px;
}
.about {
  background: #fff;
}
.about-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 130px;
  gap: 54px;
  min-height: 477px;
  align-content: start;
  padding-block: 80px 56px;
}
.profile {
  border-radius: 50%;
}
.about-copy .lead {
  font: 500 24px/1.45 var(--heading);
  margin-top: 35px;
}
.about-logos {
  display: grid;
  gap: 24px;
  justify-items: center;
  align-content: start;
}
.about-logos img:first-child {
  border-radius: 50%;
  box-shadow: 0 8px 14px #0004;
}

.work-heading {
  padding: 80px 0 68px;
  background-image:
    radial-gradient(ellipse 16% 140% at 63% 0%, #242366a0, transparent 80%),
    radial-gradient(ellipse 20% 105% at 70% 16%, #5423508a, transparent 75%);
}
.work-heading p {
  margin-top: 10px;
}
.work {
  padding: 65px 0 86px;
  background: #f7f4fb;
}
.work-grid {
  width: min(92%, 1360px);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px clamp(20px, 3.5vw, 52px);
}
.project {
  min-width: 0;
  text-align: center;
}
.monitor {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1500 / 1253;
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  touch-action: pan-y pinch-zoom;
}
.monitor[aria-disabled="false"] {
  cursor: pointer;
}
.monitor-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.monitor-window {
  position: absolute;
  inset: 6.3% 5.53% 33.6%;
  overflow: hidden;
  background: #111;
}
.monitor-page {
  display: block;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  transform: translateY(0);
  transition: transform 0.55s ease-out;
}
.monitor.is-previewing .monitor-page {
  transform: translateY(var(--preview-distance, 0px));
}
@media (prefers-reduced-motion: no-preference) {
  .monitor.is-previewing .monitor-page {
    transform: translateY(var(--preview-distance, 0px));
    transition: transform var(--preview-duration, 12s) linear;
  }
  @media (hover: hover) {
    .monitor[aria-disabled="false"]:hover .monitor-page {
      transform: translateY(var(--preview-distance, 0px));
      transition: transform var(--preview-duration, 12s) linear;
    }
  }
}
.project-name {
  display: inline-block;
  margin-top: 12px;
  color: #235f9e;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration-color: #8da8c4;
  text-underline-offset: 0.24em;
}
.project-name:hover {
  color: #123c69;
  text-decoration-color: currentColor;
}
.monitor-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 7px;
}
.monitor-pages button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d6d0e1;
  border-radius: 50%;
  background: transparent;
  color: #282a3e;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.monitor-pages button:hover {
  background: #eae2f5;
}
.monitor-pages output {
  min-width: 40px;
  color: #50475e;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.commitment {
  padding: 74px 0 22px;
  text-align: center;
}
.commitment ul {
  margin: 18px auto 0;
  padding: 0;
  list-style-position: inside;
  line-height: 1.4;
}
.contact {
  padding: 78px 0 130px;
  background-image:
    radial-gradient(ellipse 29% 48% at 61% 58%, #6d168ba8, transparent 80%),
    radial-gradient(ellipse 20% 44% at 58% 57%, #ad247c91, transparent 85%);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: 38px;
  align-items: center;
}
.contact-copy > p {
  margin-top: 4px;
  color: #cccbd4;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 15px;
}
.contact-form :is(input, textarea) {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 14px 16px;
  color: #333;
  background: #eee;
  font-size: 15px;
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-wide {
  grid-column: 1 / -1;
}
.contact-form button {
  justify-self: end;
  padding: 4px 15px;
  border: 2px solid #1a95c2;
  border-radius: 20px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.contact-form button:hover {
  background: #17314b;
}
.form-note {
  margin-top: 12px;
  color: #d5d5e3;
  font-size: 14px;
}
.form-note a {
  color: #8bcfff;
}
.social {
  justify-self: center;
  align-self: start;
  margin-top: 98px;
  padding: 11px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f32958;
  color: #fff;
}
.social svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 610px;
  }
  .hero-inner {
    min-height: 550px;
  }
  .hero-art {
    top: 149px;
    width: 35%;
  }
  .hero-dots {
    top: 220px;
    right: 3%;
    width: 85px;
  }
  .hero-copy {
    top: 340px;
    right: -5%;
  }
  .services {
    gap: 5%;
  }
  .service-copy {
    padding-top: 22px;
  }
  .about-inner {
    grid-template-columns: 110px minmax(0, 1fr) 80px;
    gap: 25px;
    min-height: auto;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .container {
    width: 80%;
  }
  .masthead {
    min-height: 95px;
  }
  .masthead a {
    height: 59px;
    padding-top: 7px;
  }
  .masthead img {
    width: 21px;
    height: 21px;
  }
  .wordmark {
    font-size: 29px;
  }
  .hero {
    min-height: 0;
    background-image:
      radial-gradient(ellipse 78% 53% at 45% 39%, #291444, transparent 95%),
      radial-gradient(ellipse 90% 30% at 35% 12%, #441433, transparent 93%);
  }
  .hero-inner {
    min-height: 0;
    padding-top: 78px;
  }
  .hero h1 {
    font-size: clamp(34px, 10.4vw, 55px);
  }
  .hero-art {
    position: relative;
    inset: auto;
    width: 104%;
    margin: -2px 0 0;
  }
  .hero-dots {
    position: static;
    width: 122px;
    margin: 20px auto 26px;
  }
  .hero-copy {
    position: static;
    width: auto;
    margin-bottom: 105px;
  }
  .hero-copy h2 {
    font-size: 33px;
  }
  .hero-copy p {
    max-width: none;
    margin-left: 0;
    text-align: center;
    font-size: 18px;
  }
  .learn {
    display: block;
    padding-inline: 5%;
    padding-bottom: 34px;
  }
  .services {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 0 54px;
  }
  .service-images {
    gap: 25px;
  }
  .service-copy {
    padding: 0;
    width: 80%;
    margin: auto;
  }
  .about-inner {
    grid-template-columns: 1fr;
    padding-block: 52px;
  }
  .profile {
    width: 132px;
  }
  .about-logos {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
  }
  .about-logos img {
    max-width: 75px;
  }
  .work-heading {
    padding: 56px 0;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .work {
    padding-block: 42px;
  }
  .commitment {
    padding-top: 54px;
  }
  .contact {
    padding: 58px 0 70px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .social {
    justify-self: start;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wordmark-cursor {
    animation: none;
  }
  .monitor .monitor-page {
    transition: none;
  }
}
