/* Approved tactile surface layer. Original scroll / hover geometry is unchanged. */
.tactile-site {
  --display-paper: #fffaf2;
  --display-ink: #1D1D1F;
  --display-orange: #ff5a2f;
  --display-accent: #cf3b15;
  --display-secondary: #62605a;
  --display-radius: 20px;
  --display-shadow: 0 14px 30px -22px #40302566;
}
.tactile-site :is(.hero-sequence, .work-section, .site-header, #site-footer) {
  font-family: 'DM Sans', 'Noto Sans TC', sans-serif;
}
.tactile-site .hero-title {
  color: var(--display-ink);
  font-weight: 500;
  letter-spacing: -.035em;
}
.tactile-site .hero-title > span:first-child { color: var(--display-accent); }
.tactile-site .hero-caption { color: var(--display-secondary); }
.tactile-site #work { color: var(--display-ink); }
.tactile-site #work .work-heading h2 {
  font-family: 'DM Sans', 'Noto Sans TC', sans-serif;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.tactile-site #work .work-heading h2 span { color: var(--display-accent); }
.tactile-site #work .work-heading p {
  font-size: 13px;
  color: var(--display-secondary);
  line-height: 1.9;
}
.tactile-site #work .section-kicker { color: var(--display-secondary); }
.tactile-frame {
  --display-inset: 12px;
  position: relative;
  padding: var(--display-inset);
  border-radius: var(--display-radius);
  background: var(--display-paper);
  box-shadow: var(--display-shadow);
  overflow: visible;
  isolation: isolate;
}
/* A coloured substrate appears through the edge, outside the original cover. */
.tactile-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--display-orange);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.16,1,.3,1);
}
.tactile-frame:has(.is-hovered)::before,
.tactile-frame:focus-within::before { opacity: 1; }
.tactile-site #work .project-cover { border-radius: 11px; }
.tactile-site #work .project-business-card .tactile-frame {
  --display-inset: 9px;
  --display-radius: 18px;
}
.tactile-site #work .project-business-card .project-cover { border-radius: 10px; }
.tactile-site #work .project-caption {
  margin: 19px 7px 0;
  gap: 14px;
  align-items: flex-start;
}
.tactile-site #work .project-caption h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: -.02em;
}
.tactile-site #work .project-caption > span {
  display: inline-block;
  flex: none;
  padding: 6px 12px;
  border-radius: 30px;
  background: #f6e3d7;
  color: #873d26;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
}
.tactile-site #work .project-business-card .project-caption > span { margin-top: 6px; }
.tactile-site #work .concept-note { color: var(--display-secondary); line-height: 1.9; }
.tactile-site #work .project-cover:focus-visible {
  outline: 2px solid var(--display-ink);
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .tactile-site #work .project-caption { flex-wrap: wrap; gap: 7px; }
  .tactile-site #work .project-caption h3 { font-size: 14px; }
}
@media (max-width: 800px) {
  .tactile-frame { --display-inset: 8px; --display-radius: 16px; }
  .tactile-site #work .project-caption { margin: 14px 3px 0; }
  .tactile-site #work .project-caption > span { font-size: 10px; padding: 5px 9px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .tactile-frame::before { transition: none; }
}

/* Bilingual signature: shared by the header and open menu. */
.wordmark { position: relative; }
.wordmark .wordmark-cn {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0;
  left: calc(100% + 6px);
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .2em;
  white-space: nowrap;
}
