/* ==========================================================================
   Unified Platform Icon System (Lucide 24×24 · stroke 1.75)
   Pure Flat · Zero-Shadow · Zero-Wireframe · Youthful Tonal Architecture
   ========================================================================== */

html,
body,
section#work,
.work-canvas {
  overflow-x: clip;
}

svg.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

svg.icon.icon-sm {
  width: 14px;
  height: 14px;
}

.inline-icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* ---------- Unified Homepage Liquid Glass Header & Controls (Homepage Only) ---------- */
header.navigation {
  --nav-h: 38px;
  --nav-r: 999px;
  --nav-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.08) 100%);
  --nav-surface-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.13) 100%);
  --nav-border: rgba(255, 255, 255, 0.34);
  --nav-border-hover: rgba(255, 255, 255, 0.5);
  --nav-glass-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.46),
    inset 0 -1px 0.5px rgba(255, 255, 255, 0.12),
    0 8px 22px rgba(14, 22, 54, 0.12),
    0 0 14px rgba(255, 255, 255, 0.08);
  --nav-fill: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.18) 100%);
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

header.navigation .wordmark {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
  text-decoration: none;
}

header.navigation .nav-logo {
  width: 32px !important;
  height: 32px !important;
  display: block;
  flex: none;
  filter: brightness(0) invert(1);
  opacity: 0.96;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

header.navigation .wordmark:hover .nav-logo {
  transform: rotate(-12deg);
  opacity: 1;
}

header.navigation .nav-controls {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-left: auto !important;
}

/* 1 & 2. Twin Liquid Glass Pill Ruler Scrubbers (Daylight & Ambient Volume) */
header.navigation .nav-scrubber,
header.navigation .theme-toggle,
header.navigation #sound {
  --scale-start: 40px;
  --scale-end: 15px;
  --scale-w: 84px;
  --pos: var(--daylight-position, 0.333);
  position: relative !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--nav-h) !important;
  min-height: var(--nav-h) !important;
  padding: 0 var(--scale-end) 0 13px !important;
  gap: 11px !important;
  border-radius: var(--nav-r) !important;
  background: var(--nav-surface) !important;
  border: 1px solid var(--nav-border) !important;
  outline: none !important;
  box-shadow: var(--nav-glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(165%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  color: inherit !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

header.navigation #sound.sound-scrubber {
  --scale-w: 60px;
  --pos: 0;
}

header.navigation .nav-scrubber::before,
header.navigation .nav-scrubber::after,
header.navigation .theme-toggle::before,
header.navigation .theme-toggle::after {
  content: none !important;
  display: none !important;
}

header.navigation .nav-scrubber:hover,
header.navigation .nav-scrubber:has(input:focus-visible) {
  background: var(--nav-surface-hover) !important;
  border-color: var(--nav-border-hover) !important;
}

header.navigation .nav-scrubber:focus,
header.navigation .nav-scrubber:focus-within {
  outline: none !important;
}

/* Soft Luminous Liquid Glass Inner Progress Veil */
header.navigation .scrubber-fill {
  display: block !important;
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(var(--scale-start) - 2px + var(--pos) * var(--scale-w));
  border-radius: 999px;
  background: var(--nav-fill);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.22s ease;
}

header.navigation .sound-scrubber[data-state="muted"] .scrubber-fill {
  opacity: 0;
}

/* Left icon inside each scrubber */
header.navigation .scrubber-icon {
  position: relative;
  z-index: 4;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  flex: none;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.32));
}

header.navigation .sound-mute-btn {
  width: 24px;
  height: 24px;
  margin: 0 -4px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.18s ease;
}

header.navigation .sound-mute-btn:hover {
  opacity: 1;
}

header.navigation .nav-scrubber svg.icon {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  flex: none !important;
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  fill: none !important;
  opacity: 0.96 !important;
}

/* Dynamic Lucide volume icon states (0% muted / 1-50% low / 51-100% high) */
header.navigation .sound-scrubber[data-state="muted"] .sound-wave-1,
header.navigation .sound-scrubber[data-state="muted"] .sound-wave-2 {
  display: none;
}

header.navigation .sound-scrubber[data-state="low"] .sound-muted,
header.navigation .sound-scrubber[data-state="low"] .sound-wave-2 {
  display: none;
}

header.navigation .sound-scrubber[data-state="high"] .sound-muted {
  display: none;
}

/* Precision Ruler Ticks + Luminous Crisp White Needle */
header.navigation .scrubber-scale {
  position: relative;
  z-index: 1;
  width: var(--scale-w);
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  pointer-events: none;
}

header.navigation .scrubber-scale i {
  display: block;
  width: 1.4px;
  height: 5.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.34);
  flex: none;
}

header.navigation .scrubber-scale i.is-major {
  height: 13px;
  background: rgba(255, 255, 255, 0.62);
}

