.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-cinematic), background 0.4s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--accent-white);
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent-bronze);
  font-weight: 300;
  opacity: 0.85;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--accent-bronze);
}

[data-theme="light"] .nav-link {
  color: #5d6069;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #111215;
  font-weight: 500;
}

[data-theme="light"] .nav-link.active::after {
  background-color: var(--accent-bronze);
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 0.22rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.theme-toggle-btn:hover {
  color: var(--accent-bronze);
  border-color: var(--accent-bronze);
  background: var(--active-pill-bg);
}

.theme-toggle-btn .theme-dot {
  font-size: 0.65rem;
  line-height: 1;
  color: var(--accent-bronze);
}

[data-theme="light"] .theme-toggle-btn {
  color: #2b2d33;
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .theme-toggle-btn:hover {
  color: var(--accent-bronze);
  border-color: var(--accent-bronze);
  background: rgba(154, 118, 72, 0.08);
}

.nav-replay-intro {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-replay-intro:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.menu-toggle {
  display: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}

[data-theme="light"] .menu-toggle {
  color: #18191b;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(13, 14, 18, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    padding: 2.25rem 1.5rem;
    gap: 1.6rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
    z-index: 99;
  }
  .main-nav.open {
    display: flex;
    animation: navDrop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes navDrop {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

[data-theme="light"] .main-nav {
    background: rgba(247, 246, 242, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  }

  .menu-toggle {
    display: block;
  }
}

.page-hero {
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-row-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-statement {
  max-width: 820px;
}

.hero-quote {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.85;
  letter-spacing: 0.05em;
}

[data-theme="light"] .hero-quote {
  color: #1a1c22;
  font-weight: 350;
}

.hero-quote-line {
  display: block;
}

.hero-signature {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent-bronze);
  opacity: 0.85;
  padding-bottom: 0.2rem;
  white-space: nowrap;
}

[data-theme="light"] .hero-signature {
  color: #8b6838;
  opacity: 1;
}

.filter-section {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: rgba(14, 16, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.filter-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  user-select: none;
}

.filter-toggle-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: #d2d5de;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition-fast);
}

.filter-toggle-btn:hover, .filter-toggle-btn.active {
  color: #ffffff;
  border-color: var(--accent-bronze);
  background: rgba(197, 168, 128, 0.15);
}

.filter-toggle-icon {
  font-size: 0.7rem;
  transition: transform 0.3s var(--ease-cinematic);
}

.filter-toggle-btn.active .filter-toggle-icon {
  transform: rotate(180deg);
}

.filter-btn-text-short {
  display: none;
}

.filter-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 0;
  transition: max-height 0.45s var(--ease-cinematic), opacity 0.35s ease, padding 0.35s ease;
}

.filter-section.expanded .filter-wrapper {
  max-height: 800px; 
  opacity: 1;
  padding-bottom: 1.25rem;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #8c909c;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  min-width: 80px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #b5b8c4;
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-btn.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 400;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.filter-stats-bar {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8c909c;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    width: 100%;
  }

  .filter-label {
    min-width: unset;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--accent-bronze);
    opacity: 0.95;
  }

.filter-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.5rem;
    padding: 0.15rem 0 0.35rem;
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 0.38rem 0.85rem;
  }
}

@media (max-width: 600px) {
  .filter-bar-header {
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

.filter-btn-text-full {
    display: none;
  }

  .filter-btn-text-short {
    display: inline;
  }

  .filter-toggle-btn {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.65rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .filter-stats-bar {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
  }

  .filter-wrapper {
    gap: 0.9rem;
  }

  .filter-btn {
    font-size: 0.72rem;
    padding: 0.35rem 0.72rem;
  }
}

.gallery-section {
  padding: 1.5rem 0 5rem;
  position: relative;
  z-index: 10;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.work-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-cinematic), border-color 0.4s ease, box-shadow 0.5s ease;
}

.work-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-surface);
}

.work-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) brightness(0.9) contrast(1.06);
  transform: scale(1.001);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform;
}

.work-card:hover .work-thumb {
  filter: grayscale(0%) brightness(1.02) contrast(1.0);
  transform: scale(1.04);
}

[data-theme="light"] .work-thumb {
  filter: grayscale(100%) brightness(1.04) contrast(0.86);
}

[data-theme="light"] .work-card:hover .work-thumb {
  filter: grayscale(0%) brightness(1.0) contrast(1.0);
  transform: scale(1.04);
}

.work-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .work-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

.work-card-overlay {
  display: none;
}

@media (max-width: 1400px) {
  .works-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 1080px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .works-grid {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
}

.work-modal,
[data-theme="light"] .work-modal {
  --bg-color: #0c0d10;
  --bg-surface: #121418;
  --bg-card: #16181d;
  --bg-overlay: rgba(12, 13, 16, 0.94);
  --text-primary: #f4f4f6 !important;
  --text-secondary: #9da1ad !important;
  --text-muted: #6e7280 !important;
  --accent-white: #ffffff !important;
  --accent-bronze: #c5a880 !important;
  --border-subtle: rgba(255, 255, 255, 0.16) !important;
  --border-hover: rgba(255, 255, 255, 0.42) !important;
}

.work-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background: rgba(5, 6, 8, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  overflow: hidden;
}

.work-modal.active {
  display: flex !important;
  opacity: 1 !important;
}

.modal-content-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  background: #000000;
  overflow: hidden;
}

