﻿
:root {
  --ink: #141816;
  --soft-ink: #39443d;
  --muted: #68736d;
  --paper: #f8f4ec;
  --line: rgba(20, 24, 22, 0.13);
  --teal: #0d7d66;
  --teal-deep: #075342;
  --gold: #c4983e;
  --rose: #d98f92;
  --coral: #c95d4c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(116deg, rgba(13, 125, 102, 0.12), transparent 34%),
    linear-gradient(302deg, rgba(201, 93, 76, 0.11), transparent 38%),
    linear-gradient(180deg, #fffaf0 0%, #eef6f2 52%, #f8f4ec 100%);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.profile-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 62px 16px 34px;
}

.profile-page::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  background-image:
    linear-gradient(rgba(20, 24, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 22, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
}

.light-sweep {
  position: fixed;
  inset: -18% -34%;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 22%, rgba(255, 255, 255, 0.52) 40%, transparent 54%),
    linear-gradient(72deg, rgba(13, 125, 102, 0.13), transparent 42%);
  opacity: 0.72;
  transform: translateX(-24%);
  animation: backgroundSweep 13s ease-in-out infinite;
}

.singapore-line {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  height: 168px;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(to top, rgba(20, 24, 22, 0.28), transparent 58%),
    repeating-linear-gradient(
      90deg,
      transparent 0 24px,
      rgba(7, 83, 66, 0.46) 24px 42px,
      transparent 42px 62px,
      rgba(46, 108, 136, 0.38) 62px 86px,
      transparent 86px 118px
    );
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 82%);
}

.hero-shell,
.service-grid,
.process-band {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.language-toggle:focus-visible,
.action-link:focus-visible {
  outline: 3px solid rgba(13, 125, 102, 0.25);
  outline-offset: 3px;
}

.language-toggle {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 40;
  display: inline-grid;
  grid-template-columns: 30px 1px 34px;
  min-height: 36px;
  align-items: center;
  justify-items: center;
  border: 1px solid rgba(124, 18, 24, 0.18);
  border-radius: 999px;
  padding: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 240, 0.86)),
    rgba(255, 255, 255, 0.84);
  color: #2a201c;
  box-shadow:
    0 12px 30px rgba(124, 18, 24, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.language-code {
  display: grid;
  min-width: 28px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: rgba(42, 32, 28, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0;
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.language-toggle-zh .language-code-zh,
.language-toggle-en .language-code-en {
  background: linear-gradient(135deg, #8f1218, #c33a2f);
  color: #fffaf3;
  box-shadow: 0 8px 18px rgba(143, 18, 24, 0.26);
}

.language-divider {
  width: 1px;
  height: 16px;
  background: rgba(124, 18, 24, 0.16);
}

.language-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 18, 24, 0.28);
  box-shadow:
    0 16px 38px rgba(124, 18, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(330px, 406px);
  gap: 24px;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(137deg, rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.62)),
    linear-gradient(32deg, rgba(13, 125, 102, 0.1), transparent 52%),
    linear-gradient(308deg, rgba(217, 143, 146, 0.2), transparent 45%),
    rgba(255, 253, 248, 0.86);
  box-shadow:
    0 28px 82px rgba(20, 24, 22, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.hero-shell::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.62) 44%, transparent 60%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.13) 0,
      rgba(255, 255, 255, 0.13) 1px,
      transparent 1px,
      transparent 12px
    );
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: translateX(-58%);
  animation: cardSheen 7.6s ease-in-out infinite;
}

.brand-rail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-right: 1px solid var(--line);
  color: rgba(20, 24, 22, 0.46);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.identity-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(20, 24, 22, 0.13);
  border-radius: 8px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(13, 125, 102, 0.14);
  animation: pulseDot 2.6s ease-in-out infinite;
}

.logo-lockup {
  width: min(118px, 38vw);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(20, 24, 22, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(20, 24, 22, 0.11);
}

.logo-lockup img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 4.35rem;
  font-weight: 950;
  line-height: 0.98;
}

.role {
  margin-bottom: 18px;
  color: #2a312d;
  font-size: 1.2rem;
  font-weight: 850;
}

.intro {
  max-width: 630px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.86;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(13, 125, 102, 0.17);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.65);
  color: #30413a;
  font-size: 0.78rem;
  font-weight: 850;
}