header.navigation .scrubber-needle {
  display: block !important;
  position: absolute;
  top: 50%;
  left: calc(var(--pos) * 100%);
  width: 2.2px;
  height: 17px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

header.navigation .sound-scrubber[data-state="muted"] .scrubber-needle {
  opacity: 0.52;
  box-shadow: none;
}

/* Invisible 1:1 Range Input Hit Layer Aligned Directly Over Ruler Scale */
header.navigation .nav-scrubber input[type="range"] {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: calc(var(--scale-start) - 4px) !important;
  right: auto !important;
  width: calc(var(--scale-w) + 8px) !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  cursor: ew-resize !important;
  z-index: 3 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* 3. Unified Liquid Glass Pill Navigation & Primary Aurora CTA Buttons */
header.navigation .nav-work,
header.navigation .contact-pill {
  height: var(--nav-h) !important;
  line-height: 1 !important;
  border-radius: var(--nav-r) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em !important;
  text-decoration: none !important;
  backdrop-filter: blur(18px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(165%) !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

header.navigation .nav-work {
  margin-left: 0 !important;
  padding: 0 17px !important;
  background: var(--nav-surface) !important;
  border: 1px solid var(--nav-border) !important;
  box-shadow: var(--nav-glass-shadow) !important;
  color: inherit !important;
  opacity: 1 !important;
}

header.navigation .nav-work:hover {
  background: var(--nav-surface-hover) !important;
  border-color: var(--nav-border-hover) !important;
  transform: translateY(-1px);
}

/* Crystal-Clear Sky-Adaptive Liquid Glass Primary CTA (Navbar Contact Pill) */
header.navigation .contact-pill {
  position: relative;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background:
    radial-gradient(ellipse 88% 120% at 50% 0%, rgba(255, 255, 255, 0.36) 0%, rgba(214, 232, 255, 0.14) 54%, transparent 82%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(220, 235, 255, 0.14) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.72),
    inset 0 -1px 1.5px rgba(176, 206, 255, 0.22),
    0 8px 22px rgba(14, 22, 54, 0.14),
    0 0 16px rgba(210, 228, 255, 0.14) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(16, 28, 64, 0.16);
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.26s ease !important;
}

header.navigation .contact-pill:hover {
  background:
    radial-gradient(ellipse 88% 120% at 50% 0%, rgba(255, 255, 255, 0.46) 0%, rgba(220, 236, 255, 0.2) 56%, transparent 84%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(226, 238, 255, 0.21) 100%) !important;
  border-color: rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.85),
    inset 0 -1px 2px rgba(186, 214, 255, 0.28),
    0 12px 26px rgba(14, 22, 54, 0.18),
    0 0 22px rgba(220, 234, 255, 0.22) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Sky-Harmonized Crystal Pearl Liquid Glass Pills on Light Surface (About / Footer) */
section#about .text-link,
footer#contact .copy-email {
  position: relative;
  height: 44px;
  padding: 0 22px !important;
  font-weight: 500;
  border-radius: 999px !important;
  background:
    radial-gradient(ellipse 74% 120% at 32% 18%, rgba(148, 184, 248, 0.22), transparent 64%),
    radial-gradient(ellipse 68% 110% at 76% 86%, rgba(196, 206, 246, 0.2), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(242, 246, 255, 0.54) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.96),
    inset 0 -1.5px 2.5px rgba(132, 158, 218, 0.18),
    0 10px 24px rgba(24, 38, 78, 0.08),
    0 2px 6px rgba(24, 38, 78, 0.04) !important;
  color: #252938 !important;
  backdrop-filter: blur(20px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, color 0.2s ease, background 0.26s ease !important;
}

section#about .text-link:hover,
footer#contact .copy-email:hover {
  color: #11131a !important;
  transform: translateY(-1.5px);
  background:
    radial-gradient(ellipse 74% 120% at 32% 18%, rgba(148, 184, 248, 0.3), transparent 64%),
    radial-gradient(ellipse 68% 110% at 76% 86%, rgba(196, 206, 246, 0.26), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(244, 248, 255, 0.68) 100%) !important;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 1),
    inset 0 -1.5px 3px rgba(132, 158, 218, 0.24),
    0 14px 30px rgba(24, 38, 78, 0.12),
    0 3px 8px rgba(24, 38, 78, 0.05) !important;
}

/* Mobile-only Menu button — Matching Liquid Glass Pill Surface */
header.navigation .menu-toggle {
  display: none !important;
  height: var(--nav-h) !important;
  line-height: 1 !important;
  padding: 0 15px !important;
  border-radius: var(--nav-r) !important;
  border: 1px solid var(--nav-border) !important;
  box-shadow: var(--nav-glass-shadow) !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: var(--nav-surface) !important;
  color: inherit !important;
  backdrop-filter: blur(18px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(165%) !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

header.navigation .menu-toggle:hover {
  background: var(--nav-surface-hover) !important;
  border-color: var(--nav-border-hover) !important;
}

/* ---------- 4. Upgraded Left Vertical Quick-Slide Navigation (Single Sleek Liquid Glass Capsule) ---------- */
nav.page-toc {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

nav.page-toc::before,
nav.page-toc::after {
  content: none !important;
  display: none !important;
}

nav.page-toc .toc-rail {
  position: relative !important;
  width: 36px !important;
  height: 158px !important;
  padding: 20px 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  backdrop-filter: blur(20px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(175%) !important;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

nav.page-toc .toc-ticks {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
}

nav.page-toc .toc-needle {
  position: absolute !important;
  top: calc(20px + var(--toc-position, 0) * (100% - 40px)) !important;
  left: 50% !important;
  right: auto !important;
  width: 18px !important;
  height: 2.2px !important;
  border-radius: 999px !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}

nav.page-toc[data-surface="sky"] .toc-rail {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.19) 0%, rgba(255, 255, 255, 0.09) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.48),
    inset 0 -1px 2px rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(12, 20, 48, 0.16),
    0 0 16px rgba(255, 255, 255, 0.08) !important;
}

nav.page-toc[data-surface="sky"] .toc-ticks i {
  background: rgba(255, 255, 255, 0.78) !important;
}

nav.page-toc[data-surface="sky"] .toc-needle {
  background: #ffffff !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85) !important;
}

nav.page-toc[data-surface="light"] .toc-rail,
nav.page-toc:not([data-surface]) .toc-rail {
  background:
    radial-gradient(ellipse 140% 42% at 50% 18%, rgba(146, 184, 248, 0.2), transparent 70%),
    radial-gradient(ellipse 140% 38% at 50% 82%, rgba(196, 208, 246, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 248, 255, 0.66) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.94) !important;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.98),
    inset 0 -1.5px 3px rgba(120, 142, 196, 0.16),
    0 12px 28px rgba(20, 28, 56, 0.09),
    0 2px 6px rgba(20, 28, 56, 0.04) !important;
}

nav.page-toc[data-surface="light"] .toc-ticks i,
nav.page-toc:not([data-surface]) .toc-ticks i {
  background: rgba(24, 28, 42, 0.5) !important;
}

nav.page-toc[data-surface="light"] .toc-needle,
nav.page-toc:not([data-surface]) .toc-needle {
  background: #14161f !important;
  box-shadow: 0 0 8px rgba(20, 22, 31, 0.28) !important;
}

nav.page-toc .toc-caption {
  border-radius: 999px !important;
  padding: 5px 11px !important;
  backdrop-filter: blur(18px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(165%) !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

nav.page-toc[data-surface="sky"] .toc-caption {
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 20px rgba(12, 18, 44, 0.14) !important;
}

nav.page-toc[data-surface="light"] .toc-caption,
nav.page-toc:not([data-surface]) .toc-caption {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(24, 28, 42, 0.1) !important;
  color: #181b26 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 8px 22px rgba(20, 28, 52, 0.1) !important;
}

nav.page-toc[data-surface="light"] .toc-chapter-label,
nav.page-toc:not([data-surface]) .toc-chapter-label {
  color: #181b26 !important;
}

nav.page-toc[data-surface="sky"] .toc-chapter-label {
  color: #ffffff !important;
}

header.navigation .sound-mute-btn:focus-visible,
header.navigation .nav-work:focus-visible,
header.navigation .contact-pill:focus-visible,
header.navigation .menu-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65) !important;
  outline-offset: 2px !important;
}

/* Service accordion Lucide Plus icon alignment only (preserve original homepage styling) */
.service i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.service i svg.icon {
  width: 16px;
  height: 16px;
}

.service.open i {
  transform: rotate(45deg);
}

/* Footer Daylight Lucide Sun & Moon — Clean Exclusive Phase Crossfade (preserve original handle shadow) */
.footer-time-handle svg.icon,
.footer-time-handle .time-sun,
.footer-time-handle .time-moon {
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  fill: none !important;
  transition: opacity 0.25s ease !important;
}

.footer-time-handle .time-moon {
  width: 17px !important;
  height: 17px !important;
  transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.footer-time-handle .sun-rays path {
  stroke-dasharray: var(--sun-ray-length, 3.6) 8 !important;
  stroke-dashoffset: 0 !important;
  opacity: 1 !important;
}

.footer-time-handle[data-phase="day"] .time-sun {
  opacity: 1 !important;
  transform: scale(1) rotate(calc(var(--daylight-position, 0.333) * 120deg)) !important;
}

.footer-time-handle[data-phase="day"] .time-moon {
  opacity: 0 !important;
  transform: scale(0.65) rotate(-24deg) !important;
}

.footer-time-handle[data-phase="night"] .time-sun {
  opacity: 0 !important;
  transform: scale(0.65) rotate(calc(var(--daylight-position, 0.7) * 120deg + 30deg)) !important;
}

.footer-time-handle[data-phase="night"] .time-moon {
  opacity: 1 !important;
  transform: scale(1) rotate(0deg) !important;
}

footer .footer-wordmark .brand-logo {
  filter: invert(var(--footer-logo-invert, 0));
  transition: filter 0.2s ease;
}

footer#contact .footer-bottom {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding-inline: clamp(24px, 4vw, 60px) !important;
  box-sizing: border-box !important;
}

/* Seamless Sky-to-White Seam Veil + Crystal-Clear Cerulean Daytime Sky (Zero Yellow Haze) */
section#home.hero {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Pure, luminous cerulean-to-ice-white daytime sky matching crystal blue reference (no warm beige horizon) */
section#home.hero .sky-midday {
  background-image: linear-gradient(
    180deg,
    #4d83d6 0%,
    #6398e3 24%,
    #85b5ee 50%,
    #b5d6f8 74%,
    #e0effd 89%,
    #ffffff 100%
  ) !important;
}

/* Note: .footer-atmosphere has scaleY(-1), so 0% renders at the bottom and 100% blends into white at top */
footer#contact .sky-midday {
  background-image: linear-gradient(
    180deg,
    #467cd2 0%,
    #5e94e2 24%,
    #86b7ef 50%,
    #b8d8f9 74%,
    #e3f1fe 88%,
    #ffffff 100%
  ) !important;
}

/* Boost white cloud presence smoothly during blue midday sky while keeping morning/sunset/night untouched */
footer#contact .footer-sky::after {
  opacity: calc(0.38 + 0.24 * var(--midday-opacity, 0) * (1 - var(--afternoon-opacity, 0))) !important;
}

/* Sculpted Pearl-Glass Personal Logo Emblem Half-Occluded Inside Drifting Clouds (Zero Box Clipping) */
section#home.hero .hero-emblem.moon {
  position: absolute !important;
  top: -32px !important;
  left: 50% !important;
  width: clamp(460px, 44vw, 630px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  transform: translateX(-67%) rotate(-11deg) !important;
  z-index: -2 !important;
  opacity: calc(var(--moon-opacity, 0.84) * 0.94) !important;
  overflow: visible !important;
  filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  pointer-events: none !important;
}

/* Crisp Luminous Night & Twilight Sparkle Stars */
section#home.hero .star-sparkle {
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #ffffff 0 7%, rgba(255, 255, 255, 0.78) 14%, rgba(255, 255, 255, 0.22) 34%, transparent 68%);
}

