:root {
  --blue: #0759b8;
  --blue-dark: #12345a;
  --red: #d52b2f;
  --ink: #172433;
  --muted: #647487;
  --line: #dce4ec;
  --paper: #f4f7fa;
  --white: #ffffff;
}

/* Static package additions */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.filter-button {
  padding: 8px 15px;
  border: 1px solid #dce4ec;
  border-radius: 999px;
  background: #fff;
  color: #4c5c6c;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.portfolio-list-card[hidden] {
  display: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 28px rgba(20, 46, 78, 0.08);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
  }

  .header-contact {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial,
    sans-serif;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto minmax(150px, 0.42fr);
  align-items: center;
  min-height: 88px;
  padding: 0 clamp(28px, 4.4vw, 72px);
  border-bottom: 1px solid rgba(220, 228, 236, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 19px;
}

.brand-logo {
  display: block;
  width: clamp(122px, 10.2vw, 154px);
  height: auto;
}

.brand-mark {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: clamp(28px, 2.65vw, 43px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  transform: skewX(-4deg);
}

.brand-mark span {
  position: relative;
}

.brand-mark span::before {
  position: absolute;
  top: 46%;
  left: -0.14em;
  width: 0;
  height: 0;
  border-top: 0.17em solid transparent;
  border-bottom: 0.17em solid transparent;
  border-left: 0.26em solid var(--red);
  content: "";
  transform: translateY(-50%) skewX(4deg);
}

.brand-name {
  color: #25364a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(25px, 3vw, 52px);
  height: 100%;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-nav a {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
}

.site-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  height: 3px;
  background: var(--blue);
  content: "";
  transition: right 180ms ease, left 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
  left: 0;
}

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  gap: 10px;
  border-radius: 2px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 9px 22px rgba(7, 89, 184, 0.15);
  transition: background 180ms ease, transform 180ms ease;
}

.header-contact svg {
  width: 18px;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(455px, 0.86fr) minmax(560px, 1.14fr);
  min-height: 635px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #fff 0%, #f7fbff 47%, #eaf4ff 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 20px 70px clamp(54px, 5.1vw, 82px);
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.98) 76%,
    rgba(255, 255, 255, 0) 100%
  );
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.23em;
}

.hero h1 {
  margin: 0;
  color: #14253a;
  font-size: clamp(48px, 4vw, 68px);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.33;
}

.red-rule {
  display: block;
  width: 58px;
  height: 4px;
  margin: 25px 0;
  background: var(--red);
}

.hero-lead {
  max-width: 570px;
  margin: 0;
  color: #3f4f61;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  min-height: 54px;
  padding: 0 26px;
  gap: 13px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button svg {
  width: 18px;
  transition: transform 180ms ease;
}

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

.button:hover svg {
  transform: translateX(4px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 89, 184, 0.15);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--blue);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #edf5ff;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0) 20%),
    url("../images/hero-building.png") center / cover no-repeat;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#2e6bb5 1px, transparent 1px);
  background-position: calc(100% - 52px) 42px;
  background-size: 13px 13px;
  content: "";
  mask-image: linear-gradient(to left, #000 0, transparent 28%);
  opacity: 0.18;
}

.demo-badge {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 18px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.78);
  color: #5f7286;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.data-tag {
  position: absolute;
  z-index: 2;
  min-width: 142px;
  padding: 10px 13px;
  border-left: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.84);
  color: var(--blue);
  box-shadow: 0 9px 28px rgba(20, 46, 78, 0.08);
  backdrop-filter: blur(10px);
}

.data-tag::after {
  position: absolute;
  top: 50%;
  width: 55px;
  height: 1px;
  background: var(--blue);
  content: "";
}