.trust-row svg {
  color: var(--gold);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.action-link {
  position: relative;
  display: inline-grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  min-width: 236px;
  min-height: 66px;
  gap: 12px;
  border-radius: 8px;
  padding: 10px 14px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.action-solid {
  border: 1px solid rgba(13, 125, 102, 0.88);
  background: linear-gradient(135deg, var(--teal), #18a783);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(13, 125, 102, 0.24);
}

.action-outline {
  border: 1px solid rgba(20, 24, 22, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.action-link:hover {
  transform: translateY(-3px);
}

.action-solid:hover {
  box-shadow: 0 20px 40px rgba(13, 125, 102, 0.3);
}

.action-outline:hover {
  border-color: rgba(13, 125, 102, 0.42);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(20, 24, 22, 0.1);
}

.action-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.24rem;
}

.action-outline .action-icon {
  background:
    linear-gradient(145deg, rgba(13, 125, 102, 0.12), rgba(196, 152, 62, 0.1)),
    rgba(13, 125, 102, 0.07);
  color: var(--teal);
}

.action-copy {
  min-width: 0;
}

.action-copy strong,
.action-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-copy strong {
  font-size: 1rem;
  line-height: 1.22;
}

.action-copy small {
  margin-top: 3px;
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.72;
}

.action-arrow {
  transition: transform 220ms ease;
}

.action-link:hover .action-arrow {
  transform: translate(2px, -2px);
}

.portrait-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 100%;
  padding: 32px 30px 32px 0;
}

.portrait-wrap {
  position: relative;
  width: min(100%, 366px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 242, 0.78));
  box-shadow: 0 24px 56px rgba(20, 24, 22, 0.2);
  aspect-ratio: 0.66;
}

.portrait-wrap::before {
  position: absolute;
  inset: 12px;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 6px;
}

.portrait-wrap::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(116deg, transparent 38%, rgba(255, 255, 255, 0.46), transparent 58%);
  transform: translateX(-104%);
  animation: portraitShine 6.4s ease-in-out infinite;
}

.portrait-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(1.02) contrast(1.02);
}

.location-chip,
.service-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #28332d;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(20, 24, 22, 0.14);
  backdrop-filter: blur(12px);
}

.location-chip svg,
.service-chip svg {
  color: var(--teal);
}

.location-chip {
  top: 74px;
  left: 0;
  animation: floatChip 5s ease-in-out infinite;
}

.service-chip {
  right: 18px;
  bottom: 82px;
  animation: floatChip 5.6s ease-in-out infinite;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.service-card {
  min-height: 190px;
  border: 1px solid rgba(20, 24, 22, 0.11);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 42px rgba(20, 24, 22, 0.08);
  animation: riseIn 620ms ease both;
}

.service-card:nth-child(2) {
  animation-delay: 90ms;
}

.service-card:nth-child(3) {
  animation-delay: 180ms;
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 125, 102, 0.16), rgba(196, 152, 62, 0.12)),
    rgba(13, 125, 102, 0.08);
  color: var(--teal);
  font-size: 1.22rem;
}

.service-card h2 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.74;
}

.process-band {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(20, 24, 22, 0.11);
  border-radius: 8px;
  padding: 25px 28px;
  background:
    linear-gradient(110deg, rgba(20, 24, 22, 0.92), rgba(31, 48, 41, 0.88)),
    var(--ink);
  color: var(--white);
  box-shadow: 0 22px 58px rgba(20, 24, 22, 0.12);
}

.process-copy .eyebrow {
  color: #8de4cf;
}

.process-copy h2 {
  margin-bottom: 0;
  font-size: 1.7rem;
  line-height: 1.22;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.process-item {
  display: grid;
  grid-template-columns: auto 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.process-number {
  color: #93dec9;
  font-size: 0.76rem;
  font-weight: 950;
}

.process-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

.process-item strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes backgroundSweep {
  0%,
  28% {
    transform: translateX(-24%);
  }
  72%,
  100% {
    transform: translateX(22%);
  }
}

@keyframes cardSheen {
  0%,
  32% {
    transform: translateX(-60%);
  }
  68%,
  100% {
    transform: translateX(62%);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(13, 125, 102, 0.14);
  }
  50% {
    transform: scale(0.86);
    box-shadow: 0 0 0 12px rgba(13, 125, 102, 0.06);
  }
}

@keyframes portraitShine {
  0%,
  45% {
    transform: translateX(-104%);
  }
  78%,
  100% {
    transform: translateX(104%);
  }
}

@keyframes floatChip {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .profile-page {
    padding: 58px 12px 28px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .brand-rail {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .portrait-panel {
    order: 1;
    min-height: auto;
    padding: 18px 18px 0;
  }

  .identity-panel {
    order: 2;
    padding: 28px 18px 24px;
  }

  .brand-rail {
    order: 0;
  }

  .portrait-wrap {
    width: min(100%, 374px);
    max-height: 560px;
  }

  .location-chip {
    left: 24px;
    top: 42px;
  }

  .service-chip {
    right: 28px;
    bottom: 26px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .service-grid,
  .process-band,
  .process-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .language-toggle {
    top: 12px;
    right: 12px;
    grid-template-columns: 28px 1px 32px;
    min-height: 34px;
    padding: 3px;
  }

  .language-code {
    height: 24px;
    font-size: 0.68rem;
  }

  .status-badge {
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .logo-lockup {
    width: 104px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .role {
    font-size: 1rem;
  }

  .intro {
    font-size: 0.94rem;
    line-height: 1.76;
  }

  .trust-row span {
    flex: 1 1 calc(50% - 9px);
    justify-content: center;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .action-link {
    min-width: 0;
    width: 100%;
  }

  .location-chip,
  .service-chip {
    font-size: 0.7rem;
  }

  .service-card,
  .process-band {
    padding: 19px;
  }

  .process-copy h2 {
    font-size: 1.38rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