section#home.hero .star-sparkle::before {
  width: 1.2px;
  height: 100%;
}

section#home.hero .star-sparkle::after {
  width: 100%;
  height: 1.2px;
}

section#home.hero .star-anchor {
  opacity: 0.78;
  animation: gagaStarBreath 4.5s ease-in-out infinite;
}

@keyframes gagaStarBreath {
  0%, 100% { opacity: 0.34; transform: scale(0.76); }
  50% { opacity: 0.96; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  section#home.hero .star-anchor {
    animation: none;
    opacity: 0.72;
  }
}

/* High-Fashion Sculptural Didone Masthead (Bodoni Moda Medium · Variable opsz 6..96 · SIL OFL 1.1) */
@font-face {
  font-family: 'Bodoni Moda';
  src: url('assets/bodoni-moda-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Sculpted Pearl-Silver Editorial Masthead (Zero Fake Text-Stroke, Zero Muddy Opacity) */
section#home.hero .hero-title {
  text-shadow: none !important;
}

section#home.hero .hero-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(92vw, 1080px);
  height: clamp(190px, 28vw, 390px);
  border-radius: 999px;
  background: radial-gradient(
    ellipse 62% 56% at 50% 50%,
    rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.36) 0%,
    rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.15) 48%,
    rgba(var(--hero-shadow-rgb, 36, 72, 138), 0) 76%
  );
  filter: blur(26px);
  pointer-events: none;
  z-index: -1;
}

section#home.hero .hero-lockup {
  position: relative;
  display: inline-block;
  line-height: 1;
}

section#home.hero .hero-title h1 {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: clamp(72px, 12.6vw, 196px) !important;
  font-weight: 500 !important;
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 64;
  letter-spacing: -0.042em !important;
  line-height: 1.06 !important;
  padding: 0.04em 0.04em 0.16em !important;
  margin: 0 0 -0.14em !important;
  -webkit-text-stroke: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 62%,
    color-mix(in srgb, #ffffff 91%, rgb(var(--hero-shadow-rgb, 36, 72, 138))) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter:
    drop-shadow(0 14px 36px rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.48))
    drop-shadow(0 2px 9px rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.30)) !important;
}

section#home.hero .hero-title .the {
  position: absolute !important;
  left: 0.14em !important;
  top: -0.62em !important;
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: clamp(26px, 3.6vw, 52px) !important;
  font-weight: 500 !important;
  font-variation-settings: 'opsz' 28;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  padding-bottom: 0.08em !important;
  -webkit-text-stroke: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 68%,
    color-mix(in srgb, #ffffff 93%, rgb(var(--hero-shadow-rgb, 36, 72, 138))) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter:
    drop-shadow(0 8px 20px rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.46))
    drop-shadow(0 2px 6px rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.28)) !important;
}

section#home.hero .hero-o {
  position: relative;
  display: inline-block;
  font-variation-settings: 'opsz' 64;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 62%,
    color-mix(in srgb, #ffffff 91%, rgb(var(--hero-shadow-rgb, 36, 72, 138))) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

section#home.hero .hero-o .spark {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: 54.5% !important;
  transform: translate(-50%, -50%) !important;
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: 0.16em !important;
  line-height: 1 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.96), 0 0 22px rgba(255, 255, 255, 0.62) !important;
  pointer-events: none;
}

section#home.hero .hero-title p {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: clamp(20px, 2.9vw, 42px) !important;
  font-weight: 500 !important;
  font-variation-settings: 'opsz' 16;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  margin: clamp(12px, 1.5vw, 22px) 0 0 !important;
  padding-bottom: 0.08em !important;
  -webkit-text-stroke: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 74%,
    color-mix(in srgb, #ffffff 94%, rgb(var(--hero-shadow-rgb, 36, 72, 138))) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter:
    drop-shadow(0 8px 22px rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.56))
    drop-shadow(0 2px 7px rgba(var(--hero-shadow-rgb, 36, 72, 138), 0.38)) !important;
}