.modal-image-col {
  flex: 1;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: #050608;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.modal-main-view,
.image-stage {
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
}

.modal-full-img,
.modal-image {
  max-width: 100%;
  max-height: 94vh;
  max-height: calc(100dvh - 3rem);
  object-fit: contain;
  filter: grayscale(0%) contrast(1.02);
  transition: opacity 0.25s ease;
}

.modal-video-wrap {
  width: min(92vw, calc(86vh * 16 / 9));
  height: min(86vh, calc(92vw * 9 / 16));
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal-video-file-notice {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 16, 20, 0.94);
  border: 1px solid rgba(197, 168, 128, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 25;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.modal-video-file-notice p {
  color: var(--text-primary);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.4;
}

.file-notice-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.file-notice-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-bronze);
  border: 1px solid var(--accent-bronze);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.file-notice-btn:hover {
  background: var(--accent-bronze);
  color: #000;
}

.file-notice-tip {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.modal-top-actions {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-top-btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: #d1d5db !important;
  background: rgba(15, 17, 22, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 2px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-top-btn:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(30, 34, 44, 0.95) !important;
}

.modal-top-btn.active {
  color: var(--accent-bronze) !important;
  border-color: var(--accent-bronze) !important;
  background: rgba(28, 30, 38, 0.95) !important;
}

.modal-top-btn.close {
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
}

.modal-info-col,
.modal-info-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: clamp(460px, 30vw, 540px);
  max-width: 90vw;
  z-index: 95;
  background: rgba(11, 13, 17, 0.96) !important;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 5.5rem 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-cinematic);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
  color: #f4f4f6 !important;
}

.drawer-drag-pill {
  display: none;
}

.drawer-strip-section {
  display: none;
}

.modal-info-col.open,
.modal-info-drawer.open {
  transform: translateX(0);
}

.modal-view-badge {
  position: absolute;
  bottom: 2rem;
  left: 2.2rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  background: rgba(15, 17, 22, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 2px;
  padding: 0.45rem 0.9rem;
  color: #f4f4f6 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 45;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.modal-view-badge:hover {
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #ffffff !important;
  background: rgba(28, 32, 42, 0.98) !important;
}

.modal-view-badge.has-multiple::after {
  content: '▲';
  font-size: 0.65rem;
  color: var(--accent-bronze) !important;
  transition: transform 0.25s ease;
}

.modal-view-badge.has-multiple.expanded::after {
  content: '▼';
}

.modal-view-badge.expanded {
  bottom: 5.6rem; 
  border-color: var(--accent-bronze) !important;
}

.modal-gallery-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-cinematic);
}

.modal-gallery-strip.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal-strip-thumb {
  width: 68px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.45;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.modal-strip-thumb:hover {
  opacity: 0.85;
}

.modal-strip-thumb.active {
  opacity: 1;
  border-color: var(--accent-bronze);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.4);
  transform: translateY(-2px);
}

.modal-strip-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-strip-item .thumb-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background: rgba(10, 12, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--accent-bronze);
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding-left: 2px;
  transition: all 0.2s ease;
}

.modal-strip-item:hover .thumb-play-icon,
.modal-strip-item .modal-strip-thumb.active + .thumb-play-icon {
  background: rgba(197, 168, 128, 0.9);
  color: #000;
  border-color: var(--accent-bronze);
}

.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 17, 22, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e4e7ed !important;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.15; 
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              transform 0.25s ease;
  backdrop-filter: blur(8px);
}

.modal-image-col:hover .modal-nav-arrow {
  opacity: 0.65;
}

.modal-nav-arrow:hover {
  opacity: 1 !important;
  background: rgba(28, 32, 42, 0.95) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-50%) scale(1.08);
}

.modal-nav-arrow.prev {
  left: 1.5rem;
}

.modal-nav-arrow.next {
  right: 1.5rem;
}

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-cat-tag {
  color: var(--accent-bronze) !important;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.modal-year {
  color: #a4a8b5 !important;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.modal-header-meta .meta-divider {
  color: rgba(255, 255, 255, 0.35) !important;
}

.modal-title,
.modal-title-en {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #ffffff !important;
  margin-top: 0.35rem;
}

.modal-title-zh {
  display: none;
}

.modal-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #b0b4c3 !important;
  margin: 1.75rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-bronze);
}

.modal-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem 1.5rem;
  padding: 1.25rem 0 2rem;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}

.modal-spec-grid .spec-col.full-width {
  grid-column: 1 / -1;
  padding-top: 0.5rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.drawer-footer-hint {
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #7b8090 !important;
  opacity: 0.85;
}

.spec-item-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #8e929b !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.spec-item-val {
  font-size: 0.88rem;
  color: #f4f4f6 !important;
  margin-top: 0.4rem;
}

.modal-spec-grid .spec-col.full-width .spec-item-val {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f4f4f6 !important;
  word-break: break-word;
}

.modal-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
}