.data-tag span,
.data-tag small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.data-tag strong {
  display: block;
  margin: 2px 0;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.tag-energy {
  top: 12%;
  right: 7%;
}

.tag-energy::after {
  right: 100%;
}

.tag-air {
  top: 25%;
  left: 11%;
}

.tag-air::after {
  left: 100%;
}

.tag-light {
  right: 4%;
  bottom: 22%;
}

.tag-light::after {
  right: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 155px;
  padding: 28px clamp(38px, 8vw, 130px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip > div {
  display: grid;
  align-content: center;
  justify-items: center;
}

.trust-strip > div + div {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  color: var(--blue);
  font-size: clamp(37px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.trust-strip strong span {
  font-size: 0.55em;
}

.trust-strip p {
  margin: 10px 0 0;
  color: #29394c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section {
  padding: 112px clamp(32px, 6vw, 96px);
}

#about,
#solutions,
#projects,
#insights,
#contact {
  scroll-margin-top: 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.66fr);
  align-items: end;
  max-width: 1320px;
  margin: 0 auto 56px;
  gap: 58px;
}

.section-heading h2,
.smart-copy h2,
.coverage-copy h2,
.contact-section h2 {
  margin: 0;
  color: #14253a;
  font-size: clamp(38px, 3.4vw, 54px);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.32;
}

.section-heading > p,
.coverage-copy > p {
  margin: 0;
  color: #647487;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.section-kicker,
.mini-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.section-kicker-light {
  color: #78b9ff;
}

.about-section {
  background: #fff;
}

.about-heading {
  align-items: start;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  max-width: 1320px;
  margin: 0 auto;
  gap: 24px;
}

.about-story {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: end;
  min-height: 360px;
  padding: 48px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 44, 84, 0.96), rgba(7, 89, 184, 0.88)),
    url("../images/hero-building.png") center / cover;
  color: #fff;
}

.about-story::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.story-year {
  align-self: start;
  color: rgba(255, 255, 255, 0.18);
  font-family: Arial, sans-serif;
  font-size: 86px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.8;
  writing-mode: vertical-rl;
}

.about-story .mini-label {
  color: #91c7ff;
}

.about-story h3 {
  max-width: 560px;
  margin: 0 0 20px;
  font-size: 29px;
  line-height: 1.45;
}

.about-story p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.about-values article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 38px 28px;
  transition: background 180ms ease, transform 180ms ease;
}

.about-values article + article {
  border-left: 1px solid var(--line);
}

.about-values article:hover {
  background: #f4f8fd;
  transform: translateY(-4px);
}

.about-values span {
  margin-bottom: auto;
  color: #9aa8b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.about-values h3 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 26px;
}

.about-values p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.solutions-section {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  gap: 18px;
}

.service-card {
  grid-column: span 3;
  min-height: 410px;
  padding: 30px;
  border: 1px solid #dbe4ed;
  background: #fff;
  box-shadow: 0 12px 38px rgba(20, 46, 78, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card:nth-child(n + 5) {
  grid-column: span 4;
}

.service-card:hover {
  border-color: rgba(7, 89, 184, 0.5);
  box-shadow: 0 18px 48px rgba(20, 46, 78, 0.1);
  transform: translateY(-5px);
}

.service-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-number {
  color: #a0adba;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
  place-items: center;
}

.service-icon svg {
  width: 25px;
}

.service-english {
  margin: 44px 0 9px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.service-card h3 {
  margin: 0 0 18px;
  color: #1c2c3d;
  font-size: 25px;
}

.service-description {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  margin: 25px 0 0;
  padding: 18px 0 0;
  gap: 9px;
  border-top: 1px solid #e7edf3;
  list-style: none;
}

.service-card li {
  padding: 5px 9px;
  background: #f4f7fa;
  color: #4c5c6c;
  font-size: 11px;
  font-weight: 700;
}

.smart-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(680px, 1.22fr);
  padding: 105px clamp(32px, 6vw, 96px);
  gap: clamp(60px, 8vw, 120px);
  background:
    radial-gradient(circle at 80% 25%, rgba(33, 125, 224, 0.24), transparent 34%),
    #07182c;
  color: #fff;
}

.smart-copy {
  align-self: center;
}

.smart-copy h2,
.contact-section h2 {
  color: #fff;
}

.smart-copy > p:not(.section-kicker) {
  margin: 25px 0 0;
  color: #afbdcc;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 2.4;
}

.text-link svg {
  width: 18px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.smart-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.smart-flow article {
  position: relative;
  min-height: 245px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  transition: background 180ms ease;
}

.smart-flow article:hover {
  background: rgba(33, 125, 224, 0.12);
}

.flow-icon {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(120, 185, 255, 0.48);
  color: #78b9ff;
  place-items: center;
}

.flow-icon svg {
  width: 25px;
}

.flow-step {
  position: absolute;
  top: 34px;
  right: 34px;
  color: #6f849b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.smart-flow h3 {
  margin: 34px 0 11px;
  font-size: 21px;
}

.smart-flow p {
  margin: 0;
  color: #8fa1b5;
  font-size: 13px;
  line-height: 1.8;
}

.projects-section {
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  gap: 22px;
}

.project-card {
  display: block;
  min-width: 0;
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8edf2;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-image span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 9px 13px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.project-copy {
  padding: 24px 2px 0;
}

.project-copy p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.project-copy h3 {
  margin: 0;
  color: #1f3042;
  font-size: 19px;
  line-height: 1.6;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.project-card-link svg {
  width: 16px;
  transition: transform 180ms ease;
}

.project-card:hover .project-card-link svg {
  transform: translateX(4px);
}

.projects-more {
  display: flex;
  justify-content: center;
  max-width: 1320px;
  margin: 48px auto 0;
}

.coverage-section {
  display: grid;
  grid-template-columns: minmax(350px, 0.76fr) minmax(580px, 1.24fr);
  align-items: center;
  padding: 90px clamp(32px, 7vw, 112px);
  gap: 80px;
  background: #edf5ff;
}

.coverage-copy {
  max-width: 520px;
}

.coverage-copy > p:last-child {
  margin-top: 26px;
}

.coverage-map {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  min-height: 360px;
  padding: 40px;
  gap: 55px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(20, 46, 78, 0.09);
}

.taiwan-shape {
  position: relative;
  width: 95px;
  height: 270px;
  margin: 0 auto;
  border: 1px solid rgba(7, 89, 184, 0.23);
  border-radius: 65% 38% 58% 42% / 20% 28% 72% 80%;
  background: linear-gradient(145deg, #edf6ff, #bddcff);
  box-shadow: inset 16px 0 35px rgba(7, 89, 184, 0.09);
  transform: rotate(18deg);
}

.map-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(213, 43, 47, 0.18);
}

.node-north {
  top: 28px;
  left: 24px;
}

.node-central {
  top: 118px;
  left: 32px;
}

.node-south {
  right: 20px;
  bottom: 32px;
}

.city-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 15px;
}

.city-list span {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: #27384b;
  font-size: 14px;
  font-weight: 800;
}

.city-list span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  vertical-align: 2px;
}

.insight-section {
  background: #fff;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.insight-grid article {
  display: flex;
  flex-direction: column;
  min-height: 335px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.insight-grid article:hover {
  background: #f7faff;
}

.insight-grid > article > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.insight-grid h3 {
  margin: 26px 0 18px;
  color: #1d2e40;
  font-size: 22px;
  line-height: 1.55;
}

.insight-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.insight-grid a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 28px;
  gap: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.insight-grid a svg {
  width: 17px;
  transition: transform 180ms ease;
}

.insight-grid a:hover svg {
  transform: translateX(4px);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.64fr);
  align-items: end;
  padding: 95px clamp(32px, 7vw, 112px);
  gap: 70px;
  background:
    linear-gradient(120deg, rgba(7, 24, 44, 0.96), rgba(7, 71, 143, 0.9)),
    url("../images/hero-building.png") center 70% / cover;
  color: #fff;
}

.contact-section > div:first-child > p:last-child {
  max-width: 710px;
  margin: 22px 0 0;
  color: #b9c8d8;
  font-size: 15px;
  line-height: 1.9;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
}

.contact-phone {
  display: block;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, transform 180ms ease;
}

.contact-phone:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.contact-phone span {
  display: block;
  margin-bottom: 6px;
  color: #9eb1c5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.contact-phone strong {
  font-family: Arial, sans-serif;
  font-size: 23px;
  letter-spacing: 0.01em;
}

.contact-actions address {
  color: #c3d0dd;
  font-size: 13px;
  font-style: normal;
  line-height: 1.9;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 100px;
  padding: 20px clamp(28px, 5vw, 80px);
  gap: 24px;
  background: #050f1c;
  color: #7f91a5;
}

.footer-brand .brand-mark {
  color: #fff;
  font-size: 29px;
}

footer p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.subpage-main,
.project-detail-main {
  background: #fff;
}

.projects-hero {
  padding: 46px clamp(32px, 6vw, 96px) 92px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.99) 0%, rgba(239, 247, 255, 0.94) 100%),
    url("../images/hero-building.png") center / cover;
}

.breadcrumb {
  display: flex;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 72px;
  gap: 10px;
  color: #75869a;
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.projects-hero-grid {
  display: grid;
  grid-template-columns: minmax(450px, 1fr) minmax(420px, 0.78fr);
  align-items: end;
  max-width: 1320px;
  margin: 0 auto;
  gap: 90px;
}

.projects-hero h1 {
  margin: 0;
  color: #14253a;
  font-size: clamp(52px, 5.3vw, 78px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.projects-hero-copy > p {
  margin: 0;
  color: #526378;
  font-size: 16px;
  line-height: 1.95;
}

.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid rgba(7, 89, 184, 0.18);
}

.portfolio-stats div {
  padding: 22px 12px 0 0;
}

.portfolio-stats strong,
.portfolio-stats span {
  display: block;
}

.portfolio-stats strong {
  color: var(--blue);
  font-size: 30px;
  line-height: 1.1;
}

.portfolio-stats span {
  margin-top: 7px;
  color: #708094;
  font-size: 11px;
  font-weight: 700;
}

.projects-featured,
.portfolio-list-section {
  padding: 105px clamp(32px, 6vw, 96px);
}

.projects-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto 48px;
  gap: 40px;
}

.projects-section-title h2,
.project-detail-overview h2,
.project-scope-section h2 {
  margin: 0;
  color: #14253a;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.3;
}

.projects-section-title > p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.portfolio-feature-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(2, 305px);
  max-width: 1320px;
  margin: 0 auto;
  gap: 20px;
}

.portfolio-feature-card {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #17324f;
  color: #fff;
}

.portfolio-feature-card.feature-1 {
  grid-row: span 2;
}

.portfolio-feature-card img,
.project-detail-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.portfolio-feature-card:hover img {
  transform: scale(1.035);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 17, 31, 0.9) 0%, rgba(4, 17, 31, 0.05) 70%);
}

