/* Latest visual refinements */
.hero-image {
  background-image: linear-gradient(90deg, rgba(3,14,25,.9) 0%, rgba(3,14,25,.55) 43%, rgba(3,14,25,.08) 70%), url("assets/hero-semiconductor-design-blurred.png");
}

/* Overlay the white wordmark while preserving the blue T and its dot. */
.footer-brand {
  position: relative;
}

.footer-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/tokusho-logo.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  clip-path: polygon(28.4% 0, 100% 0, 100% 100%, 25.6% 100%, 25.6% 24%, 28.4% 24%);
  pointer-events: none;
}

.work-image {
  display: grid;
  place-items: center;
  background: linear-gradient(115deg, rgba(1,31,61,.26), rgba(20,129,206,.08)), url("assets/hikone-view.jpg") center / cover;
}

@media (min-width: 961px) {
  .work { grid-template-columns: 50% 50%; }
  .work-semiconductor-card { width: 100%; max-width: none; }
}

.work-semiconductor-card {
  position: relative;
  width: min(88%, 690px);
  padding: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(3,28,52,.34);
  transform: translateY(-2%);
}

.work-semiconductor-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(255,255,255,.68);
  pointer-events: none;
}

.work-semiconductor-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Employee interviews: shared heading band, then portrait and comment. */
.person {
  grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
  background: #e8e7df;
}

.person > div {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 25px 28px 22px;
}

.person > img {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: #e8e7df;
}

.person .interview-text {
  grid-column: 2;
  grid-row: 2;
  min-height: 100%;
}

@media (max-width: 760px) {
  .work-semiconductor-card { width: 82%; padding: 7px; }
  .work-semiconductor-card::before { inset: -9px; }
  .person { grid-template-columns: 125px minmax(0, 1fr); }
  .person > div { padding: 18px; }
}