@media (max-width: 650px) {
  section#home.hero .hero-title h1 {
    font-size: clamp(54px, 15.2vw, 96px) !important;
    letter-spacing: -0.038em !important;
  }
  section#home.hero .hero-title .the {
    font-size: clamp(20px, 5.2vw, 30px) !important;
    left: 0.12em !important;
    top: -0.62em !important;
  }
  section#home.hero .hero-title p {
    font-size: clamp(17px, 5vw, 24px) !important;
    margin-top: 10px !important;
  }
}

section#home.hero::after {
  content: "" !important;
  position: absolute !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 28% !important;
  min-height: 200px !important;
  z-index: 5 !important;
  transform: none !important;
  pointer-events: none !important;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 255, 255, 0.18) 40%,
    rgba(255, 255, 255, 0.44) 58%,
    rgba(255, 255, 255, 0.76) 76%,
    rgba(255, 255, 255, 0.96) 89%,
    #ffffff 94%,
    #ffffff 100%
  ) !important;
}

section#home.hero .hero-title,
section#home.hero .hero-bottom,
section#home.hero .coordinates {
  z-index: 7 !important;
}

section#intro.intro {
  position: relative !important;
  z-index: 6 !important;
  overflow: visible !important;
  background-color: #ffffff !important;
  border-top: 0 !important;
}

section#intro.intro::before {
  content: "" !important;
  position: absolute !important;
  top: -5px !important;
  left: 50% !important;
  width: 100vw !important;
  height: 10px !important;
  transform: translateX(-50%) !important;
  background: #ffffff !important;
  pointer-events: none !important;
  z-index: 8 !important;
}

footer#contact {
  border-top: 0 !important;
}

footer#contact::before {
  content: "" !important;
  position: absolute !important;
  top: -2px !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  height: 36% !important;
  min-height: 180px !important;
  z-index: 2 !important;
  transform: none !important;
  pointer-events: none !important;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 8%,
    rgba(255, 255, 255, 0.92) 20%,
    rgba(255, 255, 255, 0.72) 36%,
    rgba(255, 255, 255, 0.44) 54%,
    rgba(255, 255, 255, 0.18) 72%,
    rgba(255, 255, 255, 0.04) 86%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

footer#contact .footer-content,
footer#contact .footer-daylight,
footer#contact .footer-bottom {
  position: relative;
  z-index: 3;
}

@media (max-width: 780px) {
  header.navigation {
    gap: 8px !important;
  }

  header.navigation .wordmark {
    gap: 6px !important;
    font-size: 15px !important;
  }

  header.navigation .nav-logo {
    width: 26px !important;
    height: 26px !important;
  }

  header.navigation .nav-controls {
    gap: 6px !important;
  }

  header.navigation .nav-work,
  header.navigation .contact-pill {
    display: none !important;
  }

  header.navigation .menu-toggle {
    display: inline-flex !important;
    padding: 0 11px !important;
    font-size: 12.5px !important;
  }

  header.navigation .nav-scrubber,
  header.navigation .theme-toggle {
    --scale-start: 30px;
    --scale-end: 8px;
    --scale-w: 40px;
    padding: 0 var(--scale-end) 0 8px !important;
    gap: 6px !important;
  }

  header.navigation #sound.sound-scrubber {
    --scale-start: 30px;
    --scale-end: 8px;
    --scale-w: 32px;
  }

  header.navigation .nav-scrubber svg.icon {
    width: 15px !important;
    height: 15px !important;
  }
}

/* ==========================================================================
   Homepage Selected Work — Haoqi-Inspired 12-Col Architectural Grid
   + True 26px Refracted Frosted Glass Standalone Folders
   ========================================================================== */

.folder-clip-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.works.content-section {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 136px 0 180px !important;
  overflow: visible !important;
  isolation: isolate;
}

/* Full-Bleed Edge-to-Edge Crosshair Grid (Fallback Static Layer + Live Drum Canvas Layer) */
.works.content-section::before {
  content: "";
  position: absolute;
  top: -40px;
  bottom: -20px;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='184' height='184' viewBox='0 0 184 184'%3E%3Cpath d='M184 0H0V184' fill='none' stroke='%23181a24' stroke-opacity='0.028' stroke-width='1'/%3E%3Cpath d='M0 0v5M0 0h5M184 0h-4M0 184v-4' fill='none' stroke='%23181a24' stroke-opacity='0.11' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 184px 184px;
  background-position: center top;
  transition: opacity 0.25s ease;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0px,
    rgba(0, 0, 0, 0.14) 56px,
    rgba(0, 0, 0, 0.45) 120px,
    rgba(0, 0, 0, 0.80) 184px,
    #000 240px,
    #000 calc(100% - 264px),
    rgba(0, 0, 0, 0.78) calc(100% - 196px),
    rgba(0, 0, 0, 0.42) calc(100% - 124px),
    rgba(0, 0, 0, 0.14) calc(100% - 56px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0px,
    rgba(0, 0, 0, 0.14) 56px,
    rgba(0, 0, 0, 0.45) 120px,
    rgba(0, 0, 0, 0.80) 184px,
    #000 240px,
    #000 calc(100% - 264px),
    rgba(0, 0, 0, 0.78) calc(100% - 196px),
    rgba(0, 0, 0, 0.42) calc(100% - 124px),
    rgba(0, 0, 0, 0.14) calc(100% - 56px),
    transparent 100%
  );
}

.works.content-section.has-drum-grid::before {
  opacity: 0;
}

.work-drum-bg {
  position: absolute;
  top: -40px;
  bottom: -20px;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0px,
    rgba(0, 0, 0, 0.14) 56px,
    rgba(0, 0, 0, 0.45) 120px,
    rgba(0, 0, 0, 0.80) 184px,
    #000 240px,
    #000 calc(100% - 264px),
    rgba(0, 0, 0, 0.78) calc(100% - 196px),
    rgba(0, 0, 0, 0.42) calc(100% - 124px),
    rgba(0, 0, 0, 0.14) calc(100% - 56px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0px,
    rgba(0, 0, 0, 0.14) 56px,
    rgba(0, 0, 0, 0.45) 120px,
    rgba(0, 0, 0, 0.80) 184px,
    #000 240px,
    #000 calc(100% - 264px),
    rgba(0, 0, 0, 0.78) calc(100% - 196px),
    rgba(0, 0, 0, 0.42) calc(100% - 124px),
    rgba(0, 0, 0, 0.14) calc(100% - 56px),
    transparent 100%
  );
}

.work-drum-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: block;
  will-change: transform;
}

.work-canvas {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px max(56px, 4.5vw) 64px max(84px, 5vw);
}

.work-guides {
  display: none !important;
}

