@font-face {
  font-family: "Pretendard";
  src: url("/fonts/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pretendard";
  src: url("/fonts/Pretendard-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #061225;
  --navy-2: #081630;
  --blue: #2768fa;
  --cyan: #00cff3;
  --blue-soft: #dff4ff;
  --violet: #8657f4;
  --white: #ffffff;
  --ink: #101929;
  --muted: #6a7894;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 60px rgba(5, 11, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 11, 24, 0.78), rgba(5, 11, 24, 0));
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 11, 24, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  width: 180px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(80, 218, 255, 0.28));
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a,
.header-cta,
.primary-cta,
.secondary-cta,
.inline-cta {
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.inline-cta:hover {
  color: #69eaff;
}

.header-cta,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--navy);
}

.hero-video,
.hero-fallback,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-fallback {
  background: url("/assets/hero-singapore-poster.webp") center / cover no-repeat;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.hero-video + .hero-fallback {
  display: block;
}

.hero.is-video-playing .hero-fallback { opacity: 0; }

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 18, 37, 0.66), rgba(6, 18, 37, 0.16) 65%, rgba(6, 18, 37, 0.06)),
    linear-gradient(180deg, rgba(6, 18, 37, 0.08), rgba(6, 18, 37, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 112px));
  margin: 0 auto;
  padding: 120px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: 80px;
  line-height: 1.2;
  font-weight: 800;
  word-break: keep-all;
}

