/* 新印科技「關於我們」V21 科技視覺更新 */
.company-v21 {
  --company-ink: #071d29;
  --company-muted: #637985;
  --company-line: #dbe7e9;
  --company-green: #13b18a;
  --company-green-deep: #08765f;
  --company-cyan: #40d9e9;
  color: var(--company-ink);
}

.company-v21 .site-nav a.active::after {
  left: 0;
  width: 100%;
}

.company-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #061d29;
  color: #fff;
}

.company-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 34, .98) 0%, rgba(5, 27, 38, .90) 39%, rgba(5, 27, 38, .40) 66%, rgba(5, 27, 38, .08) 100%),
    linear-gradient(0deg, rgba(3, 20, 28, .48), transparent 45%);
  content: "";
}

.company-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.company-hero-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 58%;
  opacity: .14;
  background-image:
    linear-gradient(rgba(77, 231, 223, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 231, 223, .28) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent);
}

.company-hero-content {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 96px));
  margin: auto;
  padding: 92px 0 80px;
}

.company-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #a1f1da;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
}

.company-eyebrow > span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.company-eyebrow-dark {
  color: var(--company-green-deep);
}

.company-hero h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.company-hero h1 em {
  color: #6ff0cb;
  font-style: normal;
}

.company-hero-lead {
  max-width: 610px;
  margin: 0;
  color: rgba(239, 251, 252, .74);
  font-size: 17px;
  line-height: 1.9;
}

.company-hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.company-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.company-hero-highlights > span {
  min-width: 132px;
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  border: 1px solid rgba(111, 240, 203, .18);
  border-radius: 9px;
  background: rgba(6, 34, 43, .42);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

.company-hero-highlights strong {
  color: #bff9e6;
  font-size: 11px;
  letter-spacing: .06em;
}

.company-hero-highlights small {
  color: rgba(235, 249, 247, .66);
  font-size: 9px;
  letter-spacing: .04em;
}

.company-button-primary,
.company-contact-band > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--company-green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease;
}

.company-button-primary {
  min-width: 148px;
  min-height: 52px;
  box-shadow: 0 18px 44px rgba(17, 181, 139, .24);
}

.company-button-primary:hover,
.company-contact-band > a:hover {
  transform: translateY(-2px);
  background: #18c99c;
}

.company-text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 700;
}

.company-hero-stats {
  display: flex;
  gap: 32px;
  margin: 48px 0 0;
}

.company-hero-stats > div {
  min-width: 104px;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.company-hero-stats > div:last-child {
  border: 0;
}

.company-hero-stats dt {
  color: #dffdf4;
  font-size: 21px;
  font-weight: 850;
}

.company-hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  letter-spacing: .08em;
}

.company-hero-index {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 4vw, 72px);
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.company-hero-index span,
.company-hero-index small {
  font-size: 10px;
  font-style: normal;
}

.company-hero-index i {
  width: 74px;
  height: 1px;
  background: rgba(255, 255, 255, .32);
}

.company-discover {
  width: min(1240px, calc(100% - 72px));
  margin: auto;
  padding: 110px 0 120px;
}

.company-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 46px;
}

.company-section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.company-section-heading > p {
  width: min(410px, 100%);
  margin: 0;
  color: var(--company-muted);
  font-size: 14px;
  line-height: 1.85;
}

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

.company-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--company-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(16, 55, 67, .08);
  transition: transform .28s ease, box-shadow .28s ease;
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(16, 55, 67, .14);
}

.company-card-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--company-line);
  background:
    radial-gradient(circle at 75% 18%, rgba(64, 217, 233, .16), transparent 32%),
    #f0f7f7;
}

.company-card-visual img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  transition: transform .38s ease;
}

.company-card:hover .company-card-visual img {
  transform: scale(1.025);
}

.company-card-number {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  background: rgba(5, 32, 43, .74);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.company-card-content {
  padding: 27px 28px 30px;
}

.company-card-kicker {
  margin: 0;
  color: var(--company-green-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.company-card-content h3 {
  margin: 10px 0 13px;
  font-size: 25px;
  letter-spacing: -.02em;
}

.company-card-line {
  display: block;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, var(--company-green), var(--company-cyan));
}

.company-card-description {
  min-height: 72px;
  margin: 17px 0 21px;
  color: var(--company-muted);
  font-size: 13px;
  line-height: 1.75;
}

.company-card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--company-ink);
  font-size: 12px;
  font-weight: 850;
}

.company-card-link > span {
  color: var(--company-green);
}

.company-contact-band {
  width: min(1240px, calc(100% - 72px));
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto 90px;
  padding: 56px 64px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 30%, rgba(72, 224, 210, .24), transparent 28%),
    linear-gradient(125deg, #071f2b, #0b4651);
  color: #fff;
}

.company-contact-band p {
  margin: 0 0 11px;
  color: #77ead5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.company-contact-band h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 47px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.company-contact-band > a {
  min-width: 150px;
  min-height: 54px;
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .company-hero-content {
    width: min(calc(100% - 56px), 1180px);
  }
}

@media (max-width: 850px) {
  .company-hero {
    min-height: 680px;
  }

  .company-hero::after {
    background: linear-gradient(90deg, rgba(4, 23, 33, .94), rgba(4, 26, 36, .68));
  }

  .company-hero-image {
    object-position: 66% center;
  }

  .company-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-card-grid {
    grid-template-columns: 1fr;
  }

  .company-card-visual img {
    width: 84%;
    height: 84%;
  }

  .company-contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .company-hero {
    min-height: 660px;
  }

  .company-hero-content {
    width: calc(100% - 40px);
    padding: 76px 0 64px;
  }

  .company-hero h1 {
    font-size: clamp(43px, 14vw, 59px);
  }

  .company-hero-lead {
    font-size: 15px;
  }

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

  .company-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 20px;
  }

  .company-hero-highlights > span {
    min-width: 0;
    padding: 8px 7px;
  }

  .company-hero-highlights strong { font-size: 9px; }
  .company-hero-highlights small { font-size: 8px; }

  .company-hero-stats {
    gap: 14px;
  }

  .company-hero-stats > div {
    min-width: 0;
    padding-right: 14px;
  }

  .company-hero-index {
    display: none;
  }

  .company-discover,
  .company-contact-band {
    width: calc(100% - 32px);
  }

  .company-discover {
    padding: 78px 0 86px;
  }

  .company-section-heading {
    margin-bottom: 32px;
  }

  .company-card-content {
    padding: 24px;
  }

  .company-contact-band {
    margin-bottom: 56px;
    padding: 42px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-v21 *,
  .company-v21 *::before,
  .company-v21 *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