/* ---------- 12-Column Asymmetrical Editorial Grid (Identical Archive Folder Sizes, Offset Rows) ---------- */
.work-grid-12 {
  --folder-stagger: clamp(132px, 11.5vw, 168px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: clamp(72px, 7vw, 96px);
  column-gap: clamp(16px, 2.2vw, 32px);
  align-items: start;
}

/* Left Intro Bay beside Row 1 Hero Folder */
.work-intro-cell {
  grid-column: 2 / span 4;
  padding: 12px 12px 0 0;
}

.work-intro-cell .section-label {
  margin-bottom: 14px;
}

.work-intro-cell h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #111113;
}

.work-intro-cell h2 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  color: #9b9da9;
}

.work-intro-cell p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.82;
  color: #747683;
  max-width: 310px;
}

.work-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.work-chip-btn {
  display: inline-flex;
  align-items: center;
  appearance: none;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  background: #f3f4f7;
  color: #363844;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.work-chip-btn:hover {
  background: #141417;
  color: #ffffff;
}

/* Deliberate Asymmetrical Placement Across 12 Columns (Zero Rigid Table) */
.folder-item {
  padding: 12px;
  min-width: 0;
}

/* Row 1: Flagship TAPI refined compact showcase */
.folder-item.is-slot-tapi {
  grid-column: 7 / span 5;
  width: 100%;
  max-width: 448px;
  justify-self: center;
}

/* Rows 2–3: Half-Step Vertical Staggered 2-Column Masonry (Compact Jewel-Sized Folders) */
.folder-item.is-slot-1 {
  grid-column: 2 / span 5;
  width: 100%;
  max-width: 392px;
  justify-self: center;
  margin-top: 20px;
}

.folder-item.is-slot-2 {
  grid-column: 7 / span 5;
  width: 100%;
  max-width: 392px;
  justify-self: center;
  margin-top: calc(20px + var(--folder-stagger));
}

.folder-item.is-slot-3 {
  grid-column: 2 / span 5;
  width: 100%;
  max-width: 392px;
  justify-self: center;
  margin-top: calc(clamp(38px, 3.4vw, 48px) - var(--folder-stagger));
}

.folder-item.is-slot-4 {
  grid-column: 7 / span 5;
  width: 100%;
  max-width: 392px;
  justify-self: center;
  margin-top: clamp(38px, 3.4vw, 48px);
}

/* Row 4: Shifted back left (cols 1–5 & 7–11) — EXACT same 5-col width */
.folder-item.is-slot-5 {
  grid-column: 1 / span 5;
}

.folder-item.is-slot-6 {
  grid-column: 7 / span 5;
}

/* Row 5: Balanced editorial finale (cols 2–6) — EXACT same 5-col width */
.folder-item.is-slot-7 {
  grid-column: 2 / span 5;
}

.folder-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Standalone Frosted Glass Folder (Refined Restrained 3D Open Lean + Airy Semi-Transparent Frost) ---------- */
.glass-folder {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 400 / 304;
  overflow: visible;
  isolation: isolate;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-folder.is-wide {
  aspect-ratio: 400 / 286;
}

.glass-folder.is-light {
  filter: drop-shadow(0 20px 26px rgba(20, 26, 44, 0.1));
}

.glass-folder.is-dark {
  filter: drop-shadow(0 22px 30px rgba(8, 10, 18, 0.18));
}

.folder-trigger:hover .glass-folder {
  transform: translateY(-4px);
}

/* Layer 1: Complete Clean Rounded-Rectangle Backplate (Zero Missing Corner Notches) */
.folder-back {
  position: absolute;
  top: 5%;
  left: 2.2%;
  right: 2.2%;
  bottom: 1.5%;
  z-index: 1;
  overflow: hidden;
  border-radius: 22px;
  background: #edf1f6;
}

.folder-back.is-rounded {
  top: 5%;
  left: 2.2%;
  right: 2.2%;
  bottom: 1.5%;
  border-radius: 22px;
  background: #101219;
}

.folder-back.is-light-back {
  background: #eff4fb;
}

.folder-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-trigger:hover .folder-back img {
  transform: scale(1.035);
}

/* Clean Mint-Aqua Atmospheric Backdrop for Memory Palace Folder (Zero Duplicate Third Phone) */
.mp-folder-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 75% 70% at 22% 22%, rgba(164, 236, 234, 0.92), transparent 64%),
    radial-gradient(ellipse 68% 72% at 84% 28%, rgba(212, 244, 242, 0.88), transparent 62%),
    radial-gradient(ellipse 70% 65% at 52% 88%, rgba(92, 206, 206, 0.45), transparent 65%),
    linear-gradient(150deg, #dff6f6 0%, #eefafa 48%, #d4efef 100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-trigger:hover .folder-back .mp-folder-art {
  transform: scale(1.04);
}

/* TAPI Liquid Painterly Aurora Art (matches reference's vivid glow behind smoked glass) */
.tapi-aurora-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 68% 76% at 22% 24%, rgba(92, 160, 255, 0.96), transparent 62%),
    radial-gradient(ellipse 58% 66% at 78% 26%, rgba(255, 92, 74, 0.94), transparent 58%),
    radial-gradient(ellipse 74% 68% at 52% 84%, rgba(128, 94, 255, 0.88), transparent 62%),
    linear-gradient(135deg, #0d1630 0%, #1d1438 50%, #0b101d 100%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-trigger:hover .folder-back .tapi-aurora-art {
  transform: scale(1.05);
}

/* ReelNova · Late Line Warm Obsidian & Amber Lamplight Backdrop */
.hotline-folder-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 72% 72% at 24% 26%, rgba(201, 162, 39, 0.52), transparent 64%),
    radial-gradient(ellipse 68% 66% at 80% 34%, rgba(164, 112, 58, 0.48), transparent 62%),
    radial-gradient(ellipse 76% 64% at 50% 88%, rgba(86, 56, 30, 0.56), transparent 66%),
    linear-gradient(148deg, #0b0906 0%, #1c150e 52%, #0e0b08 100%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-trigger:hover .folder-back .hotline-folder-art {
  transform: scale(1.05);
}

/* Construction Warm Architectural Alabaster & Stone Mist Backdrop */
.construction-folder-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 78% 72% at 22% 24%, rgba(236, 228, 216, 0.94), transparent 65%),
    radial-gradient(ellipse 68% 68% at 84% 32%, rgba(214, 206, 194, 0.88), transparent 62%),
    radial-gradient(ellipse 74% 62% at 50% 90%, rgba(176, 165, 152, 0.44), transparent 65%),
    linear-gradient(150deg, #fafaf9 0%, #efede9 52%, #e4e0d8 100%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-trigger:hover .folder-back .construction-folder-art {
  transform: scale(1.04);
}

/* TAPI Hub PR #43 Luminous Cerulean Sky & Klein Royal Blue Backdrop */
.hub-folder-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 74% 72% at 24% 22%, rgba(224, 244, 255, 0.96), transparent 64%),
    radial-gradient(ellipse 68% 68% at 78% 28%, rgba(147, 197, 253, 0.9), transparent 62%),
    radial-gradient(ellipse 76% 64% at 52% 90%, rgba(23, 71, 245, 0.42), transparent 66%),
    linear-gradient(150deg, #eff7ff 0%, #dbeafe 48%, #bfdbfe 100%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-trigger:hover .folder-back .hub-folder-art {
  transform: scale(1.05);
}