.portfolio-feature-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 32px;
}

.portfolio-feature-copy > span {
  display: inline-block;
  padding: 6px 9px;
  background: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.portfolio-feature-copy p {
  margin: 19px 0 7px;
  color: #a9c4df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.portfolio-feature-copy h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(19px, 2vw, 30px);
  line-height: 1.5;
}

.portfolio-feature-copy strong {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.portfolio-feature-copy strong svg {
  width: 16px;
  transition: transform 180ms ease;
}

.portfolio-feature-card:hover strong svg {
  transform: translateX(4px);
}

.portfolio-list-section {
  background: var(--paper);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.category-pills span {
  padding: 8px 12px;
  border: 1px solid #d7e2ec;
  background: #fff;
  color: #536579;
  font-size: 11px;
  font-weight: 700;
}

.portfolio-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid #d7e2ec;
  border-left: 1px solid #d7e2ec;
}

.portfolio-list-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid #d7e2ec;
  border-bottom: 1px solid #d7e2ec;
  background: #fff;
  transition: background 180ms ease, transform 180ms ease;
}

.portfolio-list-card:hover {
  position: relative;
  z-index: 2;
  background: #f7faff;
  transform: translateY(-3px);
}

.portfolio-index {
  margin-bottom: auto;
  color: #a3afbc;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.portfolio-category {
  margin: 36px 0 10px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.portfolio-list-card h3 {
  margin: 0;
  color: #223448;
  font-size: 20px;
  line-height: 1.55;
}

.portfolio-card-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e5ebf1;
}

.portfolio-label {
  display: block;
  margin-bottom: 13px;
  color: #718195;
  font-size: 11px;
  font-weight: 700;
}

.portfolio-card-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.portfolio-card-bottom > div span {
  padding: 5px 8px;
  background: #eff4f8;
  color: #536579;
  font-size: 10px;
  font-weight: 700;
}

.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px clamp(32px, 7vw, 112px);
  gap: 50px;
  background:
    linear-gradient(115deg, rgba(7, 24, 44, 0.97), rgba(7, 73, 148, 0.9)),
    url("../images/hero-building.png") center / cover;
  color: #fff;
}

