:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe3ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --navy: #071426;
  --navy-2: #0d243d;
  --red: #d21f32;
  --red-dark: #aa1728;
  --cyan: #2aa7b8;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(10, 24, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 56px);
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 130px;
  height: auto;
  filter: none;
  transition: filter 180ms ease, width 180ms ease;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 700;
}

.primary-nav a {
  opacity: 0.84;
}

.primary-nav a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  opacity: 1;
  box-shadow: 0 14px 30px rgba(210, 31, 50, 0.2);
}

.nav-cta span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--red);
  background: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-active .menu-toggle {
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  overflow: hidden;
  color: var(--ink);
  background: #eef3f7;
  padding: 116px 0 34px;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.9) 0%, rgba(247, 249, 252, 0.74) 35%, rgba(247, 249, 252, 0.08) 68%, rgba(7, 20, 38, 0.28) 100%),
    linear-gradient(90deg, rgba(247, 249, 252, 0.58), rgba(247, 249, 252, 0.24) 48%, rgba(247, 249, 252, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 910px;
  padding-bottom: 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 4.9vw, 4.35rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.26;
}

.hero-copy {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
  color: #475569;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.94rem;
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.74);
}

.proof-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-top: -28px;
  border: 1px solid rgba(219, 227, 239, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.proof-grid div {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 9px;
  font-size: 1.38rem;
}

.proof-grid span {
  color: var(--muted);
  line-height: 1.42;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 88px;
}

.intro-section,
.coverage-section,
.clients-section {
  background: var(--soft);
}

.coverage-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(245, 247, 251, 0.92), rgba(245, 247, 251, 0.94)),
    url("assets/images/malaysia-map.svg") center 54% / min(980px, 110vw) auto no-repeat;
}

.coverage-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 247, 251, 1), rgba(245, 247, 251, 0.5), rgba(245, 247, 251, 1));
  pointer-events: none;
}

.coverage-section > .container {
  position: relative;
  z-index: 1;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 72px;
  align-items: start;
}

.intro-copy p,
.coverage-panel p,
.contact-layout p,
.dark-section p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.signal-row span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.capability-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.capability-card,
.project-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.capability-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(210, 31, 50, 0.32);
  box-shadow: var(--shadow);
}

.capability-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 800;
}

.capability-card p,
.project-grid span {
  color: var(--muted);
  line-height: 1.64;
}

.dark-section {
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(42, 167, 184, 0.22), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.dark-section .eyebrow {
  color: #ff5a69;
}

.dark-section p {
  color: rgba(255, 255, 255, 0.72);
}

.readiness-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 62px;
  align-items: start;
}

.readiness-list {
  display: grid;
  gap: 14px;
}

.readiness-list div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.readiness-list strong,
.readiness-list span {
  display: block;
}

.readiness-list strong {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.readiness-list span {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
}

.coverage-panel {
  padding: 34px;
  border: 1px solid rgba(219, 227, 239, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.office-card {
  position: relative;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy-2);
  line-height: 1.36;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.office-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(210, 31, 50, 0.1);
}

.office-card.featured {
  border-color: rgba(210, 31, 50, 0.22);
  background: linear-gradient(135deg, #fff, #fff7f8);
}

.office-card span,
.office-card strong,
.office-card small {
  display: block;
}

.office-card span {
  margin-bottom: 26px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.office-card strong {
  margin-bottom: 7px;
  font-size: 1.12rem;
}

.office-card small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.project-grid article {
  min-height: 190px;
}

.project-grid strong,
.project-grid span {
  display: block;
}

.project-grid strong {
  margin-bottom: 14px;
  color: var(--navy-2);
  font-size: 1.08rem;
}

.clients-container {
  display: grid;
  gap: 30px;
}

.clients-container h2 {
  max-width: 860px;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: logo-scroll 28s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 96px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.82) contrast(0.96);
  opacity: 0.92;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.logo-tile:hover img {
  filter: saturate(1) contrast(1);
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact-section {
  color: #fff;
  background: var(--navy);
}

.contact-section .eyebrow {
  color: #ff5a69;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 0.82fr 0.88fr;
  gap: 22px;
  align-items: start;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
}

.contact-card {
  display: grid;
  gap: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  font-style: normal;
}

.contact-card strong {
  font-size: 1.1rem;
}

.contact-card span,
.contact-card a {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.contact-card a:hover {
  color: #fff;
}

.map-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) contrast(1.04) saturate(0.86);
}

.map-caption {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  margin: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(7, 20, 38, 0.78);
  backdrop-filter: blur(10px);
}

.map-caption strong,
.map-caption span,
.map-caption a {
  display: block;
}

.map-caption span {
  color: rgba(255, 255, 255, 0.7);
}

.map-caption a {
  margin-top: 6px;
  color: #fff;
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.7);
  background: #040b14;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.88rem;
}

.footer-layout span:first-child {
  color: #fff;
  font-weight: 300;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 6px;
    opacity: 1;
  }

  .primary-nav a:hover {
    background: var(--soft);
  }

  .nav-cta {
    justify-content: center;
    min-height: 50px;
    margin-top: 8px;
    color: #fff;
  }

  .proof-grid,
  .capability-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .readiness-layout,
  .coverage-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 68px;
    padding: 11px 14px;
  }

  .brand-logo {
    width: 140px;
    height: auto;
  }

  .primary-nav {
    top: 68px;
    left: 12px;
    right: 12px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 104px;
  }

  .hero-media img {
    object-position: center bottom;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    margin-bottom: 56px;
  }

  .proof-grid,
  .capability-grid,
  .project-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    margin-top: 0;
  }

  .proof-grid div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .capability-card,
  .project-grid article {
    min-height: auto;
  }

  .capability-card span {
    margin-bottom: 30px;
  }

  .coverage-panel,
  .contact-card {
    padding: 24px;
  }

  .office-card {
    min-height: 122px;
  }

  .footer-layout {
    display: grid;
  }
}