/* Studio Archive Midnight Indigo & Starlight Nebula Backdrop */
.archive-folder-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 72% 72% at 24% 26%, rgba(111, 176, 255, 0.56), transparent 64%),
    radial-gradient(ellipse 68% 66% at 80% 34%, rgba(72, 118, 214, 0.44), transparent 62%),
    radial-gradient(ellipse 76% 64% at 50% 88%, rgba(28, 78, 138, 0.62), transparent 66%),
    linear-gradient(148deg, #080b12 0%, #101829 52%, #090c14 100%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-trigger:hover .folder-back .archive-folder-art {
  transform: scale(1.05);
}

/* Layer 2: Organic Overlapped 2-Mockup Stack Inside Folder (Frameless, Zero White Box) */
.folder-mockups {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 4%;
  bottom: 18%;
  z-index: 2;
  pointer-events: none;
}

.folder-mockup-card {
  position: absolute;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-sizing: border-box;
  transform-origin: center 88%;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Transparent Alpha Device Cutouts (Hohomart & Memory Palace — Zero White Background Box) */
.folder-mockup-card.is-cutout {
  overflow: visible;
  background: transparent;
  padding: 0;
}

.folder-mockup-card.is-cutout img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(15, 20, 36, 0.18));
}

/* Full-Bleed UI Screens (Midea — Frameless Rounded Phone Screens, Zero Padding Box) */
.folder-mockup-card.is-screen {
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  padding: 0;
  box-shadow: 0 12px 24px rgba(10, 14, 28, 0.24);
}

.folder-mockup-card.is-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  display: block;
}

/* Frameless Architectural / Space Visual Plates (Anta — Zero Padding Box) */
.folder-mockup-card.is-plate {
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  padding: 0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.folder-mockup-card.is-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
  display: block;
}

/* Overlapped Staggered Positions by Asset Proportion */
/* 1. Portrait Transparent Cutout iPhones (Memory Palace) */
.folder-mockups.is-stack-cutout .folder-mockup-card:first-child {
  left: 11%;
  top: 7%;
  width: 50%;
  height: 92%;
  z-index: 1;
  transform: rotate(-7.5deg) translateY(8px);
}

.folder-mockups.is-stack-cutout .folder-mockup-card:last-child {
  right: 11%;
  top: 1%;
  width: 50%;
  height: 92%;
  z-index: 2;
  transform: rotate(5.5deg) translateY(0px);
}

/* 2. Hohomart: Wide Isometric 3D iPhone Behind + Strictly Upright Standing 3D iPhone Overlapping Front */
.folder-mockups.is-stack-hohomart .folder-mockup-card:first-child {
  left: -1%;
  top: 15%;
  width: 62%;
  height: 80%;
  z-index: 1;
  transform: translateY(6px);
}

.folder-mockups.is-stack-hohomart .folder-mockup-card:last-child {
  right: 4%;
  top: 0%;
  width: 46%;
  height: 96%;
  z-index: 2;
  transform: translateY(0px);
}

.folder-trigger:hover .folder-mockups.is-stack-hohomart .folder-mockup-card:first-child {
  transform: translate(-8px, -12px);
}

.folder-trigger:hover .folder-mockups.is-stack-hohomart .folder-mockup-card:last-child {
  transform: translateY(-16px);
}

/* 3. Midea Twin Portrait App Screens (Clean Mode Selection Back + Home Dashboard Front) */
.folder-mockups.is-stack-midea .folder-mockup-card:first-child {
  left: 11%;
  top: 8%;
  width: 44%;
  height: 88%;
  z-index: 1;
  transform: rotate(-6.5deg) translateY(8px);
}

.folder-mockups.is-stack-midea .folder-mockup-card:last-child {
  right: 11%;
  top: 1%;
  width: 44%;
  height: 88%;
  z-index: 2;
  transform: rotate(5deg) translateY(0px);
}

/* 4. Landscape B-End UI / Render Plates (Anta) */
.folder-mockups.is-stack-plate .folder-mockup-card:first-child {
  left: 3%;
  top: 15%;
  width: 68%;
  height: 70%;
  z-index: 1;
  transform: rotate(-5deg) translateY(8px);
}

.folder-mockups.is-stack-plate .folder-mockup-card:last-child {
  right: 3%;
  top: 5%;
  width: 68%;
  height: 70%;
  z-index: 2;
  transform: rotate(4deg) translateY(0px);
}