[data-theme="light"] .modal-info-col,
[data-theme="light"] .modal-info-drawer {
  background: rgba(247, 246, 242, 0.98) !important;
  border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-top-color: rgba(154, 118, 72, 0.35) !important;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.12) !important;
  color: #18191b !important;
}

[data-theme="light"] .modal-info-col .modal-cat-tag,
[data-theme="light"] .modal-info-drawer .modal-cat-tag {
  color: #8a6230 !important;
  font-weight: 500 !important;
}

[data-theme="light"] .modal-info-col .modal-title,
[data-theme="light"] .modal-info-col .modal-title-en,
[data-theme="light"] .modal-info-drawer .modal-title {
  color: #121316 !important;
}

[data-theme="light"] .modal-info-col .modal-year,
[data-theme="light"] .modal-info-drawer .modal-year {
  color: #5d6069 !important;
}

[data-theme="light"] .modal-info-col .modal-header-meta .meta-divider,
[data-theme="light"] .modal-info-drawer .modal-header-meta .meta-divider {
  color: rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] .modal-info-col .spec-item-label,
[data-theme="light"] .modal-info-drawer .spec-item-label {
  color: #5d616c !important;
  font-weight: 500 !important;
}

[data-theme="light"] .modal-info-col .spec-item-val,
[data-theme="light"] .modal-info-col .modal-spec-grid .spec-col.full-width .spec-item-val,
[data-theme="light"] .modal-info-drawer .spec-item-val {
  color: #16181c !important;
  font-weight: 450 !important;
}

[data-theme="light"] .modal-spec-grid {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .modal-info-col .modal-desc,
[data-theme="light"] .modal-info-drawer .modal-desc {
  color: #2b2d34 !important;
}

[data-theme="light"] .modal-info-col .drawer-footer-hint,
[data-theme="light"] .modal-info-drawer .drawer-footer-hint {
  color: #7b7e88 !important;
}

[data-theme="light"] .modal-info-col .drawer-drag-pill .drag-pill-bar {
  background: rgba(0, 0, 0, 0.22) !important;
}

[data-theme="light"] .modal-info-col .drawer-drag-pill:active .drag-pill-bar {
  background: var(--accent-bronze) !important;
}

[data-theme="light"] .modal-info-col .drawer-strip-section {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .modal-info-col .drawer-strip-scroll .modal-strip-thumb {
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
}

[data-theme="light"] .modal-info-col .drawer-strip-scroll .modal-strip-thumb.active {
  border-color: var(--accent-bronze) !important;
  box-shadow: 0 0 10px rgba(154, 118, 72, 0.45) !important;
}

.modal-nav-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #c0c4ce !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.modal-nav-btn:hover {
  color: #ffffff !important;
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px), (hover: none) {
  
  .modal-nav-arrow {
    display: none !important;
  }

.modal-top-actions {
    top: max(1.1rem, env(safe-area-inset-top)) !important;
    right: max(0.9rem, env(safe-area-inset-right)) !important;
    gap: 0.45rem;
  }

  .modal-top-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

.modal-view-badge {
    left: max(0.9rem, env(safe-area-inset-left)) !important;
    bottom: max(1.1rem, env(safe-area-inset-bottom)) !important;
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
  }

  .modal-view-badge.expanded {
    bottom: max(5.2rem, calc(env(safe-area-inset-bottom) + 4.5rem)) !important;
  }

@keyframes badgeBreatheHint {
    0% { transform: translateY(0); }
    30% { transform: translateY(-7px); }
    55% { transform: translateY(0); }
    75% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
  }

  .modal-view-badge.hint-bounce {
    animation: badgeBreatheHint 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .modal-view-badge::after {
    content: ' ▲' !important;
    font-size: 0.62rem !important;
    color: var(--accent-bronze) !important;
    display: inline-block;
    transition: transform 0.25s ease;
  }

  .modal-view-badge.expanded::after {
    content: ' ▼' !important;
  }

.modal-main-view,
  .image-stage {
    padding: max(3.5rem, calc(env(safe-area-inset-top) + 2.5rem)) 0.25rem max(3.5rem, calc(env(safe-area-inset-bottom) + 2.5rem));
  }

  .modal-full-img,
  .modal-image {
    max-width: 100vw;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 6.5rem);
    object-fit: contain;
  }

.drawer-drag-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 0 0.85rem;
    cursor: pointer;
    touch-action: none;
    user-select: none;
  }

  .drag-pill-bar {
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.28);
    transition: all 0.25s ease;
  }

  .drawer-drag-pill:active .drag-pill-bar {
    background: var(--accent-bronze);
    width: 50px;
  }

  .drawer-strip-section {
    display: block;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .drawer-strip-scroll {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0 0.5rem;
    scrollbar-width: none;
  }

  .drawer-strip-scroll::-webkit-scrollbar {
    display: none;
  }

  .drawer-strip-scroll .modal-strip-thumb {
    width: 72px;
    height: 50px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0.45;
    flex-shrink: 0;
    transition: all 0.25s ease;
  }

  .drawer-strip-scroll .modal-strip-thumb.active {
    opacity: 1;
    border-color: var(--accent-bronze);
    box-shadow: 0 0 12px rgba(197, 168, 128, 0.5);
    transform: scale(1.04);
  }

.modal-info-col {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: min(72dvh, calc(100dvh - 5.5rem)) !important;
    border-radius: 18px 18px 0 0 !important;
    border-left: none !important;
    border-top: 1px solid rgba(197, 168, 128, 0.35) !important;
    background: rgba(12, 14, 18, 0.97) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.8) !important;
    padding: 0.4rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)) !important;
    transform: translateY(100%) !important;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0.85rem !important;
    z-index: 98 !important;
  }

  .modal-info-col.open {
    transform: translateY(0) !important;
  }

