:root {
  --black: #000000;
  --dark-1: #14171a;
  --dark-2: #2a2f32;
  --red: #df1515;
  --red-accent: #e21a1a;
  --gray-copy: #505050;
  --gray-placeholder: #6f6f6f;
  --gray-address: #ababab;
  --white: #ffffff;
  --max-width: 1280px;
  --font: "IBM Plex Sans", "IBM Plex Sans Thai", -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  background: rgba(20, 23, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: padding 0.2s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-header__logo img {
  height: 24px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 24px;
  flex: 1;
}

.site-nav a {
  color: var(--white);
  font-size: 16px;
  white-space: nowrap;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
}

.lang-toggle:hover {
  border-color: var(--white);
}

.site-nav__cta {
  margin-left: auto;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 500;
}

.site-header__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__social img {
  width: 21px;
  height: 21px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 832px;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__image {
  position: absolute;
  inset: 0 0 0 8%;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 32%, rgba(0, 0, 0, 0.05) 60%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__title {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  max-width: 620px;
  margin: 0;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  width: 28px;
  opacity: 0.85;
}

/* Section shared */
.section {
  position: relative;
}

.section--light {
  background: var(--white);
}

.section--dark {
  background: var(--dark-2);
  color: var(--white);
}

.eyebrow {
  display: block;
  font-weight: 300;
  font-size: 21px;
  margin-bottom: 24px;
}

/* Services */
.services {
  padding: 96px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}

.services__heading {
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  margin: 0;
}

.services__heading b {
  font-weight: 600;
}

.services__tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.services__tabs button {
  background: none;
  border: none;
  font-size: 21px;
  font-weight: 300;
  color: var(--gray-copy);
  padding: 0 0 12px;
  border-bottom: 2px solid transparent;
}

.services__tabs button.is-active {
  color: var(--black);
  border-bottom-color: var(--red-accent);
}

.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--gray-copy);
  font-size: 24px;
  line-height: 50px;
}

/* Clients */
.clients {
  padding: 96px 0;
  text-align: center;
}

.clients__title {
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 56px;
}

.clients__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 56px;
}

.clients__grid img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.clients__grid img[src$=".png"] {
  filter: none;
  opacity: 0.9;
}

/* About */
.about {
  padding: 96px 0;
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.about__mark {
  height: 32px;
  width: auto;
  margin-bottom: 24px;
}

.about__title {
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 35px);
  line-height: 1.2;
  margin: 0 0 24px;
}

.about__copy {
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.45;
  margin: 0;
}

.about__art {
  position: relative;
  aspect-ratio: 587 / 782;
  background: var(--red);
  border-radius: 8px;
  overflow: hidden;
}

.about__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

/* Contact */
.contact {
  background: var(--dark-2);
  color: var(--white);
}

.contact .container {
  max-width: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
}

.contact__form {
  padding: 96px 64px;
}

.contact__info {
  background: var(--dark-1);
  padding: 96px 64px;
}

.contact__title {
  font-weight: 600;
  font-size: clamp(28px, 3vw, 45px);
  margin: 0 0 56px;
}

.field {
  margin-bottom: 32px;
}

.field label {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gray-placeholder);
  font-family: inherit;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  padding: 8px 0;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray-placeholder);
}

.field input:focus,
.field textarea:focus,
.field input:valid,
.field textarea:valid {
  color: var(--white);
  outline: none;
}

.contact__submit {
  margin-top: 16px;
  background: none;
  border: 2px solid var(--red);
  color: var(--white);
  border-radius: 100px;
  padding: 14px 40px;
  font-size: 20px;
}

.contact__info h3 {
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 0 0 16px;
}

.contact__info .contact__email {
  color: var(--red);
  font-size: 22px;
  display: inline-block;
  margin-bottom: 48px;
}

.contact__office {
  margin-bottom: 40px;
}

.contact__office h3 {
  margin-bottom: 12px;
}

.contact__office p {
  color: var(--gray-address);
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
}

.contact__footer {
  color: var(--gray-address);
  font-size: 19px;
  padding: 32px 64px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 78%;
    max-width: 320px;
    background: var(--dark-1);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 32px;
    gap: 24px;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__cta {
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header__social {
    display: none;
  }

  .services__grid,
  .about .container {
    grid-template-columns: 1fr;
  }

  .about__art {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .contact .container {
    grid-template-columns: 1fr;
  }

  .contact__form,
  .contact__info {
    padding: 64px 24px;
  }

  .contact__footer {
    padding: 32px 24px 40px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 640px;
  }

  .hero__image {
    left: 0;
    opacity: 0.6;
  }

  .services,
  .clients,
  .about {
    padding: 64px 0;
  }
}