/* 4b. Rich 4-Card Tightly Layered Nocturnal Fan (Studio Archive Folder — Unified Dark Tonal Harmony) */
.folder-mockups.is-stack-archive .folder-mockup-card {
  width: 41%;
  height: 64%;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.folder-mockups.is-stack-archive .folder-mockup-card:nth-child(1) {
  left: 4%;
  top: 19%;
  z-index: 1;
  transform: rotate(-8deg) translateY(4px);
}

.folder-mockups.is-stack-archive .folder-mockup-card:nth-child(2) {
  left: 20%;
  top: 13%;
  z-index: 2;
  transform: rotate(-3deg) translateY(0px);
}

.folder-mockups.is-stack-archive .folder-mockup-card:nth-child(3) {
  left: 38%;
  top: 12%;
  z-index: 3;
  transform: rotate(3deg) translateY(0px);
}

.folder-mockups.is-stack-archive .folder-mockup-card:nth-child(4) {
  right: 4%;
  top: 17%;
  z-index: 4;
  transform: rotate(8deg) translateY(4px);
}

.folder-trigger:hover .folder-mockups.is-stack-archive .folder-mockup-card:nth-child(1) {
  transform: translate(-10px, -12px) rotate(-11deg);
}

.folder-trigger:hover .folder-mockups.is-stack-archive .folder-mockup-card:nth-child(2) {
  transform: translate(-4px, -16px) rotate(-5deg);
}

.folder-trigger:hover .folder-mockups.is-stack-archive .folder-mockup-card:nth-child(3) {
  transform: translate(4px, -18px) rotate(5deg);
}

.folder-trigger:hover .folder-mockups.is-stack-archive .folder-mockup-card:nth-child(4) {
  transform: translate(10px, -14px) rotate(11deg);
}

/* 5. TAPI Overlapped Dual Spec Cards */
.folder-mockups.is-tapi-mockups .folder-mockup-card:first-child {
  left: 8%;
  top: 14%;
  width: 54%;
  height: 72%;
  z-index: 1;
  border-radius: 14px;
  transform: rotate(-5.5deg) translateY(8px);
}

.folder-mockups.is-tapi-mockups .folder-mockup-card:last-child {
  right: 8%;
  top: 4%;
  width: 54%;
  height: 72%;
  z-index: 2;
  border-radius: 14px;
  transform: rotate(4.5deg) translateY(0px);
}

.folder-mockup-card.is-tapi-card-light,
.folder-mockup-card.is-tapi-card-dark {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 15px 16px;
  box-shadow: 0 14px 28px rgba(6, 8, 18, 0.28);
}

.folder-mockup-card.is-tapi-card-light {
  background: rgba(255, 255, 255, 0.94);
  color: #141417;
}

.folder-mockup-card.is-tapi-card-dark {
  background: rgba(20, 22, 32, 0.92);
  color: #ffffff;
}

.folder-mockup-card.is-tapi-card-light span,
.folder-mockup-card.is-tapi-card-dark span {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.62;
}

.folder-mockup-card.is-tapi-card-light b,
.folder-mockup-card.is-tapi-card-dark b {
  font-size: 13.5px;
  font-weight: 500;
}

/* Natural Open-Folder Fan-Out on Hover */
.folder-trigger:hover .folder-mockup-card:first-child {
  transform: translate(-11px, -18px) rotate(-10deg);
}

.folder-trigger:hover .folder-mockup-card:last-child {
  transform: translate(11px, -24px) rotate(8deg);
}

/* Layer 3: Front Curved Pocket — Restrained Open-Folder Perspective Lean + Airy Semi-Transparent Frost */
.folder-pocket {
  position: absolute;
  left: 1.5%;
  right: 1.5%;
  bottom: 0;
  height: 67%;
  z-index: 3;
  overflow: hidden;
  transform-origin: center bottom;
  transform: perspective(760px) rotateX(-11deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-folder.is-tab-left .folder-pocket {
  clip-path: url(#folder-front-l);
  -webkit-clip-path: url(#folder-front-l);
}

.glass-folder.is-tab-right .folder-pocket {
  clip-path: url(#folder-front-r);
  -webkit-clip-path: url(#folder-front-r);
}

.folder-trigger:hover .folder-pocket {
  transform: perspective(760px) rotateX(-17deg);
}

/* Delicate Semi-Transparent Frost Layer (Clearly Shows Silhouettes & Details Inside Through Glass) */
.folder-frost-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: -49.25%;
  height: 149.25%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.glass-folder.is-light .folder-frost-layer {
  filter: blur(10px) saturate(145%) brightness(1.04);
}

.glass-folder.is-dark .folder-frost-layer {
  filter: blur(11px) saturate(150%) brightness(0.95);
}

.folder-frost-layer > img,
.folder-frost-layer > .tapi-aurora-art,
.folder-frost-layer > .hotline-folder-art,
.folder-frost-layer > .construction-folder-art,
.folder-frost-layer > .hub-folder-art,
.folder-frost-layer > .archive-folder-art,
.folder-frost-layer > .mp-folder-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.06);
}

.folder-frost-layer > .folder-mockups {
  left: 3.5%;
  right: 3.5%;
  top: 4%;
  bottom: 18%;
  z-index: 2;
}

/* Airy Translucent Milky / Smoked Glass Tint (Readable Silhouettes Through Glass + Crisp Bottom Text Contrast) */
.folder-glass-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.glass-folder.is-light .folder-glass-tint {
  background: linear-gradient(
    176deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(248, 250, 255, 0.38) 46%,
    rgba(255, 255, 255, 0.72) 100%
  );
}

.glass-folder.is-dark .folder-glass-tint {
  background: linear-gradient(
    176deg,
    rgba(18, 20, 30, 0.24) 0%,
    rgba(11, 13, 21, 0.48) 48%,
    rgba(8, 9, 15, 0.78) 100%
  );
}

/* Crisp Glowing Glass Specular Rim */
.folder-rim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Pocket Interior Layout (Title + Corner Squircle Action Icon) */
.folder-pocket-body {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 20px 22px;
  display: flex;
  box-sizing: border-box;
}

.folder-pocket-body.is-bottom-row {
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.folder-pocket-body.is-left-head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 15px;
}

.folder-pocket-body.is-left-head .folder-corner-badge {
  align-self: flex-end;
}

.folder-pocket-body.is-right-head {
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 14px;
  text-align: right;
}

.folder-pocket-body.is-right-head .folder-label {
  padding-right: 4px;
}

.folder-pocket-body.is-right-head .folder-corner-badge {
  align-self: flex-start;
}

.folder-label strong {
  display: block;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.folder-label span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
}

.glass-folder.is-light .folder-label strong {
  color: #141417;
}

.glass-folder.is-light .folder-label span {
  color: rgba(20, 20, 23, 0.56);
}

.glass-folder.is-dark .folder-label strong {
  color: #ffffff;
}

.glass-folder.is-dark .folder-label span {
  color: rgba(255, 255, 255, 0.58);
}

/* Crisp Translucent Liquid Glass Squircle Action Badge (Tight 4px Blur, Razor-Sharp Specular Rim) */
.folder-corner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  flex: none;
  backdrop-filter: blur(4px) saturate(165%);
  -webkit-backdrop-filter: blur(4px) saturate(165%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background 0.25s ease, border-color 0.25s ease;
}

.folder-corner-badge small {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.folder-corner-badge.is-pillow-dark {
  background: linear-gradient(180deg, rgba(28, 32, 46, 0.52) 0%, rgba(14, 16, 24, 0.68) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.14),
    0 4px 12px rgba(10, 14, 28, 0.16);
}

.glass-folder.is-dark .folder-corner-badge.is-pillow-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.09) 100%);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.16),
    0 4px 12px rgba(0, 0, 0, 0.22);
}

.folder-trigger:hover .folder-corner-badge {
  transform: translate(2px, -2px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.2),
    0 8px 18px rgba(10, 14, 28, 0.22);
}

/* Haoqi-Style Single-Line Metadata Row Below Each Folder */
.work-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px 0;
  font-size: 13px;
  line-height: 1.4;
}

.work-meta-line strong {
  font-weight: 500;
  color: #141417;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.work-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #8c8e9b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.work-meta-line svg.icon-sm {
  opacity: 0.65;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.folder-trigger:hover .work-meta-line svg.icon-sm {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1180px) {
  .page-toc {
    display: none !important;
  }

  .work-canvas {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 900px) {
  .works.content-section {
    padding: 84px 0 116px !important;
  }

  .works.content-section::before,
  .work-drum-bg {
    top: -28px;
    bottom: -16px;
  }

  .work-canvas {
    padding: 36px 20px 40px;
  }

  .work-grid-12 {
    grid-template-columns: 1fr;
    row-gap: 52px;
  }

  .work-intro-cell,
  .folder-item.is-slot-tapi,
  .folder-item.is-slot-1,
  .folder-item.is-slot-2,
  .folder-item.is-slot-3,
  .folder-item.is-slot-4,
  .folder-item.is-slot-5,
  .folder-item.is-slot-6,
  .folder-item.is-slot-7 {
    grid-column: 1 / -1;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 8px;
  }

  .work-intro-cell p {
    max-width: none;
  }

  .glass-folder.is-wide {
    aspect-ratio: 400 / 308;
  }

  .folder-pocket-body {
    padding: 16px 18px;
  }
}

/* ==========================================================================
   Homepage Typography Design System (Strict 3-Family & 4px Modular Scale)
   - Max 3 font families: --font-sans ("Inter"), --font-serif (Garamond), --font-mono
   - Strict 4px multiples everywhere: 12 / 16 / 20 / 28 / 40 / 56 / 64 / 96 / 224
   - Zero synthetic / arbitrary italics across CJK & English copy
   ========================================================================== */

:root {
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Garamond", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-12: 12px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-28: 28px;
  --fs-40: 40px;
  --fs-56: 56px;
  --fs-64: 64px;
  --fs-96: 96px;
  --fs-224: 224px;
}

body {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  font-style: normal !important;
}

/* Eliminate all synthetic / arbitrary italics sitewide on homepage */
main em,
footer em,
.center-heading h2 em,
section#work .work-intro-cell h2 em {
  font-style: normal !important;
}

/* --- Header Navigation --- */
header.navigation .wordmark,
header.navigation .wordmark span,
header.navigation .brand-dot {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

header.navigation .nav-work,
header.navigation .contact-pill,
header.navigation .menu-toggle {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

/* --- Hero Display & Coordinates --- */
section#home.hero .coordinates {
  font-family: var(--font-mono) !important;
  font-size: var(--fs-12) !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
}

section#home.hero .hero-title .the {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: clamp(26px, 3.6vw, 52px) !important;
  line-height: 1 !important;
  font-style: normal !important;
}

section#home.hero .hero-title h1,
section#home.hero .hero-title h1 > span {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: clamp(72px, 12.6vw, 196px) !important;
  line-height: 1.06 !important;
  font-style: normal !important;
}

section#home.hero .hero-title .spark {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: 0.16em !important;
  line-height: 1 !important;
}

