:root {
  --gray-100: #f2f1ef;
  --gray-200: #efede9;
  --gray-300: #e6e3de;
  --gray-400: #dad6ce;
  --gray-500: #bdb8ad;
  --gray-600: #969186;
  --gray-700: #575249;
  --gray-800: #332f29;
  --gray-900: #161513;
  --red-900: #e94d35;
  --red-600: #e94d35;
  --red-300: #f9ab9f;
  --red-100: #fdddd9;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--gray-100);
  color: var(--gray-900);
  font-family: "Bai Jamjuree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

/* Typography (Moxa Scale) */
h1 {
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin: 0;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
}

h2 {
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin: 0;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

h3 {
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin: 0;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

h4 {
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

h5 {
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

h6 {
  margin: 0;
  font-family: "Bai Jamjuree", sans-serif;
}

p {
  margin: 0;
}

.paragraph-large {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.paragraph-regular {
  font-size: 16px;
  line-height: 32px;
}

.body-small-normal {
  font-size: 14px;
  line-height: 22px;
}

.title-gray-100 {
  color: var(--gray-100);
}

.heading-medium {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
}

.heading-detail-small {
  color: var(--red-900);
  margin: 0 0 8px;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 16px;
}

.heading-normal {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 24px;
}

.margin-top-8 {
  margin-top: 8px;
}

.margin-bottom-16 {
  margin-bottom: 16px;
}

.margin-bottom-24 {
  margin-bottom: 24px;
}

/* Containers & Layout */
.container-large {
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.container {
  z-index: 5;
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.container-footer {
  z-index: 5;
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.w-layout-grid {
  display: grid;
  grid-auto-columns: 1fr;
}

/* Navigation */
.navigation {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navigation-wrapper {
  z-index: 99;
  background-color: var(--gray-100);
  align-items: center;
  width: 100%;
  height: 96px;
  padding-left: 3%;
  padding-right: 3%;
  display: flex;
  position: relative;
  border-bottom: 1px solid rgba(22, 21, 19, 0.08);
}

.container-navigation {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.navigation-left {
  align-items: center;
  width: 35%;
  min-height: 60px;
  display: flex;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.brand-dot {
  color: var(--red-900);
}

.section-rule {
  width: 36px;
  height: 4px;
  background-color: var(--red-900);
  margin-bottom: 16px;
  display: block;
}

.headline-accent {
  color: var(--red-900);
}

.detail-sep {
  color: var(--red-900);
  font-weight: 700;
  margin-left: 10px;
  margin-right: 10px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-900);
  margin-left: 34px;
  margin-right: 34px;
  flex-shrink: 0;
  display: inline-block;
}

.menu-wrap {
  color: #283338;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 15px;
  display: flex;
}

.nav-link {
  color: var(--gray-900);
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red-900);
}

.menu-text-block {
  position: relative;
}

.navigation-menu-line {
  opacity: 0;
  background-color: var(--red-900);
  width: 100%;
  height: 2px;
  margin-top: 2px;
  transition: opacity 0.2s ease;
}

.nav-link:hover .navigation-menu-line,
.nav-link.is-active .navigation-menu-line {
  opacity: 1;
}

.navigation-right {
  justify-content: flex-end;
  align-items: center;
  width: 35%;
  min-height: 60px;
  display: flex;
  gap: 12px;
}

.menu-button {
  display: none;
  background: transparent;
  border: 1.5px solid var(--gray-900);
  color: var(--gray-900);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-drawer {
  display: none;
  width: 100%;
  background-color: var(--gray-100);
  border-bottom: 2px solid var(--gray-900);
  padding: 16px 5% 24px;
}

.mobile-drawer.is-open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer .nav-link {
  justify-content: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-300);
}

/* Buttons */
.button-primary {
  border: 1px solid var(--gray-900);
  background-color: var(--gray-900);
  color: var(--white);
  text-align: center;
  justify-content: center;
  align-items: center;
  min-width: 172px;
  min-height: 48px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  display: inline-flex;
}

.button-primary:hover {
  background-color: var(--red-900);
  border-color: var(--red-900);
}

.button-secondary {
  border: 1px solid var(--gray-900);
  color: var(--gray-900);
  background-color: transparent;
  text-align: center;
  justify-content: center;
  align-items: center;
  min-width: 138px;
  min-height: 48px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  display: inline-flex;
}

.button-secondary:hover {
  background-color: var(--gray-900);
  color: var(--white);
}

.button-secondary-small {
  border: 1px solid var(--gray-900);
  color: var(--gray-900);
  background-color: transparent;
  text-align: center;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  min-height: 40px;
  padding: 8px 25px;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  display: inline-flex;
}

.button-secondary-small:hover {
  background-color: var(--gray-900);
  color: var(--white);
}

/* Hero */
.section-hero {
  padding: 40px 5% 20px;
  position: relative;
}

.hero-grid {
  grid-column-gap: 44px;
  grid-row-gap: 44px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.hero-content {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.header-text-wrapper {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 4px;
  display: flex;
}

.header-icon {
  width: 40px;
  height: 40px;
  margin-left: 12px;
  margin-right: 12px;
}

.header-striked {
  text-decoration: line-through;
  color: var(--gray-600);
}

.header-detail-row {
  column-gap: 4px;
  row-gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 36px;
  display: flex;
}

.detail-token {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-detail-row h5 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.04em;
}

.header-small-icon {
  width: 18px;
  height: 18px;
  margin-left: 12px;
  margin-right: 12px;
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f6f4f0 0%, var(--gray-300) 75%, var(--gray-400) 100%);
  border: 2px solid var(--gray-900);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-portrait-star {
  position: absolute;
  top: 42px;
  left: 46px;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 1;
}

.hero-portrait-img {
  position: relative;
  z-index: 2;
  width: 96%;
  height: 95%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 6px 14px rgba(22, 21, 19, 0.14));
}

.hero-image {
  z-index: 5;
  width: 100%;
  max-width: 460px;
}

/* Tilted Marquee Banner */
.section-banner {
  background-color: var(--gray-100);
  padding-top: 84px;
  padding-bottom: 84px;
  overflow: hidden;
}

.banner-wrapper {
  z-index: 20;
  align-items: center;
  width: 112%;
  height: 92px;
  margin-left: -6%;
  display: flex;
  position: relative;
  overflow: hidden;
  background-color: var(--gray-900);
  transform: rotate(-3deg);
}

.banner {
  display: flex;
  width: max-content;
  animation: moxa-marquee 26s linear infinite;
}

.banner-wrapper:hover .banner {
  animation-play-state: paused;
}

.track-banner {
  flex: none;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
}

.banner-icon {
  width: 20px;
  height: 20px;
  margin-left: 34px;
  margin-right: 34px;
  flex-shrink: 0;
}

.banner-text {
  color: var(--white);
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 32px;
  white-space: nowrap;
}

@keyframes moxa-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* About Section */
.section-about {
  padding: 60px 5%;
  position: relative;
}

.grid-about-content {
  grid-column-gap: 40px;
  grid-row-gap: 32px;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
}

.name-wrapper {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  display: flex;
}

.name-wrapper h5 {
  margin-bottom: 0;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.grid-title-wrapper {
  grid-row-gap: 28px;
  grid-template-columns: 1fr;
}

.grid-title-wrapper h4 {
  margin-bottom: 0;
}

.detail-wrapper {
  column-gap: 32px;
  row-gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  display: flex;
  padding-top: 8px;
}

.detail-wrapper h5 {
  margin-bottom: 0;
  font-size: 22px;
}

/* Regular Sections & Number Bar */
.section-regular {
  padding: 60px 5%;
  position: relative;
  overflow: hidden;
}

.section-large {
  padding: 60px 5% 100px;
  position: relative;
  overflow: hidden;
}

.grid-numbers {
  grid-column-gap: 0;
  grid-row-gap: 0;
  border: 2px solid var(--gray-800);
  grid-template-columns: 1fr 1fr 1fr;
}

.number-cell {
  z-index: 2;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px 24px;
  display: flex;
  position: relative;
}

.number-cell-feature {
  z-index: 2;
  background-color: var(--gray-900);
  color: var(--white);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px 24px;
  display: flex;
  position: relative;
}

.number-large {
  margin-bottom: 8px;
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
}

/* Headings & Starburst Motif */
.heading-wrapper {
  z-index: 2;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 700px;
  margin: 0 auto 60px;
  display: flex;
  position: relative;
}

.icon-star {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.awards-icon {
  position: absolute;
  inset: auto -80px 180px auto;
  width: 175px;
  height: 175px;
  opacity: 0.9;
  pointer-events: none;
}

.customer-icon {
  width: 280px;
  height: 280px;
  position: absolute;
  inset: 40px auto auto -140px;
  pointer-events: none;
}

.article-icon {
  width: 240px;
  height: 240px;
  position: absolute;
  inset: auto -120px 180px auto;
  pointer-events: none;
}

/* Awards / Highlights List */
.card-grid {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  grid-template-columns: 1fr;
  width: 100%;
}

.award-card {
  border: 2px solid var(--gray-900);
  color: var(--gray-900);
  background-color: transparent;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 32px;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  display: flex;
}

.award-card:hover {
  background-color: var(--gray-900);
  color: var(--white);
}

.award-card:hover .award-heading {
  color: var(--white);
}

.card-content {
  align-items: center;
  display: flex;
}

.number-block {
  background-color: var(--red-900);
  color: var(--white);
  flex: none;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  margin-right: 24px;
  padding: 8px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
}

.card-content-text h5 {
  margin-bottom: 4px;
}

.date-detail-wrapper {
  column-gap: 16px;
  row-gap: 8px;
  align-items: center;
  font-weight: 600;
  display: flex;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Portfolio Projects */
.section-project {
  padding: 60px 5%;
  position: relative;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.project-item {
  grid-column-gap: 44px;
  grid-row-gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  display: grid;
}

.project-image-base {
  width: 100%;
  max-width: 460px;
  border: 2px solid var(--gray-900);
  overflow: hidden;
  background-color: var(--gray-900);
}

.project-image {
  width: 100%;
  transition: transform 0.35s ease;
}

.project-item:hover .project-image {
  transform: scale(1.03);
}

.project-content {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

.badge-category {
  background-color: var(--red-600);
  margin-bottom: 24px;
  padding: 4px 14px;
}

.project-category-text {
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.project-summary {
  margin-top: 16px;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 28px;
}

.project-link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--gray-900);
  margin-top: 28px;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: color 0.2s;
}

.project-link:hover {
  color: var(--red-900);
}

/* Skills / Services 2x2 Grid */
.service-grid {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-columns: 1fr 1fr;
}

.service-card {
  border: 2px solid var(--gray-900);
  color: var(--gray-900);
  width: 100%;
  padding: 36px 32px;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  display: block;
}

.service-card:hover {
  background-color: var(--gray-900);
  color: var(--white);
}

.service-card:hover h4 {
  color: var(--white);
}

.service-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-900);
}

/* Stack / Affiliations 4-column Tile Grid (Moxa Happy Customer) */
.grid-customer-logo {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: 48px;
}

.customer-logo {
  border: 1.5px solid var(--gray-900);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 112px;
  padding: 28px 20px;
  text-align: center;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  display: flex;
}

.customer-logo:hover {
  background-color: var(--gray-900);
  color: var(--white);
}

.customer-logo-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.customer-logo-sub {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-900);
}

/* Articles / Debate Notes */
.section-article {
  padding: 60px 5% 80px;
  position: relative;
  overflow: hidden;
}

.collection-list {
  grid-column-gap: 32px;
  grid-row-gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
  display: grid;
}

.blog-card {
  background-color: var(--gray-100);
  color: var(--gray-900);
  border: 2px solid var(--gray-900);
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding: 32px;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  display: block;
}

.blog-card:hover {
  background-color: var(--gray-200);
}

.grid-article-text {
  grid-column-gap: 40px;
  grid-row-gap: 16px;
  grid-template-columns: 1fr 1fr;
  place-items: center stretch;
  width: 100%;
  display: grid;
}

.blog-detail-wrapper {
  column-gap: 12px;
  row-gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
}

.blog-title {
  color: var(--red-900);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.blog-card h5 {
  margin-bottom: 0;
}

.blog-card p {
  font-size: 16px;
  line-height: 28px;
  color: var(--gray-700);
}

.button-article {
  border: 1px solid var(--gray-900);
  background-color: var(--gray-900);
  color: var(--white);
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 24px;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  text-decoration: none;
  transition: background-color 0.25s;
  display: flex;
}

.button-article:hover {
  background-color: var(--red-900);
  border-color: var(--red-900);
}

/* About Page Specific */
.about-hero-visual {
  margin-top: 40px;
  border: 2px solid var(--gray-900);
  overflow: hidden;
}

.about-story-grid {
  grid-column-gap: 48px;
  grid-row-gap: 32px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.about-checklist li {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-900);
  background-color: var(--gray-200);
  font-size: 16px;
  font-weight: 600;
}

/* Contact Section */
.section-contact {
  background-color: var(--white);
  padding: 72px 5% 84px;
  position: relative;
  border-top: 2px solid var(--gray-900);
}

.form-block {
  z-index: 2;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.field-label {
  color: var(--gray-900);
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-field {
  border: 2px solid var(--gray-900);
  background-color: transparent;
  min-height: 56px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 16px;
  color: var(--gray-900);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.text-field:focus {
  border-color: var(--red-900);
}

.text-field::placeholder {
  color: var(--gray-600);
  letter-spacing: 0.05em;
  font-size: 14px;
  font-weight: 500;
}

.text-field.text-area {
  min-height: 150px;
  resize: vertical;
}

.button-submit {
  color: var(--white);
  background-color: var(--red-900);
  border: 2px solid var(--red-900);
  min-width: 186px;
  min-height: 56px;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  transition: background-color 0.25s, border-color 0.25s;
}

.button-submit:hover {
  background-color: var(--gray-900);
  border-color: var(--gray-900);
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--gray-900);
  background-color: var(--gray-100);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: var(--red-900);
  background-color: var(--red-100);
  color: var(--gray-900);
}

.grid-contact {
  grid-column-gap: 32px;
  grid-row-gap: 24px;
  grid-template-columns: 1fr 1fr 1fr;
}

.contact-block {
  color: var(--white);
  text-align: center;
  background-color: var(--gray-900);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 36px 24px;
  display: flex;
}

.number-block-circle {
  background-color: var(--red-900);
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  padding: 12px;
  display: flex;
}

.heading-title {
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
}

.contact-detail-text {
  color: var(--gray-400);
  font-size: 16px;
  line-height: 26px;
}

/* Newsletter */
.section-newsletter {
  background-color: var(--gray-300);
  padding: 60px 5%;
  position: relative;
}

.newsletter-wrapper {
  column-gap: 32px;
  row-gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.newsletter-wrapper h5 {
  margin-bottom: 0;
}

.subscribe-form {
  width: 100%;
  max-width: 518px;
}

.form-wrapper {
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  display: flex;
}

.button-form {
  color: var(--gray-100);
  background-color: var(--gray-900);
  border: 2px solid var(--gray-900);
  min-width: 140px;
  min-height: 56px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  transition: background-color 0.25s, border-color 0.25s;
}

.button-form:hover {
  background-color: var(--red-900);
  border-color: var(--red-900);
}

/* Footer */
.section-footer {
  background-color: var(--gray-900);
  padding: 64px 5%;
  position: relative;
}

.grid-footer {
  grid-row-gap: 40px;
  grid-template-columns: 1fr;
  width: 100%;
}

.footer-wrapper {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  display: flex;
}

.footer-link-wrapper {
  column-gap: 14px;
  row-gap: 10px;
  flex-wrap: wrap;
  display: flex;
}

.footer-link {
  color: var(--white);
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--red-900);
}

.grid-footer-social {
  column-gap: 16px;
  display: flex;
  align-items: center;
}

.social-link {
  border: 1px solid var(--gray-600);
  border-radius: 24px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.25s, transform 0.25s;
  display: flex;
}

.social-link:hover {
  border-color: var(--white);
  transform: scale(1.12);
}

/* Modal Dialog */
dialog.editorial-modal {
  border: 2px solid var(--gray-900);
  background-color: var(--gray-100);
  color: var(--gray-900);
  max-width: 680px;
  width: calc(100% - 32px);
  padding: 36px;
  box-shadow: 12px 12px 0 var(--gray-900);
}

dialog.editorial-modal::backdrop {
  background: rgba(22, 21, 19, 0.72);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-close {
  border: 1.5px solid var(--gray-900);
  background: transparent;
  color: var(--gray-900);
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.modal-close:hover {
  background-color: var(--gray-900);
  color: var(--white);
}

.modal-body {
  font-size: 16px;
  line-height: 28px;
  color: var(--gray-800);
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.modal-chip {
  border: 1px solid var(--gray-900);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll Reveal (Progressive Enhancement) */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints (matching Moxa 991px / 767px / 479px) */
@media (max-width: 991px) {
  .hero-grid,
  .grid-about-content,
  .project-item,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .grid-customer-logo {
    grid-template-columns: 1fr 1fr;
  }

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

  .menu-wrap,
  .navigation-right .button-secondary-small {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .navigation-left,
  .navigation-right {
    width: auto;
  }

  .awards-icon,
  .customer-icon,
  .article-icon {
    display: none;
  }
}

@media (max-width: 767px) {
  .navigation-wrapper {
    height: 74px;
  }

  .section-hero {
    padding: 24px 5% 16px;
  }

  h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .header-icon {
    width: 28px;
    height: 28px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .header-detail-row {
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .header-detail-row h5 {
    font-size: 14px;
    line-height: 22px;
  }

  .header-small-icon {
    width: 14px;
    height: 14px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .hero-portrait-frame {
    max-width: 280px;
  }

  .hero-portrait-star {
    top: 28px;
    left: 32px;
    width: 22px;
    height: 22px;
  }

  h2 {
    font-size: 36px;
    line-height: 44px;
  }

  h4 {
    font-size: 26px;
    line-height: 34px;
  }

  .grid-numbers,
  .service-grid,
  .grid-article-text,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .award-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .card-content {
    flex-direction: column;
  }

  .number-block {
    margin-right: 0;
    margin-bottom: 16px;
  }

  .date-detail-wrapper {
    margin-top: 14px;
    flex-direction: column;
  }

  .form-wrapper {
    flex-direction: column;
  }

  .button-form,
  .button-secondary,
  .button-primary {
    width: 100%;
  }

  .detail-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 479px) {
  .grid-customer-logo {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .banner {
    animation: none;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