[data-theme="light"] .modal-info-col {
    background: rgba(247, 246, 242, 0.98) !important;
    border-top: 1px solid rgba(154, 118, 72, 0.35) !important;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.12) !important;
    color: #16181d !important;
  }
  [data-theme="light"] .drag-pill-bar {
    background: rgba(0, 0, 0, 0.2);
  }
  [data-theme="light"] .drawer-strip-section {
    border-top-color: rgba(0, 0, 0, 0.08);
  }
  [data-theme="light"] .drawer-strip-scroll .modal-strip-thumb {
    border-color: rgba(0, 0, 0, 0.12);
  }
  [data-theme="light"] .drawer-strip-scroll .modal-strip-thumb.active {
    border-color: var(--accent-bronze);
    box-shadow: 0 0 10px rgba(154, 118, 72, 0.4);
  }
}

.about-section {
  padding: 0 0 7rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.about-hero-view {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  padding: 3rem 0 2rem;
  box-sizing: border-box;
}

.about-hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - var(--header-height) - 5rem);
  width: 100%;
}

.about-grid {
  margin: auto 0;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem;
  align-items: start;
}

.hero-scroll-hint-bar {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-scroll-trigger {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.hero-scroll-trigger:hover {
  color: var(--accent-bronze);
}

.scroll-trigger-line-wrap {
  width: 1px;
  height: 26px;
  background: var(--border-subtle);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.scroll-trigger-line-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent-bronze);
  animation: scrollPulse 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(200%);
    opacity: 0;
  }
}

.scroll-trigger-badge {
  font-size: 0.72rem;
  color: var(--accent-bronze);
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hero-scroll-trigger:hover .scroll-trigger-badge {
  background: rgba(197, 168, 128, 0.1);
  border-color: var(--accent-bronze);
}

.scroll-trigger-arr {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.hero-scroll-trigger:hover .scroll-trigger-arr {
  transform: translateY(3px);
}

.scroll-trigger-text-mobile {
  display: none;
}

.hint-bar-letters {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .about-hero-view {
    min-height: auto;
    padding: 3rem 0 3.5rem;
  }
  .about-hero-container {
    min-height: auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-scroll-hint-bar {
    margin-top: 2.5rem;
  }
}

@media (max-width: 640px) {
  .hero-scroll-hint-bar {
    margin-top: 1.75rem;
    padding-top: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .scroll-trigger-line-wrap {
    display: none;
  }

  .scroll-trigger-text-full {
    display: none;
  }

  .scroll-trigger-badge {
    font-size: 0.64rem;
    padding: 0.1rem 0.38rem;
    letter-spacing: 0.08em;
    flex-shrink: 0;
  }

  .scroll-trigger-text-mobile {
    display: inline;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .scroll-trigger-arr {
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .hero-scroll-trigger {
    gap: 0.4rem;
    font-size: 0.68rem;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
  }

  .hint-bar-letters {
    font-size: 0.62rem !important;
    letter-spacing: 0.06em !important;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.75;
  }
}

@media (max-width: 380px) {
  .hero-scroll-hint-bar {
    gap: 0.25rem;
  }
  .hero-scroll-trigger {
    gap: 0.3rem;
  }
  .scroll-trigger-badge {
    font-size: 0.6rem;
    padding: 0.08rem 0.3rem;
  }
  .scroll-trigger-text-mobile {
    font-size: 0.65rem;
  }
  .hint-bar-letters {
    font-size: 0.58rem !important;
    letter-spacing: 0.04em !important;
  }
}

.about-lead {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2.2rem;
  letter-spacing: 0.04em;
}

[data-theme="light"] .about-lead {
  color: #16181d;
  font-weight: 400;
}

.about-body p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
  line-height: 1.95;
  letter-spacing: 0.03em;
}

[data-theme="light"] .about-body p {
  color: #383a42;
}

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.pillar-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.pillar-letter {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent-bronze);
  font-weight: 500;
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 0.35rem;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  line-height: 1.5;
}

.founder-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 1rem 0;
}

.founder-avatar-wrap {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .founder-avatar-wrap {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.founder-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.02);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.founder-card:hover .founder-avatar {
  filter: grayscale(0%) contrast(1.0);
  transform: scale(1.03);
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent-bronze);
  text-transform: uppercase;
}

.founder-name {
  font-size: 1.65rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1.2;
}

.founder-socials {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.founder-social-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  padding: 0.2rem 0;
}

.founder-social-link:hover {
  color: var(--accent-bronze);
}

@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
  .founder-avatar-wrap {
    width: 110px;
    height: 110px;
  }
}

.team-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-subtle);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.team-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-bronze);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.team-name {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-white);
  margin-top: 0.5rem;
}