section#home.hero .hero-title p {
  font-family: 'Bodoni Moda', Georgia, serif !important;
  font-size: clamp(20px, 2.9vw, 42px) !important;
  line-height: 1.2 !important;
  font-style: normal !important;
}

section#home.hero .hero-bottom,
section#home.hero .hero-bottom span,
section#home.hero .hero-bottom a {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 20px !important;
  letter-spacing: 0.01em !important;
}

/* --- Unified Section Labels (12px) --- */
.section-label {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
}

/* --- Intro Section --- */
section#intro.intro h2,
section#intro.intro h2 span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-40) !important;
  line-height: 52px !important;
  font-weight: 500 !important;
}

section#intro.intro .intro-copy p {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 28px !important;
}

section#intro.intro .intro-footer,
section#intro.intro .intro-footer span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-20) !important;
  line-height: 32px !important;
}

/* --- About centered statement --- */
section#about .center-heading h2 {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-56) !important;
  line-height: 68px !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
}

/* Unified crisp upright Inter sans-serif two-tone emphasis (zero stray Garamond serifs below Hero) */
section#about .center-heading h2 em {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-56) !important;
  line-height: 68px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  color: #8f93a3 !important;
}

section#approach .disciplines span,
section#philosophy .philosophy-text,
section#about .center-heading p,
section#about .about-copy {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 28px !important;
}

/* --- Selected Work Section --- */
section#work .work-intro-cell h2,
section#work .work-intro-cell h2 em {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-40) !important;
  line-height: 52px !important;
  font-weight: 500 !important;
  font-style: normal !important;
}

section#work .work-intro-cell p {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 28px !important;
}

section#work .work-chip-btn,
section#work .folder-label span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 16px !important;
}

section#work .folder-label strong {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

section#work .work-meta-line,
section#work .work-meta-line strong {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

section#work .work-meta-line span {
  font-family: var(--font-mono) !important;
  font-size: var(--fs-12) !important;
  line-height: 16px !important;
}

/* --- Expertise Service Accordion --- */
section#expertise .service > span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-28) !important;
  line-height: 36px !important;
  font-weight: 400 !important;
}

section#expertise .service > small,
section#expertise .service > p {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 24px !important;
}

/* --- About & Dialog Controls --- */
section#about .text-link,
section#about .text-link span,
#project-dialog .dialog-contact {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-16) !important;
  line-height: 24px !important;
  font-weight: 500 !important;
}

#project-dialog .dialog-close,
#project-dialog .dialog-close span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 16px !important;
}

/* --- Footer Contact --- */
footer#contact h2 {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-96) !important;
  line-height: 104px !important;
  font-weight: 400 !important;
}

footer#contact h2 em {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-96) !important;
  line-height: 104px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: #8f93a3 !important;
}

footer#contact .email {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-20) !important;
  line-height: 28px !important;
}

footer#contact .copy-email,
footer#contact .copy-email span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 16px !important;
  font-weight: 500 !important;
}

footer#contact .footer-bottom,
footer#contact .footer-bottom span {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 20px !important;
}

/* --- Left Vertical TOC Labels (12px) --- */
nav.page-toc .toc-caption,
nav.page-toc .toc-chapter-label {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-12) !important;
  line-height: 16px !important;
  font-weight: 500 !important;
}

/* --- Discrete 4px-Multiple Responsive Type Steps (Zero Fractional/Odd Sizes) --- */
@media (max-width: 1180px) {
  section#home.hero .hero-title .the { font-size: clamp(24px, 3.8vw, 42px) !important; line-height: 1 !important; }
  section#home.hero .hero-title h1,
  section#home.hero .hero-title h1 > span { font-size: clamp(66px, 12.8vw, 148px) !important; line-height: 1.06 !important; }
  section#home.hero .hero-title p { font-size: clamp(19px, 3.2vw, 34px) !important; line-height: 1.2 !important; }
  section#about .center-heading h2,
  section#about .center-heading h2 em { font-size: 44px !important; line-height: 56px !important; }
  footer#contact h2,
  footer#contact h2 em { font-size: 72px !important; line-height: 80px !important; }
}

@media (max-width: 780px) {
  section#home.hero .hero-title .the { font-size: clamp(20px, 5.2vw, 30px) !important; line-height: 1 !important; }
  section#home.hero .hero-title h1,
  section#home.hero .hero-title h1 > span { font-size: clamp(54px, 15.2vw, 96px) !important; line-height: 1.06 !important; }
  section#home.hero .hero-title .spark { font-size: 0.16em !important; line-height: 1 !important; }
  section#home.hero .hero-title p { font-size: clamp(17px, 5vw, 24px) !important; line-height: 1.22 !important; }
  section#intro.intro h2,
  section#intro.intro h2 span,
  section#work .work-intro-cell h2,
  section#work .work-intro-cell h2 em { font-size: 32px !important; line-height: 40px !important; }
  section#about .center-heading h2,
  section#about .center-heading h2 em { font-size: 32px !important; line-height: 44px !important; }
  section#expertise .service > span { font-size: 20px !important; line-height: 28px !important; }
  footer#contact h2,
  footer#contact h2 em { font-size: 48px !important; line-height: 56px !important; }
}