.hero-subtitle {
  margin: 26px 0 0;
  font-size: 25px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.primary-cta {
  padding: 0 24px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 28px rgba(39, 104, 250, 0.2);
}

.secondary-cta {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.primary-cta:hover,
.secondary-cta:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 18px;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 9px auto;
  border-radius: 8px;
  background: var(--white);
  animation: cue 1.6s infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-inner {
  width: min(1400px, calc(100% - 112px));
  margin: 0 auto;
}

.section-light {
  background: linear-gradient(180deg, #f8fcff, var(--blue-soft));
}

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

.intro-grid,
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.35;
  font-weight: 800;
  word-break: keep-all;
}

.intro-copy p {
  margin: 0;
  color: #40516d;
  font-size: 18px;
  line-height: 1.75;
}

.inline-cta {
  display: inline-flex;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 800;
}

.metrics {
  padding: 44px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #b4c9f02b;
}

.metrics article {
  --highlight-accent: #58e5ed;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 256px;
  padding: 28px;
  background: #0b1a30;
  transition: background-color 220ms ease;
}

.metrics article + article { border-left: 1px solid #b4c9f02b; }
.metrics .highlight-projects { --highlight-accent: #6a9eff; }
.metrics .highlight-future { --highlight-accent: #b393ff; }
.metrics article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  background: var(--highlight-accent);
  opacity: .6;
  transition: opacity 220ms ease, box-shadow 220ms ease;
}
.metrics article:hover, .metrics article:focus-visible { background: #10213a; }
.metrics article:focus-visible { outline: 2px solid var(--highlight-accent); outline-offset: -2px; }
.metrics article:hover::after, .metrics article:focus-visible::after { opacity: 1; box-shadow: 0 0 10px var(--highlight-accent); }
.metrics .metric-art {
  position: absolute;
  z-index: -1;
  top: 4px;
  right: 12px;
  width: min(46%, 192px);
  height: 128px;
  color: var(--highlight-accent);
  opacity: .85;
  pointer-events: none;
}
.metrics .metric-grid-lines { stroke: currentColor; stroke-width: .7; opacity: .13; }
.metrics .metric-label {
  display: block;
  color: var(--highlight-accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 12px;
}

.metrics .metric-number {
  display: block;
  font-size: 54px;
  line-height: 1.2;
  height: 65px;
  color: var(--highlight-accent);
  transition: text-shadow 220ms ease;
}
.metrics article:hover .metric-number, .metrics article:focus-visible .metric-number { text-shadow: 0 0 16px color-mix(in srgb, var(--highlight-accent) 28%, transparent); }
.metrics h3 { margin: 14px 0 8px; color: #f1f6ff; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.metrics p { margin: 0; color: #bbc9df; font-size: 14px; line-height: 1.6; word-break: keep-all; }
@media (max-width: 860px) {
  .metrics article { padding: 24px 18px; }
  .metrics .metric-art { right: 6px; height: 116px; }
  .metrics h3 { font-size: 18px; }
  .metrics p { font-size: 13px; }
  .metrics article::after { left: 18px; right: 18px; }
}
@media (max-width: 520px) {
  .metrics .metrics-grid { grid-template-columns: 1fr; }
  .metrics article { padding: 28px; min-height: 256px; }
  .metrics article + article { border-left: 0; border-top: 1px solid #b4c9f02b; }
  .metrics h3 { font-size: 20px; }
  .metrics p { font-size: 14px; }
  .metrics article::after { left: 28px; right: 28px; }
}

.section-heading {
  max-width: 920px;
  margin-bottom: 40px;
}

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

.project-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 18, 37, 0.45) 55%, rgba(6, 18, 37, 0.96));
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.045);
}

.project-card-body {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 30px;
  color: var(--white);
}

.project-card-body span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #67eaff;
  font-weight: 800;
}

.project-card-body h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.project-card-body p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.58;
}

.project-card-wide {
  grid-column: span 3;
  min-height: 360px;
}

.closing-grid .primary-cta {
  justify-self: end;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .brand {
    width: 132px;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(5, 11, 24, 0.94);
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px 10px;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
  }

  .hero h1 {
    font-size: 56px;
  }

  .intro-grid,
  .closing-grid,
  .metrics-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-wide {
    grid-column: auto;
    min-height: 390px;
  }

  .closing-grid .primary-cta {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section-inner {
    width: calc(100% - 40px);
  }

  .project-card {
    min-height: 360px;
  }

  .project-card-body {
    padding: 20px;
  }
}

.mobile-explore { display: none; }
.hero .eyebrow { color: var(--cyan); }
.vision-description { color: #40516d; font-size: 18px; line-height: 1.8; max-width: 630px; margin: 28px 0 0; word-break: keep-all; }
.inline-cta { gap: 16px; }
.brand-motion { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); border-radius: 4px; }
.brand-motion video, .brand-motion .motion-static { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brand-motion .motion-static { padding: 32px; }
.brand-motion video { opacity: 0; transition: opacity 250ms ease; }
.brand-motion.is-playing video { opacity: 1; }
.project-card-body small { display: block; margin-top: 10px; font-size: 12px; color: #b8d3ff; font-weight: 800; }
.project-card-body p { max-width: calc(100% - 30px); font-size: 15px; word-break: keep-all; }
.project-detail { position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border: 1px solid #ffffff66; border-radius: 50%; color: white; background: #06122580; font-size: 24px; cursor: pointer; }
.project-detail:hover { background: var(--blue); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
.closing { position: relative; overflow: hidden; padding: 140px 0; }
.closing-media { position: absolute; inset: 0; height: 100%; width: 100%; aspect-ratio: auto; opacity: 0.45; border-radius: 0; }
.closing-media video, .closing-media .motion-static { object-fit: cover; padding: 0; }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #061225f5, #06122595); pointer-events: none; }
.closing-grid { position: relative; z-index: 2; }
.closing h2 { font-size: 52px; }
.closing .section-kicker { color: var(--cyan); }
.closing-signature { color: #b8cbe4; margin: 28px 0 0; font-size: 17px; }
.contact-status { justify-self: end; border-left: 2px solid var(--violet); padding-left: 28px; }
.contact-status span { font-size: 18px; }
.contact-status p { color: #b8cbe4; margin: 16px 0 24px; }
.site-footer { background: #040d1d; color: #a7b9d1; padding: 30px 0; font-size: 12px; }
.site-footer .section-inner { display: flex; align-items: center; gap: 28px; }
.site-footer strong { color: white; font-size: 20px; }
.site-footer a { margin-left: auto; padding: 12px 0; }
.project-dialog { width: min(560px, calc(100% - 40px)); padding: 48px 32px 32px; border: 0; border-radius: 8px; color: var(--ink); background: #f3f8ff; }
.project-dialog::backdrop { background: #061225bb; backdrop-filter: blur(6px); }
.project-dialog h2 { font-size: 32px; }
.project-dialog > p:not(.section-kicker) { line-height: 1.8; }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; background: transparent; border: 0; font-size: 30px; cursor: pointer; }
@media (max-width: 1200px) {
  .hero h1 { font-size: 64px; }
  h2 { font-size: 36px; }
  .project-card { min-height: 430px; }
  .project-card-body { padding: 24px; }
  .intro-grid { gap: 40px; }
}
@media (max-width: 860px) {
  .mobile-explore { display: block; }
  .section-inner { width: calc(100% - 48px); }
  .hero-content { width: calc(100% - 48px); }
  .hero h1 { font-size: 56px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card-wide { grid-column: span 2; }
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-motion { max-width: 680px; }
  .contact-status { justify-self: start; }
  .closing h2 { font-size: 42px; }
}
@media (max-width: 520px) {
  .hero-content, .section-inner { width: calc(100% - 40px); }
  .hero h1 { font-size: 38px; line-height: 1.28; }
  .hero-subtitle { font-size: 19px; }
  .hero-actions { flex-direction: row; gap: 10px; }
  .hero-actions a { width: auto; padding: 0 16px; font-size: 14px; min-height: 48px; }
  h2 { font-size: 30px; }
  .intro h2 br { display: none; }
  .vision-description { font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-card, .project-card-wide { grid-column: auto; min-height: 440px; }
  .project-card-wide img { object-position: 58% center; }
  .project-card-body h3 { font-size: 30px; }
  .closing { padding: 96px 0; }
  .closing h2 { font-size: 34px; }
  .closing-signature { font-size: 14px; }
  .site-footer .section-inner { flex-wrap: wrap; gap: 16px; }
  .brand { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .brand-motion video, .hero-video { display: none; }
  .project-card:hover img, .project-card:focus-within img { transform: none; }
}

.language-switch { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.language-switch button { border: 0; background: transparent; color: #b3c2d9; font: inherit; font-size: 12px; font-weight: 800; min-height: 44px; min-width: 44px; cursor: pointer; padding: 0; }
.language-switch button[aria-pressed="true"] { color: white; box-shadow: inset 0 -2px var(--cyan); }
.language-switch span { color: #7d91b2; font-size: 12px; }
html[lang="en"] .hero h1 { font-size: 76px; max-width: 1030px; line-height: 1.15; }
html[lang="en"] .intro h2 { font-size: 38px; }
html[lang="en"] .project-card-body h3 { font-size: 28px; overflow-wrap: anywhere; }
.project-card-body p { max-width: calc(100% - 48px); }
html[lang="en"] .project-card-body p { word-break: normal; }
html[lang="en"] .project-card-body small { font-size: 13px; line-height: 1.5; }
@media (min-width: 861px) and (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 12px; }
  .language-switch { grid-column: 2; grid-row: 1; }
  .menu-toggle { display: block; grid-column: 3; grid-row: 1; }
  .header-cta { display: none; }
  .nav-links { position: absolute; top: 100%; left: 18px; right: 18px; display: none; flex-direction: column; gap: 0; padding: 12px; border: 1px solid #ffffff29; border-radius: 8px; background: #061225f5; }
  .site-header.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 10px; }
  .mobile-explore { display: block; }
}
@media (max-width: 1100px) { .nav-links { max-height: calc(100dvh - 120px); overflow-y: auto; } }
@media (max-width: 1200px) {
  html[lang="en"] .hero h1 { font-size: 60px; }
  html[lang="en"] .intro h2 { font-size: 34px; }
  .site-header { gap: 14px; }
}
@media (max-width: 860px) {
  .language-switch { grid-column: 2; grid-row: 1; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  html[lang="en"] .hero h1 { font-size: 54px; }
}
@media (max-width: 520px) {
  .site-header { gap: 8px; }
  .brand { width: 130px; }
  html[lang="en"] .hero h1 { font-size: 42px; line-height: 1.18; max-width: 350px; }
  html[lang="en"] .intro h2 { font-size: 30px; }
  html[lang="en"] .hero-actions { flex-direction: column; align-items: flex-start; }
  html[lang="en"] .hero-actions a { min-width: 188px; min-height: 48px; font-size: 15px; }
  html[lang="en"] .project-card-body h3 { font-size: 27px; }
  .hero-video, .hero-fallback { object-position: 65% center; background-position: 65% center; }
  .contact-status { max-width: 100%; }
}