.portfolio-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.4vw, 50px);
}

.portfolio-cta > div > p:last-child {
  margin: 16px 0 0;
  color: #afc0d2;
  font-size: 14px;
}

.button-light {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--blue-dark);
}

.button-light:hover {
  background: #eaf4ff;
}

.project-detail-hero {
  position: relative;
  min-height: 650px;
  height: calc(100vh - 88px);
  max-height: 820px;
  overflow: hidden;
  color: #fff;
}

.project-detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 14, 27, 0.9) 0%, rgba(3, 14, 27, 0.08) 78%);
}

.project-detail-hero-copy {
  position: absolute;
  right: clamp(32px, 6vw, 96px);
  bottom: 72px;
  left: clamp(32px, 6vw, 96px);
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
}

.breadcrumb-light {
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb-light a:hover {
  color: #fff;
}

.project-detail-hero-copy > p {
  margin: 0 0 13px;
  color: #96c8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.project-detail-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.27;
}

.detail-certification {
  display: inline-block;
  margin-top: 24px;
  padding: 9px 13px;
  background: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.project-detail-overview {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(480px, 1.15fr);
  max-width: 1320px;
  margin: 0 auto;
  padding: 110px 0;
  gap: 100px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-self: start;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-facts div {
  min-height: 140px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.project-facts span {
  margin-bottom: 20px;
  color: #8593a3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.project-facts strong {
  color: #26384b;
  font-size: 15px;
  line-height: 1.6;
}

.project-overview-copy > p:last-child {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.project-detail-highlights {
  padding: 100px clamp(32px, 6vw, 96px);
  background: var(--paper);
}

.detail-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid #d8e1e9;
  border-left: 1px solid #d8e1e9;
}

.detail-highlight-grid article {
  min-height: 300px;
  padding: 36px;
  border-right: 1px solid #d8e1e9;
  border-bottom: 1px solid #d8e1e9;
  background: #fff;
}

.detail-highlight-grid article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.detail-highlight-grid h3 {
  margin: 75px 0 18px;
  color: #223448;
  font-size: 23px;
}

.detail-highlight-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.project-scope-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) 1.3fr;
  align-items: center;
  padding: 85px clamp(32px, 7vw, 112px);
  gap: 80px;
  background: #07182c;
  color: #fff;
}

.project-scope-section h2 {
  color: #fff;
}

.project-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-scope-tags span {
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #d3dfeb;
  font-size: 13px;
  font-weight: 700;
}

.project-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 55px 0;
  gap: 30px;
}

.project-pagination > a:first-child {
  justify-self: start;
}

.project-pagination > a:last-child {
  justify-self: end;
  text-align: right;
}

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

.project-pagination a span {
  margin-bottom: 8px;
  color: #8492a2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.project-pagination a strong {
  color: #223448;
  font-size: 15px;
}

.all-projects-link {
  padding: 11px 16px;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.project-not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  align-content: center;
  padding: 80px 24px;
  text-align: center;
}

.project-not-found h1 {
  margin: 0 0 32px;
  font-size: 48px;
}

:focus-visible {
  outline: 3px solid rgba(7, 89, 184, 0.32);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise-in 520ms both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 70ms;
  }

  .hero-copy > :nth-child(3),
  .hero-copy > :nth-child(4) {
    animation-delay: 140ms;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 210ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

  .brand-name {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(400px, 0.94fr) minmax(430px, 1.06fr);
  }

  .about-grid,
  .smart-section,
  .coverage-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-story {
    min-height: 330px;
  }

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

  .service-card,
  .service-card:nth-child(n + 4) {
    grid-column: span 1;
    min-height: 360px;
  }

  .smart-copy,
  .coverage-copy {
    max-width: 720px;
  }

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

  .project-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
  }

  .coverage-section {
    gap: 50px;
  }

  .contact-actions {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 72px;
    padding: 0 20px;
  }

  .header-contact {
    min-height: 42px;
    padding: 0 15px;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-copy {
    min-height: 560px;
    padding: 70px 24px 62px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.93) 72%,
      rgba(255, 255, 255, 0.72) 100%
    );
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    opacity: 0.34;
  }

  .data-tag {
    display: none;
  }

  .trust-strip {
    padding: 20px 12px;
  }

  .section {
    padding: 80px 24px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
    gap: 22px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .about-story {
    grid-template-columns: 1fr;
    min-height: 430px;
    padding: 34px;
  }

  .story-year {
    font-size: 66px;
    writing-mode: initial;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-values article {
    min-height: 190px;
    padding: 28px;
  }

  .about-values article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-values span {
    margin-bottom: 35px;
  }

  .service-grid,
  .project-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(n + 4),
  .service-card:last-child {
    grid-column: auto;
    min-height: 330px;
  }

  .smart-section {
    padding: 80px 24px;
    gap: 48px;
  }

  .smart-flow {
    grid-template-columns: 1fr;
  }

  .smart-flow article {
    min-height: 215px;
  }

  .project-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .coverage-section {
    padding: 75px 24px;
  }

  .coverage-map {
    grid-template-columns: 150px 1fr;
    padding: 30px 22px;
    gap: 20px;
  }

  .taiwan-shape {
    width: 78px;
    height: 225px;
  }

  .insight-grid article {
    min-height: 290px;
  }

  .contact-section {
    padding: 75px 24px;
    gap: 42px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 32px 24px;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .header-contact svg {
    display: none;
  }

  .hero-copy {
    min-height: 570px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    min-height: 126px;
  }

  .trust-strip strong {
    font-size: 31px;
  }

  .trust-strip p {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .section-heading h2,
  .smart-copy h2,
  .coverage-copy h2,
  .contact-section h2 {
    font-size: 34px;
  }

  .about-story h3 {
    font-size: 25px;
  }

  .service-card {
    padding: 26px;
  }

  .coverage-map {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .taiwan-shape {
    height: 200px;
  }

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

  .contact-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .projects-hero-grid,
  .project-detail-overview {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .project-detail-overview {
    padding: 90px 32px;
  }

  .project-overview-copy {
    max-width: 760px;
  }

  .project-pagination {
    margin: 0 32px;
  }
}

@media (max-width: 820px) {
  .projects-hero {
    padding: 36px 24px 72px;
  }

  .breadcrumb {
    margin-bottom: 48px;
  }

  .projects-hero h1 {
    font-size: clamp(43px, 11vw, 62px);
  }

  .portfolio-stats {
    max-width: 560px;
  }

  .projects-featured,
  .portfolio-list-section,
  .project-detail-highlights {
    padding: 78px 24px;
  }

  .projects-section-title {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .portfolio-feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 360px);
  }

  .portfolio-feature-card.feature-1 {
    grid-row: auto;
  }

  .portfolio-list {
    grid-template-columns: 1fr;
  }

  .portfolio-list-card {
    min-height: 260px;
  }

  .portfolio-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 68px 24px;
  }

  .project-detail-hero {
    min-height: 600px;
    height: calc(100vh - 72px);
  }

  .project-detail-hero-copy {
    right: 24px;
    bottom: 50px;
    left: 24px;
  }

  .project-detail-overview {
    padding: 75px 24px;
  }

  .project-facts,
  .detail-highlight-grid {
    grid-template-columns: 1fr;
  }

  .detail-highlight-grid article {
    min-height: 250px;
  }

  .detail-highlight-grid h3 {
    margin-top: 45px;
  }

  .project-scope-section {
    grid-template-columns: 1fr;
    padding: 68px 24px;
    gap: 38px;
  }

  .project-pagination {
    grid-template-columns: 1fr 1fr;
    margin: 0 24px;
    padding: 42px 0;
  }

  .all-projects-link {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .portfolio-stats strong {
    font-size: 25px;
  }

  .portfolio-stats span {
    font-size: 10px;
  }

  .portfolio-feature-grid {
    grid-template-rows: repeat(3, 330px);
  }

  .portfolio-feature-copy {
    padding: 24px;
  }

  .category-pills {
    justify-content: flex-start;
  }

  .project-detail-hero h1 {
    font-size: 38px;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .project-pagination a strong {
    font-size: 13px;
  }
}