.team-title-zh {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.team-bio {
  font-size: 0.85rem;
  color: #9da0ae;
  line-height: 1.7;
  margin: 1.5rem 0 2rem;
}

.team-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.portfolio-link-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.portfolio-link-btn:hover {
  color: var(--accent-white);
  border-color: var(--accent-white);
  background: rgba(255, 255, 255, 0.05);
}

.services-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-subtle);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (max-width: 900px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

.service-item {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.service-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-bronze);
  letter-spacing: 0.2em;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent-white);
  margin: 0.75rem 0 1rem;
}

.service-desc {
  font-size: 0.88rem;
  color: #9fa2b0;
  line-height: 1.75;
}

.service-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.deliverable-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.6rem;
}

.scrolly-pillars-wrapper {
  position: relative;
  height: 420vh; 
  border-top: 1px solid var(--border-subtle);
}

.scrolly-pillars-layout {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 0 2rem;
}

.pillars-main-stage {
  margin-top: auto;
  margin-bottom: auto; 
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.pillars-matrix-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pillars-matrix-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pillars-matrix-meta::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent-bronze);
}

.pillars-nav-matrix {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-nav-btn {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 1px solid transparent;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  opacity: 0.28;
  transform: translateX(0);
  transition: transform 0.3s var(--ease-cinematic),
              background-color 0.3s ease,
              border-color 0.3s ease;
  text-align: left;
  user-select: none;
}

.pillar-nav-btn:hover {
  opacity: 0.65;
}

.pillar-nav-btn.active {
  background: rgba(197, 168, 128, 0.035);
  border-color: rgba(197, 168, 128, 0.15);
  border-left: 2px solid var(--accent-bronze);
  transform: translateX(8px);
}

[data-theme="light"] .pillar-nav-btn {
  border-left: 2px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .pillar-nav-btn.active {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.08);
  border-left: 2px solid var(--accent-bronze);
}

.nav-step-num {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  width: 24px;
  transition: color 0.45s ease;
}

.pillar-nav-btn.active .nav-step-num {
  color: var(--accent-bronze);
  font-weight: 600;
}

.nav-step-letter {
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  line-height: 1;
  font-weight: 400;
  color: var(--text-muted);
  width: 44px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-nav-btn.active .nav-step-letter {
  color: var(--accent-bronze);
  transform: scale(1.05);
}

.nav-step-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-step-en {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  transition: color 0.45s ease;
}

.pillar-nav-btn.active .nav-step-en {
  color: var(--accent-bronze);
}

.nav-step-zh {
  font-size: 1.15rem;
  font-weight: 350;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color 0.45s ease;
}

.pillar-nav-btn.active .nav-step-zh {
  color: var(--text-primary);
  font-weight: 400;
}

.pillars-stage-col {
  position: relative;
  min-height: 380px;
  width: 100%;
}

.pillar-story-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3.25rem 3.5rem;
  background: rgba(14, 16, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: opacity, transform;
}

.pillar-story-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  border-color: var(--accent-bronze);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .pillar-story-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pillar-story-card.active {
  border-color: var(--accent-bronze);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pillar-card-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--accent-bronze);
  margin-bottom: 0.85rem;
  display: block;
}

.pillar-card-title {
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--accent-white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

[data-theme="light"] .pillar-card-title {
  color: #121316;
}

.pillar-card-desc {
  font-size: 0.98rem;
  line-height: 2.0;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0;
}

[data-theme="light"] .pillar-card-desc {
  color: #4a4d56;
}

.pillars-bottom-hint {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 960px) {
  .scrolly-pillars-wrapper {
    height: auto !important;
    padding: 1.5rem 0 3rem;
  }
  .scrolly-pillars-layout {
    position: relative;
    top: 0;
    height: auto;
    padding: 1rem 0;
  }
  .pillars-main-stage {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .pillars-matrix-col {
    width: 100%;
  }
  .pillars-matrix-meta {
    margin-bottom: 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

.pillars-nav-matrix {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.4rem;
    width: 100%;
  }
  .pillar-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.25rem 0.6rem;
    gap: 0.2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.45 !important;
    transform: none !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
  }
  .pillar-nav-btn .nav-step-num {
    font-size: 0.62rem;
    width: auto;
    line-height: 1;
    opacity: 0.6;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: color 0.3s ease;
  }
  .pillar-nav-btn .nav-step-letter {
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--text-secondary);
    margin: 0.1rem 0;
    transition: all 0.3s ease;
  }
  .pillar-nav-btn .nav-step-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .pillar-nav-btn .nav-step-en {
    display: none;
  }
  .pillar-nav-btn .nav-step-zh {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--text-muted);
    transition: color 0.3s ease;
  }
  .pillar-nav-btn.active {
    opacity: 1 !important;
    background: rgba(197, 168, 128, 0.15) !important;
    border: 1px solid var(--accent-bronze) !important;
    box-shadow: 0 4px 16px rgba(197, 168, 128, 0.2), inset 0 -2px 0 var(--accent-bronze) !important;
  }
  .pillar-nav-btn.active .nav-step-num {
    color: var(--accent-bronze);
    opacity: 1;
    font-weight: 600;
  }
  .pillar-nav-btn.active .nav-step-letter {
    color: var(--accent-bronze) !important;
    transform: scale(1.08);
  }
  .pillar-nav-btn.active .nav-step-zh {
    color: var(--text-primary) !important;
    font-weight: 600;
  }

  [data-theme="light"] .pillar-nav-btn {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    opacity: 0.45 !important;
  }
  [data-theme="light"] .pillar-nav-btn.active {
    opacity: 1 !important;
    background: rgba(197, 168, 128, 0.18) !important;
    border-color: var(--accent-bronze) !important;
  }

.pillars-stage-col {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 290px;
    margin-top: 0.25rem;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    touch-action: pan-y;
    overflow: hidden;
  }
  .pillar-story-card {
    grid-area: 1 / 1;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.75rem 1.4rem;
    background: rgba(18, 20, 24, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none !important;
    transition: opacity 0.35s ease, border-color 0.3s ease;
    overflow: hidden;
  }
  .pillar-story-card::before {
    content: attr(data-letter);
    position: absolute;
    right: 0.75rem;
    bottom: -0.25rem;
    font-family: var(--font-serif);
    font-size: 6.5rem;
    line-height: 1;
    font-weight: 300;
    color: var(--accent-bronze);
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
  }
  .pillar-story-card.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    border-color: var(--accent-bronze);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    z-index: 2;
  }
  [data-theme="light"] .pillar-story-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
  }
  [data-theme="light"] .pillar-story-card.active {
    border-color: var(--accent-bronze);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }
  .pillar-card-badge {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.65rem;
  }
  .pillar-card-title {
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }
  .pillar-card-desc {
    font-size: 0.88rem;
    line-height: 1.85;
  }

.pillars-bottom-hint {
    padding-top: 1rem;
    margin-top: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    overflow: hidden;
  }
  .pillars-bottom-hint .scroll-trigger-line-wrap {
    display: none;
  }
  .pillars-bottom-hint .hero-scroll-trigger {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .pillars-bottom-hint #pillarsStepBadge {
    flex-shrink: 0;
    font-size: 0.68rem;
  }
  .pillars-bottom-hint #pillarsHintText {
    flex: 1;
    min-width: 0;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }
  .pillars-bottom-hint .scroll-trigger-arr {
    flex-shrink: 0;
    font-size: 0.75rem;
  }
  .pillars-bottom-hint > span.font-mono:last-child {
    display: none !important; 
  }
}

