:root {
  --bg: #ffffff;
  --surface: #f4f7f8;
  --surface-strong: #eaf0f2;
  --text: #172026;
  --muted: #61707b;
  --border: #d8e1e5;
  --navy: #102d4a;
  --navy-strong: #071d33;
  --teal: #1c8a88;
  --teal-soft: #dff3f1;
  --shadow: 0 24px 70px rgba(8, 31, 52, 0.12);
  --container: min(1160px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial,
    sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 225, 229, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 242px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy-strong);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 30px);
  color: #32424c;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--teal);
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  width: var(--container);
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 72px 0 64px;
}

.hero-content {
  max-width: 650px;
}

.company-en {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--navy-strong);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-position {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 760;
  line-height: 1.22;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: #3b4b55;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 740;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--navy-strong);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 29, 51, 0.22);
}

.button.secondary {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--navy-strong);
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 34px;
}

.section-number {
  display: inline-flex;
  width: 48px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 138, 136, 0.28);
  border-radius: 999px;
  background: var(--teal-soft);
  color: #12615f;
  font-size: 13px;
  font-weight: 820;
}

h2 {
  margin-bottom: 0;
  color: var(--navy-strong);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.14;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 90px);
  border-top: 1px solid var(--border);
}

.intro .section-heading {
  display: block;
  margin: 0;
}

.intro .section-number {
  margin-bottom: 22px;
}

.intro-copy {
  color: #354650;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.services {
  border-top: 1px solid var(--border);
}

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

.service-card {
  min-height: 256px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 138, 136, 0.42);
  box-shadow: 0 16px 42px rgba(16, 45, 74, 0.1);
}

.service-index {
  display: block;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 820;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--navy-strong);
  font-size: 21px;
  line-height: 1.28;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.capability-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
  padding: 84px max(24px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(135deg, rgba(7, 29, 51, 0.96), rgba(16, 45, 74, 0.92)),
    var(--navy-strong);
  color: #ffffff;
}

.capability-copy {
  max-width: 690px;
}

.capability-band .section-number {
  margin-bottom: 24px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #bff3ee;
}

.capability-band h2 {
  margin-bottom: 22px;
  color: #ffffff;
}

.capability-band p {
  margin-bottom: 0;
  color: #d8e6ec;
  font-size: 18px;
}

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

.capability-list div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

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

.capability-list strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.capability-list span {
  color: #cbdce4;
  font-size: 15px;
}

.company-section {
  border-top: 1px solid var(--border);
}

.company-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.company-details div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  min-height: 86px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 22px 26px 22px 0;
}

.company-details div:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.company-details div:nth-child(even) {
  padding-left: 26px;
}

dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
}

dd {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

dd a {
  color: var(--teal);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 6vw, 82px);
  width: var(--container);
  margin: 0 auto 88px;
  padding: 58px;
  border-radius: 8px;
  background: var(--surface);
}

.contact .section-number {
  margin-bottom: 22px;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact p {
  max-width: 620px;
  margin-bottom: 0;
  color: #42535e;
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 7px;
  align-self: center;
  border-left: 3px solid var(--teal);
  padding-left: 24px;
  color: #34454f;
  font-style: normal;
}

.contact-email {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - 1160px) / 2));
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy);
  font-weight: 740;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .capability-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-media {
    max-width: 720px;
  }

  .service-grid,
  .company-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-details div:nth-child(odd) {
    border-right: 0;
  }

  .company-details div:nth-child(even) {
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 32px, 1160px);
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    gap: 32px;
    padding: 38px 0 54px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-position {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-grid,
  .company-details {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .capability-band {
    padding: 66px 16px;
  }

  .company-details div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .contact {
    margin-bottom: 58px;
    padding: 28px 22px;
  }

  .contact-email {
    font-size: 19px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}
