/* =========================================================
   FALKCON VISION PTE. LTD. — Corporate Website
   Pure static stylesheet · no external dependencies
   ========================================================= */

:root {
  /* Unified midnight-blue palette: sections differ by only a few lightness
     steps and blend into each other with a soft gradient at their top edge. */
  --tone-deep:  #060E19;   /* footer / deepest accents */
  --tone-dark:  #0A1728;   /* dark sections, hero base */
  --tone-mid:   #142A44;   /* lighter sections */
  --tone-card:  #1A3350;   /* cards, inputs, raised surfaces */

  --ink:        #0A1728;
  --ink-2:      #0C1B2E;
  --ink-3:      #11243A;
  --gold:       #C9A961;
  --gold-2:     #E3C989;
  --gold-dark:  #C9A961;   /* legible champagne gold on deep blue */
  --paper:      #142A44;
  --paper-2:    #1A3350;
  --white:      #FFFFFF;
  --text-dark:  #EDF2F8;   /* primary text on blue */
  --muted-dark: rgba(226,236,248,.60);
  --muted-light:rgba(255,255,255,.64);
  --line-light: rgba(201,169,97,.20);
  --line-dark:  rgba(201,169,97,.24);
  --font-display: "Didot", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Helvetica Neue", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* Language visibility: body.lang-en / body.lang-zh */
body.lang-en [data-lang="zh"],
body.lang-zh [data-lang="en"] { display: none !important; }
/* Chinese typography uses a clean sans display face */
body.lang-zh .display,
body.lang-zh .hero-title { font-family: var(--font-sans); font-weight: 300; letter-spacing: .005em; }
body.lang-zh .hero-gold em { font-style: normal; font-family: var(--font-sans); }
body.lang-zh .spec strong,
body.lang-zh .project-stats strong { font-family: var(--font-sans); font-weight: 500; font-size: 1.15rem; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 44px; }
.section { padding: 132px 0; scroll-margin-top: 84px; }
/* Each section starts with the previous section's tone and settles into its
   own within the top padding area — no hard light/dark seam anywhere. */
.section-light {
  background: linear-gradient(180deg, var(--tone-dark) 0%, var(--tone-mid) 14%, var(--tone-mid) 100%);
  color: var(--text-dark);
}
.section-dark {
  background: linear-gradient(180deg, var(--tone-mid) 0%, var(--tone-dark) 14%, var(--tone-dark) 100%);
  color: var(--white);
}

/* ---------- Shared typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.section-kicker {
  display: flex; align-items: center; gap: 16px;
  font-size: .68rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 30px;
}
.kicker-num { font-family: var(--font-display); font-size: 1rem; letter-spacing: .05em; color: var(--gold-dark); }
.kicker-rule { width: 46px; height: 1px; background: var(--gold); display: inline-block; }
.kicker-light { color: var(--gold); }
.kicker-light .kicker-num { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: 68px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .section-kicker { justify-content: center; }
.section-sub { margin-top: 26px; font-size: 1.02rem; line-height: 1.9; color: var(--muted-dark); max-width: 640px; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-dark .section-sub { color: var(--muted-light); }
.lead { font-size: 1.12rem; line-height: 1.95; color: var(--text-dark); }
.section-dark .lead, .global-section .lead { color: rgba(255,255,255,.88); }
.body-copy { font-size: .95rem; line-height: 1.95; color: var(--muted-dark); margin-top: 20px; }
.section-dark .body-copy { color: var(--muted-light); }
.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 42px; padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-dark);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark); transition: gap .3s var(--ease), color .3s var(--ease);
}
.text-link:hover { gap: 20px; color: var(--gold-2); }
.text-link i { font-style: normal; font-size: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 17px 30px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn i { font-style: normal; font-size: 1rem; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost { border-color: rgba(255,255,255,.42); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-2));
  z-index: 2000; pointer-events: none;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header-top {
  height: 34px; border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(4,10,19,.5); backdrop-filter: blur(8px);
  transition: opacity .3s, height .3s;
}
.header-top-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.header-top span {
  font-size: .58rem; font-weight: 600; letter-spacing: .22em; color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.header-top-right { display: flex; align-items: center; gap: 12px; }
.tiny-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); display: inline-block; }
.header-main { border-bottom: 1px solid rgba(255,255,255,.07); transition: background .4s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.site-header.is-scrolled .header-top { height: 0; opacity: 0; overflow: hidden; border: 0; }
.site-header.is-scrolled .header-main { background: rgba(10,23,40,.94); backdrop-filter: blur(18px); border-bottom-color: var(--line-dark); box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.site-header.is-scrolled .header-inner { height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.16rem; font-weight: 700; letter-spacing: .13em; color: var(--white); }
.brand-text strong span { color: var(--gold); font-weight: 400; }
.brand-text small { margin-top: 7px; font-size: .52rem; letter-spacing: .26em; color: rgba(255,255,255,.46); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative; font-size: .72rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.78); padding: 8px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--gold); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.lang-switch { display: flex; align-items: center; gap: 7px; }
.lang-switch button {
  background: none; border: 0; padding: 4px 2px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  color: rgba(255,255,255,.45); transition: color .3s;
}
.lang-switch button:hover, .lang-switch button.is-active { color: var(--gold); }
.lang-slash { color: rgba(255,255,255,.24); font-size: .7rem; }
.btn-header {
  padding: 12px 20px; border: 1px solid var(--line-dark); color: var(--gold);
  background: rgba(201,169,97,.06); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.btn-header:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-header i { font-style: normal; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 9px 6px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 1px; width: 100%; background: var(--gold); transition: transform .3s var(--ease), opacity .3s var(--ease); }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 780px; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/hero-city.jpg") center 42% / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.11) translateX(-1.2%); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,10,20,.94) 0%, rgba(4,10,20,.78) 34%, rgba(4,10,20,.36) 68%, rgba(4,10,20,.42) 100%),
    linear-gradient(180deg, rgba(4,10,20,.55) 0%, rgba(4,10,20,0) 38%, rgba(4,10,20,.72) 100%);
}
.hero-lines { position: absolute; inset: 0; display: flex; justify-content: space-evenly; pointer-events: none; }
.hero-lines span { width: 1px; height: 100%; background: linear-gradient(180deg, transparent, rgba(201,169,97,.09) 30%, rgba(201,169,97,.09) 70%, transparent); }
.hero-inner { position: relative; z-index: 2; padding-top: 90px; }
.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; font-size: .66rem; font-weight: 700; letter-spacing: .26em; color: rgba(255,255,255,.72); text-transform: uppercase; }
.gold-rule { width: 42px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.6rem, 8.4vw, 8.6rem);
  line-height: .98; letter-spacing: -.045em; margin-bottom: 34px;
}
.hero-line { display: block; }
.hero-gold { color: var(--gold); }
.hero-gold em { font-style: italic; font-weight: 400; }
.hero-lead { max-width: 570px; font-size: 1.04rem; line-height: 1.95; color: rgba(255,255,255,.7); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero-bottom {
  position: absolute; z-index: 2; bottom: 34px; left: 0; right: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: .6rem; letter-spacing: .25em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.scroll-cue-line { width: 56px; height: 1px; background: var(--gold); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 1px; background: var(--white); animation: cueMove 2.6s linear infinite; }
@keyframes cueMove { to { left: 110%; } }
.hero-index { font-size: .62rem; letter-spacing: .2em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.hero-index span:first-child { color: var(--gold); }

/* ---------- Key figures ---------- */
.metrics-strip { background: linear-gradient(180deg, rgba(6,14,26,.55) 0%, var(--tone-dark) 26%, var(--tone-dark) 100%); border-top: 1px solid rgba(201,169,97,.10); border-bottom: 1px solid rgba(201,169,97,.10); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 46px 34px; border-right: 1px solid rgba(255,255,255,.08); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric-value { font-family: var(--font-display); font-size: 2.9rem; line-height: 1; color: var(--gold); letter-spacing: -.02em; }
.metric-label { margin-top: 12px; font-size: .67rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding-bottom: 0; }
.about-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 100px; align-items: start; }
.about-copy .lead { margin-bottom: 4px; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; padding: 28px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.about-fact { display: flex; flex-direction: column; gap: 7px; }
.about-fact > span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.about-fact strong { font-size: .78rem; font-weight: 700; letter-spacing: .05em; color: var(--text-dark); }
.about-visual { position: relative; padding: 0 26px 26px 0; }
.about-photo { position: relative; overflow: hidden; height: 660px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform 1.2s var(--ease); }
.about-visual:hover .about-photo img { transform: scale(1.04); }
.about-frame { position: absolute; top: 26px; right: 0; bottom: 0; left: 26px; border: 1px solid var(--gold); pointer-events: none; }
.about-photo-tag { position: absolute; bottom: 52px; left: -30px; background: var(--tone-deep); color: var(--gold); font-size: .6rem; font-weight: 700; letter-spacing: .2em; padding: 14px 20px; text-transform: uppercase; }
.about-vertical { position: absolute; top: 50%; right: -62px; transform: rotate(90deg) translateX(-50%); transform-origin: right center; font-size: .56rem; letter-spacing: .28em; color: var(--muted-dark); white-space: nowrap; }

.footprint-strip { margin-top: 118px; border-top: 1px solid var(--line-light); background: var(--tone-mid); }
.footprint-inner { display: flex; align-items: center; gap: 56px; min-height: 92px; }
.footprint-label { font-size: .62rem; font-weight: 700; letter-spacing: .24em; color: var(--gold-dark); white-space: nowrap; }
.footprint-items { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--text-dark); }
.footprint-items i { font-style: normal; font-size: .45rem; color: var(--gold); }
.footprint-items small { font-size: .55rem; font-weight: 600; letter-spacing: .12em; color: var(--muted-dark); }

/* =========================================================
   BUSINESS
   ========================================================= */
.business { background: radial-gradient(900px 520px at 78% 46%, rgba(58,96,140,.14), transparent 72%), linear-gradient(180deg, var(--tone-mid) 0%, var(--tone-dark) 14%, var(--tone-dark) 100%); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  position: relative; padding: 44px 38px 40px;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.1);
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
  overflow: hidden;
}
.pillar-card::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .6s var(--ease); }
.pillar-card:hover { transform: translateY(-8px); border-color: var(--line-dark); background: rgba(201,169,97,.05); }
.pillar-card:hover::before { width: 100%; }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.pillar-num { font-family: var(--font-display); font-size: 2.4rem; color: rgba(201,169,97,.34); line-height: 1; }
.pillar-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.pillar-icon img { width: 32px; height: 32px; object-fit: contain; }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 400; letter-spacing: -.01em; margin-bottom: 16px; }
body.lang-zh .pillar-card h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1.4rem; }
.pillar-card > p { font-size: .9rem; line-height: 1.9; color: var(--muted-light); min-height: 104px; }
.pillar-list { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.pillar-list li { position: relative; padding: 11px 0 11px 20px; font-size: .78rem; color: rgba(255,255,255,.66); border-bottom: 1px solid rgba(255,255,255,.06); }
.pillar-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 1px; background: var(--gold); }
.thesis { position: relative; max-width: 820px; margin: 82px auto 0; text-align: center; }
.thesis-mark { display: block; font-family: var(--font-display); font-size: 5rem; line-height: .6; color: rgba(201,169,97,.4); }
.thesis p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 2rem); font-style: italic; line-height: 1.5; color: var(--white); margin: 22px 0 24px; }
body.lang-zh .thesis p { font-family: var(--font-sans); font-style: normal; font-weight: 300; }
.thesis-sign { font-size: .6rem; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio .section-head { margin-bottom: 60px; }
.featured { display: grid; grid-template-columns: 1.06fr .94fr; gap: 64px; align-items: start; }
.featured-main { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--tone-deep); }
.featured-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease), transform .8s var(--ease); }
.featured-main.is-changing img { opacity: .35; }
.featured-caption { position: absolute; left: 0; bottom: 0; padding: 14px 22px; background: rgba(6,14,26,.86); color: rgba(255,255,255,.84); font-size: .68rem; letter-spacing: .06em; max-width: 80%; }
.featured-media-index { position: absolute; top: 18px; right: 20px; font-size: .62rem; letter-spacing: .2em; color: var(--white); background: rgba(6,14,26,.7); padding: 8px 12px; }
.featured-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border: 1px solid transparent; background: none; overflow: hidden; aspect-ratio: 4 / 2.6; opacity: .55; transition: opacity .3s var(--ease), border-color .3s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb.is-active { opacity: 1; border-color: var(--gold); }
.featured-tags { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.pill { background: var(--tone-deep); color: var(--gold); font-size: .6rem; font-weight: 700; letter-spacing: .18em; padding: 10px 16px; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .6rem; font-weight: 700; letter-spacing: .16em; color: var(--muted-dark); text-transform: uppercase; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,169,97,.18); }
.featured-content h3 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.featured-content h3 em { color: var(--gold-dark); font-style: italic; }
body.lang-zh .featured-content h3 em { font-style: normal; }
.featured-location { margin: 16px 0 22px; font-size: .62rem; font-weight: 700; letter-spacing: .15em; color: var(--gold-dark); text-transform: uppercase; }
.featured-desc { font-size: .92rem; line-height: 1.9; color: var(--muted-dark); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 30px; background: var(--line-light); border: 1px solid var(--line-light); }
.spec { background: var(--paper); padding: 20px 22px; display: flex; flex-direction: column; gap: 5px; }
.spec strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--text-dark); line-height: 1.1; }
.spec span { font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-dark); }
.featured-terms { margin-top: 26px; }
.featured-terms > div { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-light); }
.featured-terms span { flex: 0 0 108px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.featured-terms strong { font-size: .78rem; font-weight: 600; color: var(--text-dark); line-height: 1.6; }
.featured-why { margin-top: 34px; }
.featured-why h4 { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
.why-grid > div { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--gold); }
.why-grid strong { font-size: .82rem; color: var(--text-dark); }
.why-grid span { font-size: .73rem; line-height: 1.65; color: var(--muted-dark); }

.portfolio-head { display: flex; align-items: center; gap: 28px; margin: 104px 0 34px; }
.subhead { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; white-space: nowrap; }
body.lang-zh .subhead { font-family: var(--font-sans); font-weight: 300; font-size: 1.5rem; }
.hairline { flex: 1; height: 1px; background: var(--line-light); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card { background: var(--tone-card); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.project-media { position: relative; height: 252px; overflow: hidden; background: var(--tone-deep); }
.project-media > img:not(.graphic-icon) { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card:hover .project-media > img:not(.graphic-icon) { transform: scale(1.05); }
.project-media-graphic { background: radial-gradient(700px 300px at 80% 10%, rgba(58,96,140,.28), transparent 70%), linear-gradient(135deg, var(--tone-card), var(--tone-dark)); display: grid; place-items: center; }
.project-media-graphic.graphic-warm { background: radial-gradient(700px 300px at 80% 10%, rgba(150,112,54,.22), transparent 70%), linear-gradient(135deg, #213A55, var(--tone-dark)); }
.graphic-icon { position: absolute; top: 24px; right: 26px; width: 54px; height: 54px; opacity: .42; object-fit: contain; }
.graphic-word { position: absolute; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: .06em; color: rgba(201,169,97,.24); }
.project-media-tag { position: absolute; left: 20px; bottom: 18px; font-size: .58rem; font-weight: 700; letter-spacing: .18em; color: rgba(255,255,255,.82); text-transform: uppercase; }
.project-body { padding: 32px 34px 34px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.tag { background: rgba(201,169,97,.14); color: var(--gold-2); font-size: .58rem; font-weight: 700; letter-spacing: .16em; padding: 7px 11px; text-transform: uppercase; }
.tag-outline { border: 1px solid var(--line-light); color: var(--muted-dark); font-size: .58rem; font-weight: 700; letter-spacing: .16em; padding: 7px 11px; text-transform: uppercase; }
.project-body h4 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; line-height: 1.25; margin-bottom: 10px; }
body.lang-zh .project-body h4 { font-family: var(--font-sans); font-weight: 500; font-size: 1.35rem; }
.project-place { font-size: .7rem; color: var(--gold-dark); letter-spacing: .04em; margin-bottom: 14px; }
.project-desc { font-size: .84rem; line-height: 1.85; color: var(--muted-dark); flex: 1; }
.project-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.project-stats > div { display: flex; flex-direction: column; gap: 4px; }
.project-stats strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--text-dark); line-height: 1.1; }
.project-stats span { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }

.performance-band { margin-top: 60px; padding: 52px 56px; background: var(--tone-card); color: var(--white); border: 1px solid rgba(201,169,97,.14); display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.performance-band .section-kicker { margin-bottom: 18px; }
.performance-band h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 400; line-height: 1.2; }
body.lang-zh .performance-band h3 { font-family: var(--font-sans); font-weight: 300; }
.performance-band .performance-copy p { margin-top: 12px; font-size: .76rem; color: var(--muted-light); letter-spacing: .06em; }
.performance-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.performance-numbers > div { border-left: 1px solid var(--line-dark); padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.performance-numbers strong { font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 400; color: var(--gold); line-height: 1; white-space: nowrap; }
.performance-numbers small { font-size: .9rem; }
.performance-numbers span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }

/* =========================================================
   ENGINEERING
   ========================================================= */
.engineering { background: radial-gradient(800px 500px at 18% 52%, rgba(46,82,124,.10), transparent 70%), linear-gradient(180deg, var(--tone-mid) 0%, var(--tone-dark) 14%, var(--tone-dark) 100%); }
.eng-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.eng-intro .lead { margin-bottom: 20px; }
.cert-label { margin-top: 48px; margin-bottom: 18px; font-size: .62rem; font-weight: 700; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.cert-badges span { border: 1px solid var(--line-dark); padding: 9px 14px; font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: rgba(255,255,255,.72); text-transform: uppercase; transition: background .3s, color .3s; }
.cert-badges span:hover { background: var(--gold); color: var(--ink); }
.eng-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.09); }
.service { display: flex; gap: 20px; align-items: flex-start; padding: 32px 28px; background: var(--tone-dark); transition: background .4s var(--ease); }
.service:hover { background: var(--tone-card); }
.service img { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; margin-top: 3px; }
.service h4 { font-size: .98rem; font-weight: 600; letter-spacing: .01em; margin-bottom: 7px; }
.service p { font-size: .76rem; line-height: 1.7; color: var(--muted-light); }

/* =========================================================
   GLOBAL
   ========================================================= */
.global-section { position: relative; padding: 150px 0 140px; overflow: hidden; }
.global-bg { position: absolute; inset: 0; background: url("../assets/singapore-skyline.jpg") center 45% / cover no-repeat; }
.global-veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--tone-dark) 0%, rgba(8,18,32,0) 20%, rgba(8,18,32,0) 80%, var(--tone-dark) 100%), linear-gradient(90deg, rgba(6,14,26,.92), rgba(6,14,26,.74) 48%, rgba(6,14,26,.52)), linear-gradient(180deg, rgba(6,14,26,.3), rgba(6,14,26,.66)); }
.global-inner { position: relative; z-index: 1; }
.global-section .display { max-width: 900px; }
.global-lead { max-width: 640px; margin-top: 28px; font-size: 1rem; line-height: 1.9; color: rgba(255,255,255,.72); }
.global-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 76px; }
.region { display: flex; align-items: flex-start; gap: 18px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.region-code { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.region > div { display: flex; flex-direction: column; gap: 7px; }
.region strong { font-size: .7rem; font-weight: 700; letter-spacing: .2em; color: var(--white); }
.region span:not(.region-code) { font-size: .74rem; line-height: 1.6; color: var(--muted-light); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: start; }
.contact-details { margin-top: 46px; border-top: 1px solid var(--line-light); }
.contact-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-light); align-items: baseline; }
.contact-label { font-size: .63rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.contact-row strong { font-size: .9rem; font-weight: 600; line-height: 1.7; color: var(--text-dark); }
.contact-row strong a:hover { color: var(--gold-dark); }
.contact-note { margin-top: 26px; font-size: .64rem; letter-spacing: .1em; color: var(--muted-dark); }
.contact-form-wrap { background: var(--tone-card); border: 1px solid rgba(201,169,97,.14); padding: 44px 44px 38px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.form-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line-light); }
.form-head strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
body.lang-zh .form-head strong { font-family: var(--font-sans); font-weight: 300; font-size: 1.3rem; }
.form-head span { font-size: .62rem; letter-spacing: .2em; color: var(--gold-dark); }
#contactForm label { display: block; margin-bottom: 22px; }
#contactForm label > span { display: block; margin-bottom: 9px; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
#contactForm input, #contactForm textarea {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045); color: var(--text-dark); font-size: .88rem;
  border-radius: 0; outline: none; transition: border-color .3s var(--ease), background .3s var(--ease);
}
#contactForm input::placeholder, #contactForm textarea::placeholder { color: rgba(226,236,248,.42); }
#contactForm input:focus, #contactForm textarea:focus { border-color: var(--gold); background: rgba(255,255,255,.075); }
#contactForm textarea { resize: vertical; min-height: 130px; }
#contactForm input.is-invalid, #contactForm textarea.is-invalid { border-color: #E88B80; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-hint { flex: 1; min-width: 180px; font-size: .66rem; line-height: 1.6; color: var(--muted-dark); }
.form-status { margin-top: 18px; font-size: .76rem; line-height: 1.7; color: var(--gold-dark); min-height: 0; }
.form-status.is-error { color: #E88B80; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: linear-gradient(180deg, var(--tone-mid) 0%, var(--tone-deep) 18%, var(--tone-deep) 100%); color: var(--white); border-top: 1px solid rgba(201,169,97,.10); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 60px; padding: 86px 0 70px; }
.footer-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; }
.footer-logo img { width: 46px; height: 46px; object-fit: contain; }
.footer-logo strong { display: block; font-size: 1.08rem; font-weight: 700; letter-spacing: .13em; }
.footer-logo strong span { color: var(--gold); font-weight: 400; }
.footer-logo small { display: block; margin-top: 6px; font-size: .52rem; letter-spacing: .24em; color: rgba(255,255,255,.44); }
.footer-brand p { max-width: 320px; font-size: .82rem; line-height: 1.9; color: var(--muted-light); }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h5 { margin-bottom: 12px; font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.footer-col a, .footer-col span { font-size: .78rem; line-height: 1.7; color: var(--muted-light); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-col .footer-cta { margin-top: 10px; color: var(--gold); font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid rgba(255,255,255,.08); font-size: .64rem; letter-spacing: .1em; color: rgba(255,255,255,.45); }
.footer-bottom-right { display: flex; align-items: center; gap: 24px; }
.footer-bottom-right a { color: var(--gold); }
.footer-bottom-right a:hover { color: var(--white); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .hero-inner > * { opacity: 0; transform: translateY(20px); animation: heroIn .9s var(--ease) forwards; }
html.js .hero-eyebrow { animation-delay: .15s; }
html.js .hero-title { animation-delay: .3s; }
html.js .hero-lead { animation-delay: .48s; }
html.js .hero-buttons { animation-delay: .62s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .nav { gap: 22px; }
  .about-grid, .eng-grid, .contact-grid { gap: 60px; }
  .about-photo { height: 580px; }
  .about-vertical { display: none; }
  .featured { gap: 44px; }
  .footer-top { gap: 36px; }
}

@media (max-width: 980px) {
  .header-top { display: none; }
  .header-inner, .site-header.is-scrolled .header-inner { height: 72px; }
  .menu-toggle { display: flex; }
  .btn-header { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6,14,26,.98); border-bottom: 1px solid var(--line-dark);
    padding: 14px 32px 28px; backdrop-filter: blur(18px);
  }
  body.menu-open .nav { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .78rem; }
  .nav a::after { display: none; }
  .hero { min-height: 700px; height: auto; padding: 180px 0 140px; }
  .hero-inner { padding-top: 0; }
  .hero-bottom { display: none; }
  .section { padding: 100px 0; }
  .about { padding-bottom: 0; }
  .about-grid, .eng-grid, .contact-grid, .featured, .performance-band { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; margin-top: 56px; }
  .about-photo { height: 520px; }
  .about-photo-tag { left: 0; }
  .footprint-strip { margin-top: 84px; }
  .footprint-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 26px 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card > p { min-height: 0; }
  .featured-media { max-width: 100%; }
  .featured-content { margin-top: 20px; }
  .portfolio-head { margin-top: 76px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-media { height: 280px; }
  .performance-band { gap: 40px; padding: 44px 38px; }
  .eng-services { grid-template-columns: 1fr 1fr; }
  .global-section { padding: 110px 0; }
  .global-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 54px; }
  .contact-form-wrap { max-width: 680px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 44px; padding: 66px 0 50px; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .brand img { width: 36px; height: 36px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text small { font-size: .46rem; letter-spacing: .18em; }
  .header-actions { gap: 12px; }
  .lang-switch button { font-size: .66rem; }
  .hero { min-height: 0; padding: 158px 0 96px; }
  .hero-eyebrow { font-size: .56rem; letter-spacing: .18em; gap: 10px; }
  .gold-rule { width: 24px; }
  .hero-title { font-size: clamp(3rem, 13vw, 4.4rem); margin-bottom: 26px; }
  .hero-lead { font-size: .92rem; line-height: 1.85; }
  .hero-buttons { gap: 12px; margin-top: 34px; }
  .btn { padding: 15px 22px; font-size: .7rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 28px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { border-bottom: 0; }
  .metric:first-child { padding-left: 18px; }
  .metric-value { font-size: 2.2rem; }
  .section { padding: 78px 0; }
  .display { font-size: clamp(2rem, 9vw, 2.7rem); }
  .section-kicker { margin-bottom: 22px; font-size: .6rem; letter-spacing: .2em; }
  .section-head { margin-bottom: 44px; }
  .lead { font-size: 1rem; }
  .about-facts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-fact:last-child { grid-column: 1 / -1; }
  .about-photo { height: 420px; }
  .about-visual { padding: 0 16px 16px 0; margin-top: 44px; }
  .about-frame { top: 16px; left: 16px; }
  .about-photo-tag { bottom: 30px; font-size: .52rem; padding: 10px 14px; }
  .footprint-items { gap: 14px; font-size: .64rem; }
  .pillar-card { padding: 32px 26px 30px; }
  .pillar-card h3 { font-size: 1.4rem; }
  .thesis { margin-top: 54px; }
  .featured-main { aspect-ratio: 4 / 3; }
  .featured-thumbs { gap: 6px; }
  .featured-content h3 { font-size: 2rem; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec { padding: 15px 14px; }
  .spec strong { font-size: 1.25rem; }
  .featured-terms > div { flex-direction: column; gap: 4px; }
  .featured-terms span { flex: none; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .project-body { padding: 26px 24px 28px; }
  .project-media { height: 210px; }
  .performance-band { padding: 34px 24px; }
  .performance-numbers { grid-template-columns: 1fr; gap: 18px; }
  .performance-numbers > div { border-left: 0; border-top: 1px solid var(--line-dark); padding: 16px 0 0; }
  .eng-services { grid-template-columns: 1fr; }
  .service { padding: 26px 22px; }
  .global-section { padding: 88px 0; }
  .global-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 52px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-form-wrap { padding: 30px 24px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom-right { flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .hero-inner > * { opacity: 1; transform: none; }
}