.services-section {
  padding: 0 0 5rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.services-hero-view {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  padding: 3rem 0 2rem;
  box-sizing: border-box;
}

.services-hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - var(--header-height) - 5rem);
  width: 100%;
}

.services-hero-grid {
  margin: auto 0;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem;
  align-items: start;
}

.services-hero-grid .section-title {
  margin-top: 0.75rem;
  line-height: 1.35;
}

.services-hero-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.services-hero-body p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.95;
  letter-spacing: 0.03em;
  margin: 0;
}

[data-theme="light"] .services-hero-body p {
  color: #383a42;
}

.services-hero-body .services-lead {
  font-size: 1.3rem;
  line-height: 1.75;
  color: var(--text-primary);
  font-weight: 350;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .services-hero-body .services-lead {
  color: #121316;
}

.services-mediums-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3.5rem 0 2rem;
  box-sizing: border-box;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.services-mediums-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - var(--header-height) - 5rem);
  width: 100%;
}

.services-mediums-main {
  margin: auto 0;
  padding: 1rem 0;
}

.services-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 2.75rem;
}

.service-card-item {
  padding: 2.5rem 2.25rem;
  background: rgba(14, 16, 20, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s var(--ease-cinematic);
}

.service-card-item:hover {
  border-color: rgba(197, 168, 128, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.service-card-item.active {
  border-color: var(--accent-bronze);
  box-shadow: 0 12px 32px rgba(197, 168, 128, 0.16), 0 8px 24px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .service-card-item {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-card-item:hover,
[data-theme="light"] .service-card-item.active {
  border-color: var(--accent-bronze);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.service-card-item .service-num {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--accent-bronze);
  display: block;
  margin-bottom: 0.85rem;
}

.service-card-item .service-title {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent-white);
  margin-bottom: 1rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

[data-theme="light"] .service-card-item .service-title {
  color: #121316;
}

.service-card-item .service-desc {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  font-weight: 300;
}

[data-theme="light"] .service-card-item .service-desc {
  color: #4a4d56;
}

.workflow-scrolly-wrapper {
  position: relative;
  height: 480vh; 
  border-top: 1px solid var(--border-subtle);
}

.workflow-scrolly-layout {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

.workflow-main-stage {
  margin-top: auto;
  margin-bottom: auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.workflow-matrix-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.workflow-matrix-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.workflow-matrix-meta::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent-bronze);
}

.workflow-nav-matrix {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.workflow-nav-btn {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: 1px solid transparent;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  opacity: 0.28;
  transform: translateX(0);
  transition: transform 0.3s var(--ease-cinematic),
              background-color 0.3s ease,
              border-color 0.3s ease;
  text-align: left;
  user-select: none;
}

.workflow-nav-btn:hover {
  opacity: 0.65;
}

.workflow-nav-btn.active {
  background: rgba(197, 168, 128, 0.035);
  border-color: rgba(197, 168, 128, 0.15);
  border-left: 2px solid var(--accent-bronze);
  transform: translateX(8px);
}

[data-theme="light"] .workflow-nav-btn {
  border-left: 2px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .workflow-nav-btn.active {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.08);
  border-left: 2px solid var(--accent-bronze);
}

.workflow-step-num {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  width: 24px;
  transition: color 0.35s ease;
}

.workflow-nav-btn.active .workflow-step-num {
  color: var(--accent-bronze);
  font-weight: 600;
}

.workflow-step-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.workflow-step-en {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  transition: color 0.35s ease;
}

.workflow-nav-btn.active .workflow-step-en {
  color: var(--accent-bronze);
}

.workflow-step-zh {
  font-size: 1.08rem;
  font-weight: 350;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color 0.35s ease;
}

.workflow-nav-btn.active .workflow-step-zh {
  color: var(--text-primary);
  font-weight: 400;
}

.workflow-stage-col {
  position: relative;
  min-height: 400px;
  width: 100%;
}

.workflow-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3.25rem 3.5rem;
  background: rgba(14, 16, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: opacity, transform;
}

.workflow-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  border-color: var(--accent-bronze);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .workflow-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .workflow-card.active {
  border-color: var(--accent-bronze);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.workflow-card-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--accent-bronze);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: block;
}

.workflow-card-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-white);
  margin-bottom: 1.15rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

[data-theme="light"] .workflow-card-title {
  color: #121316;
}

.workflow-card-desc {
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0;
}

[data-theme="light"] .workflow-card-desc {
  color: #4a4d56;
}

.workflow-deliverables {
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.deliverable-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}

[data-theme="light"] .deliverable-chip {
  background: rgba(0, 0, 0, 0.03);
}

.workflow-bottom-hint {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.services-cta-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.services-cta-card {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.services-cta-card h3 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 350;
  letter-spacing: 0.04em;
  color: var(--accent-white);
  line-height: 1.35;
  text-wrap: balance;
}

[data-theme="light"] .services-cta-card h3 {
  color: #121316;
}

.services-cta-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 740px;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

[data-theme="light"] .services-cta-card p {
  color: #4a4d56;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--accent-bronze);
  border: 1px solid var(--accent-bronze);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.services-cta-btn:hover {
  background: var(--accent-bronze);
  color: #0b0c0e;
  box-shadow: 0 10px 25px rgba(197, 168, 128, 0.25);
}

@media (max-width: 960px) {
  .services-hero-view {
    min-height: auto;
    padding: 4rem 0 3rem;
  }
  .services-hero-container {
    min-height: auto;
  }
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-mediums-section {
    min-height: auto;
    padding: 4.5rem 0 3rem;
  }
  .services-mediums-container {
    min-height: auto;
  }
  .services-grid-3col {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2rem;
  }
  .service-card-item {
    padding: 2.25rem 1.75rem;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  }
  .service-card-item.active {
    border-color: var(--accent-bronze) !important;
    box-shadow: 0 10px 28px rgba(197, 168, 128, 0.18), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  }
  [data-theme="light"] .service-card-item.active {
    border-color: var(--accent-bronze) !important;
    box-shadow: 0 8px 24px rgba(197, 168, 128, 0.2) !important;
  }
  .workflow-scrolly-wrapper {
    height: auto;
  }
  .workflow-scrolly-layout {
    position: relative;
    top: 0;
    height: auto;
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }
  .workflow-main-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .workflow-matrix-col {
    display: none; 
  }
  .workflow-stage-col {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  .workflow-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 1.85rem 1.4rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
  }
  .workflow-card.active {
    border-color: var(--accent-bronze) !important;
    box-shadow: 0 10px 28px rgba(197, 168, 128, 0.16), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  }
  [data-theme="light"] .workflow-card {
    border-color: rgba(0, 0, 0, 0.08);
  }
  [data-theme="light"] .workflow-card.active {
    border-color: var(--accent-bronze) !important;
    box-shadow: 0 8px 24px rgba(197, 168, 128, 0.18) !important;
  }
  .workflow-bottom-hint {
    display: none;
  }
}

.contact-section {
  padding: calc(var(--header-height) + 3rem) 0 6rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-color);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.contact-container {
  width: 100%;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5.5rem;
  align-items: start;
  margin-top: 2.5rem;
}

.contact-lead {
  font-size: 1.12rem;
  line-height: 1.95;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0 0 2.5rem;
  letter-spacing: 0.02em;
}

[data-theme="light"] .contact-lead {
  color: #383a42;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.contact-meta-subgrid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-meta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.contact-meta-head h4 {
  margin-bottom: 0 !important;
}

.copy-email-btn {
  background: transparent;
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: var(--accent-bronze);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.copy-email-btn .copy-icon {
  font-size: 0.8rem;
  line-height: 1;
}

.copy-email-btn:hover {
  background: var(--accent-bronze);
  color: #0c0d10 !important;
  border-color: var(--accent-bronze);
}

[data-theme="light"] .copy-email-btn {
  color: #8a6230;
  border-color: rgba(138, 98, 48, 0.35);
  background: rgba(138, 98, 48, 0.05);
}

[data-theme="light"] .copy-email-btn:hover {
  background: #8a6230;
  color: #ffffff !important;
  border-color: #8a6230;
}

.rest-toast {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(14, 16, 20, 0.95);
  color: #f4f4f6;
  border: 1px solid var(--accent-bronze);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 0.65rem 1.25rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.rest-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

[data-theme="light"] .rest-toast {
  background: rgba(255, 255, 255, 0.96);
  color: #121316;
  border-color: #8a6230;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-meta-item h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.contact-meta-item p {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.6;
}

[data-theme="light"] .contact-meta-item p {
  color: #121316;
}

.contact-meta-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.contact-email-link {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  color: var(--accent-bronze);
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  max-width: 100%;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(197, 168, 128, 0.35);
  padding-bottom: 0.2rem;
}

.contact-email-link .email-text {
  text-decoration: none;
}

.contact-email-link .email-arrow {
  display: inline-block;
  font-size: 0.9em;
  transition: transform 0.25s ease;
}

.contact-email-link:hover {
  border-bottom-color: var(--accent-bronze);
}

.contact-email-link:hover .email-arrow {
  transform: translate(2px, -2px);
}

.inquiry-guide-card {
  padding: 3rem 2.75rem;
  background: rgba(14, 16, 20, 0.65);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--accent-bronze);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .inquiry-guide-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
  border-top: 2px solid var(--accent-bronze);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.inquiry-guide-tag {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--accent-bronze);
}

.inquiry-guide-title {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent-white);
  margin: 0;
}

[data-theme="light"] .inquiry-guide-title {
  color: #121316;
}

.inquiry-guide-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 300;
}

[data-theme="light"] .inquiry-guide-desc {
  color: #4a4d56;
}

.inquiry-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.inquiry-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.inquiry-checklist-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

[data-theme="light"] .inquiry-checklist-item {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.inquiry-check-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  padding-top: 0.18rem;
  flex-shrink: 0;
}

.inquiry-check-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.inquiry-check-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
}

[data-theme="light"] .inquiry-check-title {
  color: #121316;
}

.inquiry-check-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

[data-theme="light"] .inquiry-check-desc {
  color: #5d616c;
}

.inquiry-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.75rem;
  background: transparent;
  color: var(--accent-bronze);
  border: 1px solid var(--accent-bronze);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
  margin-top: 0.5rem;
  text-align: center;
}

.inquiry-action-btn:hover {
  background: var(--accent-bronze);
  color: #0b0c0e !important;
  box-shadow: 0 10px 25px rgba(197, 168, 128, 0.25);
}

[data-theme="light"] .inquiry-action-btn {
  color: #8a6230;
  border-color: rgba(138, 98, 48, 0.5);
  background: rgba(138, 98, 48, 0.04);
}

[data-theme="light"] .inquiry-action-btn:hover {
  background: #8a6230;
  color: #ffffff !important;
  border-color: #8a6230;
  box-shadow: 0 8px 20px rgba(138, 98, 48, 0.22);
}

@media (max-width: 960px) {
  .contact-section {
    padding: calc(var(--header-height) + 2.5rem) 0 4.5rem;
    min-height: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    margin-top: 1.75rem;
  }

  .contact-lead {
    font-size: 1.02rem;
    line-height: 1.85;
    margin: 0 0 1.75rem;
  }

  .contact-meta-list {
    gap: 1.5rem;
    padding-top: 1.25rem;
  }

  .contact-meta-item.highlight {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 1.15rem 1.25rem;
    border-radius: 4px;
  }

  [data-theme="light"] .contact-meta-item.highlight {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
  }

  .contact-meta-item.highlight h4 {
    margin-bottom: 0.35rem;
  }

  .contact-email-link {
    font-size: clamp(0.95rem, 4.2vw, 1.25rem);
    letter-spacing: 0.01em;
  }

  .contact-meta-subgrid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
    align-items: start;
  }

  .inquiry-guide-card {
    padding: 2rem 1.5rem;
    gap: 1.35rem;
    border-radius: 6px;
  }

  .inquiry-guide-title {
    font-size: 1.15rem;
  }

  .inquiry-guide-desc {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .inquiry-checklist {
    gap: 1rem;
  }

  .inquiry-checklist-item {
    gap: 0.75rem;
    padding-bottom: 0.9rem;
  }

  .inquiry-check-title {
    font-size: 0.9rem;
  }

  .inquiry-check-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .inquiry-action-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 540px) {
  .contact-section {
    padding: calc(var(--header-height) + 2rem) 0 3.5rem;
  }

  .contact-layout {
    gap: 2.25rem;
    margin-top: 1.25rem;
  }

  .contact-meta-subgrid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .contact-meta-item.highlight {
    padding: 1rem 1.1rem;
  }

  .inquiry-guide-card {
    padding: 1.5rem 1.15rem;
    gap: 1.15rem;
  }

  .inquiry-check-title {
    font-size: 0.88rem;
  }
}

.site-footer {
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--footer-bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--accent-white);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  max-width: 420px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: var(--accent-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}