/* Final motion pass: restrained float-in, title reveal, soft background drift. */
.motion-ready .motion-float-in {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 760ms cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms),
    transform 760ms cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

/* Restored About detail mobile collage layout. */
@media (max-width: 768px), (hover: none), (pointer: coarse) {
  body.about-detail-page {
    overflow-x: hidden !important;
  }

  body.about-detail-page .about-detail {
    width: min(calc(100vw - 32px), 380px) !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 28px 0 68px !important;
    box-sizing: border-box !important;
  }

  body.about-detail-page .about-profile {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  body.about-detail-page .about-profile-side {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.08fr) !important;
    grid-template-areas:
      "role role"
      "avatar intro"
      "name intro" !important;
    grid-template-rows: minmax(18px, auto) auto minmax(36px, auto) !important;
    gap: 11px 10px !important;
    width: 100% !important;
    margin: 0 auto !important;
    align-items: start !important;
    overflow: visible !important;
  }

  body.about-detail-page .about-profile-copy {
    display: contents !important;
  }

  body.about-detail-page .about-profile-copy strong {
    grid-area: role !important;
    align-self: center !important;
    justify-self: center !important;
    width: 100% !important;
    min-height: 18px !important;
    display: block !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #ff5038 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: 1.18 !important;
    letter-spacing: -.01em !important;
    text-align: center !important;
    white-space: nowrap !important;
    transform: none !important;
    position: relative !important;
    z-index: 2 !important;
  }

  body.about-detail-page .about-avatar {
    grid-area: avatar !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    background:
      linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.045)),
      rgba(255,255,255,.045) !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.14) !important;
  }

  body.about-detail-page .about-avatar img {
    width: 100% !important;
    aspect-ratio: 1 / 1.18 !important;
    display: block !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  body.about-detail-page .about-profile-copy h1 {
    grid-area: name !important;
    align-self: start !important;
    justify-self: stretch !important;
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(18px, 5.2vw, 23px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
    text-align: left !important;
  }

  body.about-detail-page .about-profile-copy h1 em {
    display: inline !important;
    margin-left: 3px !important;
    color: rgba(255,255,255,.58) !important;
    font-size: 7px !important;
    font-weight: 900 !important;
    letter-spacing: .03em !important;
    vertical-align: baseline !important;
  }

  body.about-detail-page .about-intro {
    grid-area: intro !important;
    display: grid !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  body.about-detail-page .about-intro p {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 8px !important;
    color: rgba(255,255,255,.68) !important;
    background: rgba(255,255,255,.035) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.04) !important;
  }

  body.about-detail-page .about-location {
    display: none !important;
  }

  body.about-detail-page .about-timeline {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 30px 0 0 !important;
  }

  body.about-detail-page .about-timeline::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent) !important;
  }

  body.about-detail-page .timeline-marker {
    display: none !important;
  }

  body.about-detail-page .timeline-item,
  body.about-detail-page .timeline-item:nth-child(2n) {
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0 !important;
  }

  body.about-detail-page .timeline-card {
    width: 100% !important;
    height: 192px !important;
    min-height: 192px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 16px 14px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    background:
      linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.025)),
      rgba(8,8,9,.68) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.08) !important;
  }

  body.about-detail-page .timeline-top {
    display: grid !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
  }

  body.about-detail-page .timeline-card h2 {
    min-height: 38px !important;
    font-size: clamp(14px, 4.3vw, 18px) !important;
    line-height: 1.16 !important;
    letter-spacing: -.02em !important;
  }

  body.about-detail-page .timeline-period {
    width: max-content !important;
    max-width: 100% !important;
    padding: 4px 7px !important;
    border-radius: 999px !important;
    background: rgba(255,80,56,.1) !important;
    white-space: normal !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
  }

  body.about-detail-page .timeline-role {
    min-height: 27px !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    margin-top: 10px !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body.about-detail-page .timeline-card p {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin-top: 12px !important;
    color: rgba(255,255,255,.62) !important;
    font-size: 9px !important;
    line-height: 1.72 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
  }

  body.about-detail-page .timeline-item:hover .timeline-card {
    transform: none !important;
  }

  body.about-detail-page .work-footer {
    width: min(calc(100vw - 32px), 380px) !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  body.theme-light.about-detail-page .about-profile-copy h1,
  body.theme-light.about-detail-page .about-profile-copy strong {
    background: transparent !important;
    box-shadow: none !important;
  }

  body.theme-light.about-detail-page .about-profile-copy h1 {
    color: #111317 !important;
  }

  body.theme-light.about-detail-page .about-intro p {
    border-color: rgba(20,20,24,.08) !important;
    color: rgba(20,20,24,.64) !important;
    background: rgba(255,255,255,.34) !important;
  }

  body.theme-light.about-detail-page .about-timeline::before {
    background: linear-gradient(90deg, transparent, rgba(20,20,24,.18), transparent) !important;
  }
}

@media (max-width: 360px) {
  body.about-detail-page .about-detail {
    width: calc(100vw - 24px) !important;
  }

  body.about-detail-page .about-profile-copy strong {
    font-size: 8px !important;
  }

  body.about-detail-page .about-profile-copy h1 {
    font-size: clamp(17px, 5vw, 21px) !important;
  }

  body.about-detail-page .timeline-card {
    height: 186px !important;
    min-height: 186px !important;
    padding: 14px 12px !important;
  }
}

.motion-ready .motion-float-in.is-motion-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready .motion-title-reveal {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
  will-change: clip-path, opacity, transform;
}

.motion-ready .motion-title-reveal.motion-float-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: none;
}

.motion-ready .motion-title-reveal.is-motion-visible {
  animation: finalTitleReveal 780ms cubic-bezier(.2, .82, .2, 1) both;
}

[data-variable-proximity] {
  cursor: default;
  user-select: none;
  contain: paint;
}

.variable-proximity-ready {
  --vp-glow: rgba(255, 80, 56, .18);
}

.variable-proximity-ready,
.variable-proximity-ready .vp-line,
.variable-proximity-ready .vp-word,
.variable-proximity-ready .vp-letter {
  overflow: visible;
}

.vp-line {
  display: block;
  white-space: nowrap;
}

.vp-word {
  display: inline-block;
  white-space: nowrap;
}

.vp-letter {
  display: inline-block;
  transform-origin: 50% 70%;
  will-change: transform, color;
  transition:
    transform 520ms cubic-bezier(.22, 1, .36, 1),
    color 520ms cubic-bezier(.22, 1, .36, 1),
    opacity 520ms cubic-bezier(.22, 1, .36, 1);
}

.variable-proximity-ready:hover .vp-letter {
  text-shadow: none;
}

body.theme-light .variable-proximity-ready {
  --vp-glow: rgba(12, 55, 92, .18);
}

.work04-cases h2.variable-proximity-ready .vp-line:nth-child(2),
.work04-cases h2.variable-proximity-ready .vp-line:nth-child(2) .vp-word,
.work04-cases h2.variable-proximity-ready .vp-line:nth-child(2) .vp-letter {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.68);
  text-stroke: 1px rgba(255,255,255,.68);
}

.work04-cases h2.variable-proximity-ready,
.work04-cases h2.variable-proximity-ready .vp-line,
.work04-cases h2.variable-proximity-ready .vp-word,
.work04-cases h2.variable-proximity-ready .vp-letter {
  contain: none;
  overflow: visible;
}

body.theme-light .work04-cases h2.variable-proximity-ready .vp-line:nth-child(2),
body.theme-light .work04-cases h2.variable-proximity-ready .vp-line:nth-child(2) .vp-word,
body.theme-light .work04-cases h2.variable-proximity-ready .vp-line:nth-child(2) .vp-letter {
  -webkit-text-stroke-color: rgba(0,0,0,.36);
  text-stroke-color: rgba(0,0,0,.36);
}

@keyframes finalTitleReveal {
  0% {
    opacity: 0;
    clip-path: inset(82% 0 0 0);
    transform: translate3d(0, 16px, 0);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }
}

.hero-background-layer {
  --hero-parallax-x: 0px;
  --hero-parallax-y: 0px;
  transform: translate3d(var(--hero-parallax-x), var(--hero-parallax-y), 0) scale(1.012);
  transition: transform 900ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.hero-bg-video,
.hero-background-layer::before {
  animation: finalHeroBreath 18s ease-in-out infinite;
  transform-origin: center;
}

.hero-background-layer::after,
.contact-aura,
.about-particles {
  animation: finalAuraDrift 22s ease-in-out infinite alternate;
}

.hero-background-layer::after {
  --aura-opacity-start: .18;
  --aura-opacity-end: .24;
}

.contact-aura {
  --aura-opacity-start: .34;
  --aura-opacity-end: .4;
}

.about-particles {
  --aura-opacity-start: .16;
  --aura-opacity-end: .22;
}

@keyframes finalHeroBreath {
  0%, 100% {
    filter: grayscale(.2) contrast(1.08) brightness(.72);
  }

  50% {
    filter: grayscale(.18) contrast(1.1) brightness(.76);
  }
}

@keyframes finalAuraDrift {
  0% {
    transform: translate3d(-1px, 1px, 0) scale(1);
    opacity: var(--aura-opacity-start, .38);
  }

  100% {
    transform: translate3d(2px, -2px, 0) scale(1.012);
    opacity: var(--aura-opacity-end, .44);
  }
}

#about .about-gallery {
  perspective: 1400px;
  transform-style: preserve-3d;
}

#about .about-gallery-card {
  --about-tilt-x: 0deg;
  --about-tilt-y: 0deg;
  --about-card-rest: translateX(0) translateY(0) rotate(0deg);
  --about-card-hover: scale(1.06) translateY(-4px);
  transform: var(--about-card-rest) rotateX(var(--about-tilt-x)) rotateY(var(--about-tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 360ms cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s ease,
    background .3s ease,
    border-color .3s ease;
  will-change: transform;
}

#about .about-gallery-card:nth-child(1) {
  --about-card-rest: translateX(10px) rotate(-2deg);
}

#about .about-gallery-card:nth-child(2) {
  --about-card-rest: translateY(14px) rotate(1deg);
}

#about .about-gallery-card:nth-child(3) {
  --about-card-rest: translateX(-10px) translateY(5px) rotate(2deg);
}

#about .about-gallery .about-gallery-card:hover,
#about .about-gallery.is-hovering .about-gallery-card.is-hovered {
  transform: var(--about-card-hover) rotateX(var(--about-tilt-x)) rotateY(var(--about-tilt-y));
}

#about .about-gallery .about-gallery-card.is-active {
  transform: scale(1.1) translateY(-5px) rotateX(var(--about-tilt-x)) rotateY(var(--about-tilt-y));
}

#about .about-gallery.has-active .about-gallery-card:not(.is-active):hover {
  transform: var(--about-card-rest) rotateX(var(--about-tilt-x)) rotateY(var(--about-tilt-y));
}

#about .about-card-content {
  transform: translateZ(8px);
}

body:not(.theme-light) #about .about-gallery-card,
body:not(.theme-light) #about .about-gallery-card.company-card,
body:not(.theme-light) #about .about-gallery.is-hovering .about-gallery-card:not(.is-hovered):not(.is-active),
body:not(.theme-light) #about .about-gallery.has-active .about-gallery-card:not(.is-active) {
  opacity: 1 !important;
  background:
    linear-gradient(155deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
    rgba(8,9,12,.28) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 18px 44px rgba(7,9,15,.18), inset 0 1px rgba(255,255,255,.085) !important;
}

body:not(.theme-light) #about .about-gallery .about-gallery-card.is-hovered,
body:not(.theme-light) #about .about-gallery .about-gallery-card.is-active {
  opacity: 1 !important;
  background:
    linear-gradient(155deg, rgba(255,255,255,.115), rgba(255,255,255,.055)),
    rgba(8,9,12,.32) !important;
  border-color: rgba(255,255,255,.15) !important;
}

body.theme-light #about .about-gallery-card,
body.theme-light #about .about-gallery-card.company-card,
body.theme-light #about .about-gallery.is-hovering .about-gallery-card:not(.is-hovered):not(.is-active),
body.theme-light #about .about-gallery.has-active .about-gallery-card:not(.is-active) {
  opacity: 1 !important;
  background:
    linear-gradient(155deg, rgba(255,255,255,.42), rgba(255,255,255,.16)),
    rgba(255,255,255,.08) !important;
  border-color: rgba(20,20,22,.07) !important;
  box-shadow: 0 14px 34px rgba(45,58,82,.08), inset 0 1px rgba(255,255,255,.34) !important;
}

body.theme-light #about .about-card-body {
  opacity: 1 !important;
}

body.theme-light .hero-bg-video,
body.theme-light .hero-background-layer::before {
  animation-name: finalHeroBreathLight;
}

@keyframes finalHeroBreathLight {
  0%, 100% {
    filter: grayscale(.08) contrast(1.02) brightness(.98);
  }

  50% {
    filter: grayscale(.06) contrast(1.04) brightness(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .motion-float-in,
  .motion-ready .motion-title-reveal {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-background-layer,
  #about .about-gallery-card,
  #about .about-gallery .about-gallery-card:hover,
  #about .about-gallery.is-hovering .about-gallery-card.is-hovered,
  #about .about-gallery .about-gallery-card.is-active {
    transform: none;
    transition: none;
  }

  .hero-bg-video,
  .hero-background-layer::before,
  .hero-background-layer::after,
  .contact-aura,
  .about-particles {
    animation: none !important;
  }
}

/* Final type balance: loaded last to keep microcopy readable and labels calmer. */
.brand,
.work-brand,
.hero-title,
.section-heading h2,
.gallery-heading h2,
.contact h2,
.work-copy h1,
.work01-copy h1,
.about-profile-copy h1,
.about-section-title h2,
.timeline-card h2,
.work04-cases h2,
.work04-detail-hero h1,
.work04-project-intro h1,
.work03-wide-heading h2,
.wide-kv-heading h3,
.stack-set-heading h3,
.project-block-heading h2,
.project-subproject-title,
.work02-thinking-copy h2,
.work02-workflow-head h2 {
  font-weight: 880 !important;
}

.theme-option,
.ui-cta.ui-cta,
.preview-overlay a.ui-cta,
.email-link.ui-cta,
.contact-download.ui-cta,
.preview-overlay a,
.work-section-nav a,
.work-project-dropdown strong,
.project-label strong,
.contact-modal-content h3,
.copy-email-btn {
  font-weight: 800 !important;
}

.ui-cta.ui-cta > span {
  font-weight: 850 !important;
}

.hero-metrics span,
.hero-id-content .online,
.hero-id-content p,
.hero-id-content h2 small,
.hero-id-tags span,
.hero-intro > span,
#about .about-card-kicker,
.about-card-body time,
.gallery-card-overlay > span,
.company-index,
.gallery-hint,
.masonry-item figcaption,
.video-badge,
.preview-overlay span,
.work-back-copy small,
.work-tags span,
.contact-cards span,
.footer-row p,
.footer-row > a:last-child {
  font-size: 9px !important;
}

.section-no,
.work-no,
.work04-project-eyebrow,
.project-block-eyebrow,
.work02-kicker,
.work02-section-label,
.stack-set-heading span,
.availability {
  font-size: 10px !important;
}

#about .about-card-kicker {
  font-weight: 800 !important;
}

.hero-subtitle {
  font-weight: 430 !important;
}

.hero-role-subtitle,
.about-card-body h3,
.contact-lead,
.work-copy p,
.work04-detail-caption p,
.work04-project-body {
  font-weight: 500 !important;
}

/* Text clipping guard: give heavy Chinese titles enough vertical room. */
body[data-project-id="02"] .work02-thinking-copy,
body[data-project-id="02"] .work02-workflow-head,
body[data-project-id="02"] .work02-strategy-row,
body[data-project-id="02"] .work02-flow-step {
  overflow: visible !important;
}

body[data-project-id="02"] .work02-thinking-copy h2,
body[data-project-id="02"] .work02-workflow-head h2 {
  display: block;
  overflow: visible !important;
  clip-path: none !important;
  line-height: 1.16 !important;
  padding: .08em 0 .14em;
}

body[data-project-id="02"] .work02-kicker {
  margin-bottom: 8px;
}

body[data-project-id="02"] .work-section-nav a,
body[data-project-id="02"] .work02-tags span,
body[data-project-id="02"] .work02-tool {
  transform-origin: center;
  transition:
    transform 260ms cubic-bezier(.22, 1, .36, 1),
    color 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 280ms ease,
    text-shadow 240ms ease;
  will-change: transform;
}

body[data-project-id="02"] .work-section-nav a:hover,
body[data-project-id="02"] .work-section-nav a:focus-visible {
  transform: translateY(-1px);
}

body[data-project-id="02"] .work02-tags span:hover,
body[data-project-id="02"] .work02-tags span:focus-visible,
body[data-project-id="02"] .work02-flow-step:hover .work02-tool,
body[data-project-id="02"] .work02-tool:hover,
body[data-project-id="02"] .work02-tool:focus-visible {
  transform: translateY(-1px);
}

body[data-project-id="02"] .work02-strategy-row {
  transform-origin: center;
  transition:
    transform 300ms cubic-bezier(.22, 1, .36, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 300ms ease;
}

body[data-project-id="02"] .work02-strategy-row:hover {
  transform: translateY(-5px);
}

body.theme-light[data-project-id="02"] .work02-border-glow {
  --card-bg: rgba(255, 255, 255, .32);
  --fill-opacity: 0;
  --glow-color: hsl(10deg 100% 64% / 62%);
  --glow-color-50: hsl(10deg 100% 64% / 32%);
  --glow-color-40: hsl(10deg 100% 64% / 24%);
  --glow-color-30: hsl(10deg 100% 64% / 18%);
  --glow-color-20: hsl(10deg 100% 64% / 11%);
  --glow-color-10: hsl(10deg 100% 64% / 5%);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, .14)),
    rgba(255, 255, 255, .16) !important;
  border-color: rgba(255, 255, 255, .42) !important;
  box-shadow: 0 18px 48px rgba(70, 96, 126, .08), inset 0 1px 0 rgba(255, 255, 255, .56) !important;
  backdrop-filter: blur(24px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.18) !important;
}

body.theme-light[data-project-id="02"] .work02-border-glow::after {
  opacity: 0 !important;
  mix-blend-mode: normal;
}

body.theme-light[data-project-id="02"] .work02-border-glow::before {
  background:
    linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .18)) padding-box,
    linear-gradient(135deg, rgba(114, 189, 255, .5), rgba(255, 255, 255, .68) 42%, rgba(255, 112, 88, .46)) border-box !important;
  mask-image: none !important;
}

body.theme-light[data-project-id="02"] .work02-border-glow:hover > .edge-light {
  mix-blend-mode: screen;
  opacity: calc(.72 * (var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
}

body.theme-light[data-project-id="02"] .work02-border-glow > .edge-light::before {
  box-shadow:
    0 0 3px 0 var(--glow-color-50),
    0 0 10px 0 var(--glow-color-40),
    0 0 24px 2px var(--glow-color-30),
    0 0 48px 4px var(--glow-color-10) !important;
}

body.theme-light[data-project-id="02"] .work-section-nav a:hover,
body.theme-light[data-project-id="02"] .work-section-nav a:focus-visible {
  color: #111;
  text-shadow:
    0 0 12px rgba(255, 255, 255, .92),
    0 0 28px rgba(255, 80, 56, .16),
    0 0 44px rgba(60, 110, 170, .12);
}

body.theme-light[data-project-id="02"] .work02-tags span {
  color: rgba(17, 19, 23, .68) !important;
  border-color: rgba(78, 118, 150, .16) !important;
  background: rgba(255, 255, 255, .28) !important;
  box-shadow:
    0 10px 24px rgba(64, 86, 108, .06),
    0 0 0 1px rgba(255, 255, 255, .48),
    inset 0 1px 0 rgba(255, 255, 255, .78),
    inset 0 -1px 0 rgba(34, 54, 72, .055) !important;
  backdrop-filter: blur(16px) saturate(1.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.16);
}

body.theme-light[data-project-id="02"] .work02-tags span:hover,
body.theme-light[data-project-id="02"] .work02-tags span:focus-visible,
body.theme-light[data-project-id="02"] .work02-flow-step:hover .work02-tool,
body.theme-light[data-project-id="02"] .work02-tool:hover,
body.theme-light[data-project-id="02"] .work02-tool:focus-visible {
  color: #111;
  border-color: rgba(78, 118, 150, .22);
  background: rgba(255, 255, 255, .38);
  box-shadow:
    0 0 18px rgba(255, 255, 255, .62),
    0 12px 28px rgba(70, 96, 126, .1),
    0 0 22px rgba(255, 80, 56, .08),
    0 0 0 1px rgba(255, 255, 255, .56),
    inset 0 1px 0 rgba(255, 255, 255, .82),
    inset 0 -1px 0 rgba(34, 54, 72, .06);
}

body.theme-light[data-project-id="02"] .work02-strategy-row:hover {
  border-color: rgba(255, 255, 255, .6) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .18)),
    rgba(255, 255, 255, .18) !important;
  box-shadow:
    0 26px 62px rgba(70, 96, 126, .11),
    0 0 26px rgba(255, 255, 255, .32),
    0 0 0 1px rgba(255, 255, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .68) !important;
}

body:not(.theme-light)[data-project-id="02"] .work-section-nav a:hover,
body:not(.theme-light)[data-project-id="02"] .work-section-nav a:focus-visible {
  text-shadow:
    0 0 14px rgba(255, 255, 255, .18),
    0 0 28px rgba(255, 80, 56, .1);
}

body:not(.theme-light)[data-project-id="02"] .work02-tags span:hover,
body:not(.theme-light)[data-project-id="02"] .work02-tags span:focus-visible,
body:not(.theme-light)[data-project-id="02"] .work02-flow-step:hover .work02-tool,
body:not(.theme-light)[data-project-id="02"] .work02-tool:hover,
body:not(.theme-light)[data-project-id="02"] .work02-tool:focus-visible {
  box-shadow:
    0 0 18px rgba(255, 80, 56, .1),
    0 10px 28px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

@media (prefers-reduced-motion: reduce) {
  body[data-project-id="02"] .work-section-nav a,
  body[data-project-id="02"] .work02-tags span,
  body[data-project-id="02"] .work02-tool,
  body[data-project-id="02"] .work02-strategy-row,
  body[data-project-id="02"] .work02-strategy-row:hover {
    transform: none !important;
    transition: none !important;
  }
}

body.theme-light[data-project-id="03"] .work-hero::before {
  opacity: .26 !important;
  filter: saturate(.68) brightness(1.08) contrast(.9) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 8%, rgba(0, 0, 0, .72) 22%, #000 34%, #000 66%, rgba(0, 0, 0, .72) 78%, rgba(0, 0, 0, .18) 92%, transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 8%, rgba(0, 0, 0, .72) 22%, #000 34%, #000 66%, rgba(0, 0, 0, .72) 78%, rgba(0, 0, 0, .18) 92%, transparent 100%) !important;
}

body.theme-light[data-project-id="03"] .work-hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background:
    linear-gradient(90deg,
      rgba(247, 245, 239, .48) 0%,
      rgba(247, 245, 239, .34) 24%,
      rgba(247, 245, 239, .12) 52%,
      rgba(247, 245, 239, .25) 82%,
      rgba(247, 245, 239, .46) 100%),
    linear-gradient(180deg,
      rgba(247, 245, 239, .28) 0%,
      rgba(247, 245, 239, .05) 44%,
      rgba(247, 245, 239, .38) 100%),
    linear-gradient(90deg,
      rgba(6, 12, 20, .16) 0%,
      rgba(6, 12, 20, .07) 34%,
      rgba(6, 12, 20, .02) 62%,
      rgba(6, 12, 20, .1) 100%) !important;
  background-size: 100% 100%, 100% 100%, 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  mix-blend-mode: normal !important;
  animation: none !important;
}

body.theme-light[data-project-id="03"] main > .work-hero:first-child::after {
  content: "" !important;
  display: block !important;
  background-size: 100% 100%, 100% 100%, 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center, center, center !important;
}

body.theme-light[data-project-id="03"] main > section.work-hero:not(.hero)::after {
  background-size: 100% 100%, 100% 100%, 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center, center, center !important;
  transform: none !important;
}

body.theme-light[data-project-id="03"] .work-hero .work-copy,
body.theme-light[data-project-id="03"] .work-hero .work-no,
body.theme-light[data-project-id="03"] .work-hero .work-copy h1,
body.theme-light[data-project-id="03"] .work-hero .work-copy p,
body.theme-light[data-project-id="03"] .work-hero .work-tags {
  position: relative !important;
  z-index: 3 !important;
}

body.theme-light[data-project-id="03"] .work-copy h1 {
  color: rgba(7, 14, 24, .96) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .34), 0 18px 48px rgba(24, 40, 62, .16);
}

body[data-project-id="03"] .work-copy h1.variable-proximity-ready,
body[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-line,
body[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-word,
body[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-letter {
  contain: none !important;
  overflow: visible !important;
  clip-path: none !important;
}

body[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-line:last-child,
body[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-line:last-child .vp-word,
body[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-line:last-child .vp-letter {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 1px rgba(222, 238, 255, .84);
  text-stroke: 1px rgba(222, 238, 255, .84);
  text-shadow: 0 18px 48px rgba(7, 17, 28, .24);
}

body.theme-light[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-line:last-child,
body.theme-light[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-line:last-child .vp-word,
body.theme-light[data-project-id="03"] .work-copy h1.variable-proximity-ready .vp-line:last-child .vp-letter {
  -webkit-text-stroke-color: rgba(7, 14, 24, .58);
  text-stroke-color: rgba(7, 14, 24, .58);
  text-shadow: 0 14px 42px rgba(24, 40, 62, .1);
}

body.theme-light[data-project-id="03"] .work-copy p {
  color: rgba(17, 24, 36, .76) !important;
}

body.theme-light[data-project-id="03"] .work-tags span {
  color: rgba(17, 24, 36, .72) !important;
  border-color: rgba(255, 255, 255, .66) !important;
  background: rgba(255, 255, 255, .44) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 10px 24px rgba(49, 72, 98, .1);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

body.theme-light[data-project-id="03"] main > .work-hero:first-child:hover::after {
  animation: none !important;
}

#projects .project-heading,
#projects .project-heading > div,
#projects .project-heading h2,
#projects .project-heading h2.variable-proximity-ready,
#projects .project-heading h2.variable-proximity-ready .vp-line,
#projects .project-heading h2.variable-proximity-ready .vp-word,
#projects .project-heading h2.variable-proximity-ready .vp-letter {
  contain: none !important;
  overflow: visible !important;
  clip-path: none !important;
}

#projects .project-heading {
  width: min(980px, calc(100vw - 120px));
  max-width: 100%;
  padding: 0 28px 14px 0;
}

#projects .project-heading h2 {
  display: block;
  max-width: none;
  width: max-content;
  line-height: .88 !important;
  padding: .04em .16em .12em 0;
}

#projects .project-heading h2.variable-proximity-ready .vp-line {
  line-height: inherit;
  padding: .02em .14em .08em 0;
}

#about .compact-heading,
#about .compact-heading > div,
#about .compact-heading h2,
#about .compact-heading h2.variable-proximity-ready,
#about .compact-heading h2.variable-proximity-ready .vp-line,
#about .compact-heading h2.variable-proximity-ready .vp-word,
#about .compact-heading h2.variable-proximity-ready .vp-letter {
  contain: none !important;
  overflow: visible !important;
  clip-path: none !important;
}

#about .compact-heading {
  width: min(980px, calc(100vw - 120px));
  max-width: 100%;
  padding: 0 34px 18px 0;
}

#about .compact-heading h2 {
  display: block;
  max-width: none;
  width: max-content;
  line-height: .88 !important;
  padding: .04em .2em .14em 0;
}

#about .compact-heading h2.variable-proximity-ready .vp-line {
  line-height: inherit;
  padding: .02em .18em .1em 0;
}

#gallery .gallery-heading,
#gallery .gallery-heading > div,
#gallery .gallery-heading h2,
#gallery .gallery-heading h2.variable-proximity-ready,
#gallery .gallery-heading h2.variable-proximity-ready .vp-line,
#gallery .gallery-heading h2.variable-proximity-ready .vp-word,
#gallery .gallery-heading h2.variable-proximity-ready .vp-letter {
  contain: none !important;
  overflow: visible !important;
  clip-path: none !important;
}

#gallery .gallery-heading {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(36px, 6vw, 120px);
  padding: 0 42px 18px 0;
}

#gallery .gallery-heading h2 {
  display: block;
  max-width: none;
  width: max-content;
  letter-spacing: -.018em !important;
  line-height: .88 !important;
  padding: .04em .18em .14em 0;
}

#gallery .gallery-heading h2.variable-proximity-ready .vp-line {
  line-height: inherit;
  letter-spacing: inherit;
  padding: .02em .16em .1em 0;
}

#gallery .gallery-heading h2.variable-proximity-ready .vp-word,
#gallery .gallery-heading h2.variable-proximity-ready .vp-letter {
  letter-spacing: inherit;
}

#gallery .gallery-heading > p {
  flex: 0 0 min(320px, 28vw);
  margin-left: auto;
  text-align: right;
}

#about .about-gallery-card {
  transform-style: flat !important;
  will-change: auto !important;
}

#about .about-gallery .about-gallery-card:hover,
#about .about-gallery.is-hovering .about-gallery-card.is-hovered {
  z-index: 45 !important;
  transform: translateY(-8px) rotate(0deg) !important;
}

#about .about-gallery .about-gallery-card.is-active,
#about .about-gallery.is-hovering .about-gallery-card.is-active {
  z-index: 50 !important;
  transform: translateY(-10px) rotate(0deg) !important;
}

#about .about-gallery.has-active .about-gallery-card:not(.is-active):hover {
  transform: var(--about-card-rest) !important;
}

#about .about-card-content {
  transform: none !important;
}

body:not(.theme-light) #about .about-gallery-card,
body:not(.theme-light) #about .about-gallery-card.company-card {
  border-color: rgba(255, 255, 255, .2) !important;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08)),
    rgba(16, 16, 16, .6) !important;
  box-shadow:
    0 24px 62px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(255, 255, 255, .055) !important;
  backdrop-filter: blur(30px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.18) !important;
}

body:not(.theme-light) #about .about-gallery .about-gallery-card:hover,
body:not(.theme-light) #about .about-gallery .about-gallery-card.is-hovered,
body:not(.theme-light) #about .about-gallery .about-gallery-card.is-active {
  border-color: rgba(255, 255, 255, .28) !important;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .105)),
    rgba(18, 18, 18, .7) !important;
  box-shadow:
    0 30px 76px rgba(0, 0, 0, .42),
    0 0 42px rgba(255, 255, 255, .055),
    0 0 0 1px rgba(255, 255, 255, .08) !important;
}

body:not(.theme-light) #about .about-card-content {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)) !important;
  border-radius: 16px !important;
}

body:not(.theme-light) #about .about-card-body {
  opacity: 1 !important;
  color: rgba(255, 255, 255, .92) !important;
}

body.theme-light #about .about-gallery-card,
body.theme-light #about .about-gallery-card.company-card {
  border-color: rgba(20, 20, 22, .1) !important;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .28)),
    rgba(255, 255, 255, .18) !important;
  box-shadow:
    0 18px 44px rgba(45, 58, 82, .1),
    0 0 0 1px rgba(255, 255, 255, .38) !important;
  backdrop-filter: blur(28px) saturate(1.16) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.16) !important;
}

body.theme-light #about .about-card-body {
  opacity: 1 !important;
}

body:not(.theme-light) #about .about-gallery-card::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .34) 0 1px, transparent 1.4px),
    linear-gradient(135deg, rgba(255, 255, 255, .07), transparent 42%, rgba(255, 255, 255, .035)) !important;
}

body:not(.theme-light) #about .about-particles {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .54) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(255, 255, 255, .22) 0 1px, transparent 1.3px) !important;
  filter: grayscale(1) !important;
}

.work01-subtitle,
.work-placeholder h2,
.work-media h2,
.work01-assets .placeholder-card h3,
.project-block-heading h2,
.project-subproject-title,
.work02-strategy-row h3,
.work02-flow-step h3,
.work04-detail-hero h1,
.work04-project-intro h1,
.work04-detail-caption h2,
.work03-wide-heading h2,
.wide-kv-heading h3,
.stack-set-heading h3 {
  overflow: visible !important;
  line-height: max(1.08, 1em) !important;
  padding-bottom: .08em;
}

/* Mobile layout pass for detail, about and archive pages. */
@media (max-width: 768px) {
  body,
  .other-works-page {
    min-width: 0 !important;
  }
}

@media (max-width: 768px) {
  body,
  body * {
    overflow-wrap: anywhere;
  }

  .work-shell,
  .about-detail,
  .work04-cases .work-shell,
  .work04-detail-gallery {
    width: calc(100% - 48px) !important;
    max-width: none !important;
  }

  .work-nav {
    min-height: 76px !important;
    height: auto !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    padding: 12px 24px !important;
  }

  body:not(.other-works-page) {
    padding-top: 96px !important;
  }

  .work-back {
    min-width: 0;
  }

  .work-back-icon {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px;
  }

  .work-back-copy {
    min-width: 0;
  }

  .work-back-copy strong {
    max-width: 48vw !important;
    font-size: 16px !important;
  }

  .work-brand {
    font-size: 18px !important;
  }

  .work-section-nav {
    position: static !important;
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    transform: none !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-x: auto;
    padding-top: 4px;
    scrollbar-width: none;
  }

  .work-section-nav::-webkit-scrollbar {
    display: none;
  }

  .work-section-nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    font-size: 11px !important;
  }

  .work-project-dropdown {
    right: -6px !important;
    width: min(320px, calc(100vw - 48px)) !important;
  }

  .work-hero,
  .work01-hero {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
    padding: 72px 0 !important;
  }

  body[data-project-id="03"] .work-hero {
    width: 100vw !important;
    min-height: 620px !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 120px 24px 80px !important;
  }

  body[data-project-id="03"] .work-copy {
    max-width: 100% !important;
  }

  body[data-project-id="04"] .work-hero {
    min-height: auto !important;
    padding: 56px 24px !important;
  }

  .work-copy h1,
  .work01-copy h1 {
    font-size: clamp(42px, 13vw, 76px) !important;
    line-height: .92 !important;
    letter-spacing: -.055em !important;
  }

  .work-copy p,
  .work01-copy p {
    max-width: 100% !important;
    margin-top: 22px !important;
    font-size: 13px !important;
  }

  .work-cover {
    height: auto !important;
    aspect-ratio: 16 / 11;
    border-radius: 18px !important;
  }

  .work-placeholder,
  .work-media,
  .work04-cases {
    padding: 78px 0 !important;
  }

  .placeholder-grid,
  .video-grid,
  .work02-strategy,
  .work02-timeline,
  .work04-case-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .placeholder-card {
    min-height: 0 !important;
    padding: 22px !important;
  }

  .placeholder-card h3 {
    margin-top: 42px !important;
  }

  .work02-thinking,
  .work02-workflow {
    padding: 86px 0 !important;
  }

  .work02-thinking-copy h2,
  .work02-workflow-head h2,
  .work04-cases h2,
  .work04-detail-hero h1 {
    font-size: clamp(36px, 11vw, 64px) !important;
  }

  .work02-intro,
  .work02-workflow-head p {
    font-size: 13px !important;
  }

  .work02-timeline::before {
    left: 34px !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    height: auto !important;
  }

  .work02-flow-step {
    min-height: 0 !important;
    padding-left: 86px !important;
  }

  .work04-case-meta {
    display: grid !important;
    gap: 18px !important;
  }

  .work04-case-meta strong {
    width: max-content;
  }

  .work04-project-intro {
    min-height: 0 !important;
    padding: 104px 24px 64px !important;
  }

  .work04-project-copy {
    margin-top: 34px !important;
  }

  .work04-detail-item {
    margin-bottom: 72px !important;
    padding-bottom: 72px !important;
  }

  .about-detail {
    padding: 46px 0 80px !important;
  }

  .about-profile {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 44px !important;
  }

  .about-profile-side {
    position: static !important;
  }

  .about-avatar,
  .about-profile-copy {
    width: min(100%, 360px) !important;
  }

  .about-timeline {
    padding-left: 30px !important;
  }

  .about-timeline::before {
    left: 7px !important;
  }

  .timeline-marker {
    left: -29px !important;
  }

  .timeline-card {
    padding: 26px 24px !important;
  }

  .timeline-top {
    display: grid !important;
    gap: 12px !important;
  }

  .timeline-period {
    white-space: normal !important;
  }

  .other-page-nav {
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    min-height: 70px !important;
    padding: 0 24px !important;
  }

  .other-page-nav strong,
  .other-page-brand {
    font-size: 18px !important;
  }

  .other-page-hero {
    min-height: auto !important;
    padding: 82px 24px 56px !important;
  }

  .other-page-hero h1 {
    width: 100% !important;
    font-size: clamp(44px, 13vw, 76px) !important;
    line-height: .95 !important;
  }

  .other-page-gallery {
    padding: 42px 24px 76px !important;
  }

  .other-works-grid {
    columns: 2 220px !important;
    column-gap: 12px !important;
  }

  .other-works-grid .masonry-item {
    margin-bottom: 12px !important;
  }

  .other-works-grid .masonry-item img,
  .other-works-grid .masonry-item video,
  .other-works-grid .masonry-tall img,
  .other-works-grid .masonry-tall video,
  .other-works-grid .masonry-wide img,
  .other-works-grid .masonry-wide video {
    height: auto !important;
    min-height: 180px !important;
  }

  .media-preview-modal {
    padding: 24px !important;
  }

  .media-preview-close {
    top: 18px !important;
    right: 18px !important;
  }
}

@media (max-width: 520px) {
  .work-shell,
  .about-detail,
  .work04-cases .work-shell,
  .work04-detail-gallery {
    width: calc(100% - 36px) !important;
  }

  .work-nav {
    padding: 10px 18px !important;
  }

  body:not(.other-works-page) {
    padding-top: 92px !important;
  }

  .work-back-copy strong {
    max-width: 42vw !important;
    font-size: 14px !important;
  }

  .work-back-copy small,
  .work-brand {
    font-size: 10px !important;
  }

  .work-copy h1,
  .work01-copy h1 {
    font-size: clamp(36px, 13vw, 58px) !important;
  }

  .work-placeholder,
  .work-media,
  .work04-cases {
    padding: 64px 0 !important;
  }

  .work04-case-card {
    padding: 8px 8px 18px !important;
    border-radius: 18px !important;
  }

  .work04-case-meta {
    padding: 18px 6px 0 !important;
  }

  .work04-case-meta h3 {
    font-size: 18px !important;
  }

  .about-avatar,
  .about-profile-copy {
    width: 100% !important;
  }

  .timeline-card {
    padding: 22px 18px !important;
  }

  .other-page-nav {
    padding: 0 18px !important;
  }

  .other-page-nav strong {
    font-size: 15px !important;
  }

  .other-page-brand {
    font-size: 16px !important;
  }

  .other-page-hero {
    padding: 68px 18px 48px !important;
  }

  .other-page-gallery {
    padding: 34px 18px 64px !important;
  }

  .other-works-grid {
    columns: 1 !important;
  }
}

/* Strict phone-only cleanup for project/detail pages. */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  main,
  section {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  video {
    max-width: 100%;
  }

  .work-shell,
  .about-detail,
  .work04-cases .work-shell,
  .work04-detail-gallery {
    width: calc(100% - 32px) !important;
  }

  .work-hero,
  .work01-hero {
    grid-template-columns: 1fr !important;
  }

  .work-cover,
  .work-cover img {
    width: 100% !important;
  }

  .placeholder-grid,
  .project-block:first-child .project-block-content,
  .project-block-content,
  .project-subproject-content,
  .project-subproject-card.has-portrait-media .project-subproject-content,
  .project-subproject-card.is-image-grid .project-subproject-content,
  .project-subproject-card.is-open-video .project-subproject-content,
  .video-grid,
  .project-video-grid,
  .work02-strategy,
  .work02-timeline,
  .work04-case-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .video-grid {
    gap: 32px !important;
  }

  .video-grid video,
  .project-video-grid video,
  .work-media-card video,
  .placeholder-card.has-video video,
  .portrait-card.has-video video {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  .placeholder-card,
  .project-subproject-card,
  .work-media-card,
  .work04-case-card,
  .work02-strategy-row,
  .work02-flow-step {
    width: 100% !important;
    min-height: 0 !important;
    transform: none !important;
  }

  .placeholder-card.has-image img,
  .project-subproject-card img,
  .work-media-card img,
  .work04-case-media,
  .work04-case-media img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .placeholder-card.has-image img,
  .project-subproject-card.is-image-grid .placeholder-card.has-image img,
  .project-subproject-card.is-image-grid .has-placeholder-media > .media-placeholder {
    aspect-ratio: 16 / 10 !important;
  }

  .portrait-card,
  .project-subproject-card.has-portrait-media .portrait-card {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .portrait-card.has-image img,
  .portrait-card.has-video video,
  .portrait-card.has-placeholder-media > .media-placeholder,
  .work01-assets .portrait-card.has-image img,
  .work01-assets .portrait-card.has-video video {
    width: 100% !important;
    max-width: 320px !important;
    aspect-ratio: 9 / 16 !important;
    object-fit: contain !important;
  }

  body[data-project-id="03"] .work03-gallery-section .work-shell,
  body[data-project-id="03"] .work03-wide-shell {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }

  body[data-project-id="03"] .stack-set {
    width: 100% !important;
    padding: 64px 0 !important;
  }

  body[data-project-id="03"] .stack-stage,
  body[data-project-id="03"] .stack-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 !important;
  }

  body[data-project-id="03"] .stack-card {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    aspect-ratio: 4 / 5 !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body[data-project-id="03"] .stack-card[style*='9 / 16'],
  body[data-project-id="03"] .stack-card.is-vertical {
    aspect-ratio: 9 / 16 !important;
  }

  body[data-project-id="03"] .stack-card[style*='16 / 9'],
  body[data-project-id="03"] .stack-card.is-horizontal {
    aspect-ratio: 16 / 9 !important;
  }

  body[data-project-id="03"] .stack-card img {
    object-fit: contain !important;
    transform: none !important;
  }

  body[data-project-id="03"] .stack-set.is-hovering .stack-card,
  body[data-project-id="03"] .stack-card.is-hovered,
  body[data-project-id="03"] .stack-card:hover {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  body[data-project-id="03"] .wide-kv-single {
    min-height: 0 !important;
    padding-bottom: 64px !important;
  }

  body[data-project-id="03"] .wide-kv-viewport {
    min-height: 0 !important;
    overflow: visible !important;
    cursor: default !important;
  }

  body[data-project-id="03"] .wide-kv-track {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    transform: none !important;
  }

  body[data-project-id="03"] .wide-kv-card,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    aspect-ratio: 16 / 9 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  body[data-project-id="03"] .wide-kv-card img,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card img {
    object-fit: contain !important;
    background: #101010;
  }

  body[data-project-id="03"] .wide-kv-indicator,
  body[data-project-id="03"] .wide-kv-side-nav {
    display: none !important;
  }

  .other-page-gallery {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .other-works-grid {
    columns: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .other-works-grid .masonry-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }

  .other-works-grid .masonry-item img,
  .other-works-grid .masonry-item video,
  .other-works-grid .masonry-tall img,
  .other-works-grid .masonry-tall video,
  .other-works-grid .masonry-wide img,
  .other-works-grid .masonry-wide video {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: contain !important;
    background: #101010;
  }

  .work-back:hover .work-back-icon,
  .timeline-item:hover .timeline-card,
  .timeline-item:hover .timeline-marker,
  .work02-strategy-row:hover,
  .work02-flow-step:hover,
  .work04-case-card:hover,
  .work04-case-card:hover .work04-case-media img,
  .wide-kv-single .wide-kv-card:hover,
  .wide-kv-single .wide-kv-card.is-focus,
  .wide-kv-single .wide-kv-card.is-active:hover,
  .wide-kv-single .wide-kv-card.is-active.is-focus,
  .other-page-hero h1:hover {
    transform: none !important;
    filter: none !important;
  }
}

/* Mobile second pass: detail alignment, compact nav, horizontal timelines and carousels. */
@media (max-width: 768px) {
  section {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1,
  h2,
  h3,
  p {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
    white-space: normal !important;
  }

  .work-nav {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  .work-back {
    flex: 1 1 auto;
    min-width: 0;
  }

  .work-back-icon {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    font-size: 14px !important;
  }

  .work-back-copy strong {
    max-width: 58vw !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .work-back-copy small {
    display: none !important;
  }

  .work-section-nav {
    display: none !important;
  }

  .work-project-menu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .work-menu-trigger {
    width: 32px !important;
    height: 30px !important;
    gap: 3px !important;
  }

  .work-menu-trigger span {
    width: 18px !important;
    height: 2px !important;
  }

  .work-project-dropdown {
    position: fixed !important;
    left: 20px !important;
    right: 20px !important;
    top: 62px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 18px !important;
  }

  .work-shell,
  .about-detail,
  .work04-cases .work-shell,
  .work04-detail-gallery,
  .work03-gallery-heading,
  .work03-wide-heading,
  .work02-thinking-copy,
  .work02-workflow-head {
    width: calc(100vw - 40px) !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .work-hero,
  .work01-hero,
  body[data-project-id="03"] .work-hero,
  body[data-project-id="04"] .work-hero {
    min-height: 0 !important;
    padding: 42px 20px 36px !important;
    gap: 20px !important;
    text-align: center !important;
  }

  .work-copy,
  .work01-copy {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .work-copy h1,
  .work01-copy h1,
  .work01-subtitle,
  .work02-thinking-copy h2,
  .work02-workflow-head h2,
  .work03-gallery-heading h2,
  .work03-wide-heading h2,
  .work04-cases h2,
  .work04-project-intro h1,
  .work04-detail-caption h2,
  .other-page-hero h1 {
    font-size: clamp(28px, 8.5vw, 44px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.03em !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
  }

  .work-copy p,
  .work01-copy p,
  .work02-intro,
  .work02-workflow-head p,
  .work03-gallery-heading p,
  .work03-wide-heading p,
  .work04-project-copy p,
  .work04-detail-caption p,
  .other-page-hero p {
    width: 100% !important;
    max-width: 520px !important;
    margin: 12px auto 0 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    text-align: center !important;
  }

  .work-placeholder,
  .work-media,
  .project-block,
  .work02-thinking,
  .work02-page,
  .work04-cases,
  .work04-detail-gallery,
  .work03-gallery-section,
  .work03-wide-section {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }

  .project-block-heading,
  .work02-workflow-head,
  .work03-gallery-heading,
  .work03-wide-heading,
  .work04-detail-caption {
    margin-bottom: 28px !important;
  }

  .project-block-number,
  .project-block-eyebrow,
  .project-block-english,
  .work02-subtitle,
  .stack-set-heading p,
  .wide-kv-heading p {
    margin-bottom: 8px !important;
  }

  .project-subproject-card.is-image-grid .project-subproject-content,
  .project-block:first-child .project-block-content {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .project-subproject-card.is-image-grid .placeholder-card.has-video,
  .project-subproject-card.is-image-grid .placeholder-card.has-placeholder-media:has(.media-placeholder-video) {
    grid-column: auto !important;
  }

  .project-subproject-card.is-image-grid .placeholder-card.has-image img,
  .project-subproject-card.is-image-grid .has-placeholder-media > .media-placeholder,
  .work04-detail-gallery img {
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }

  .work04-detail-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .work04-detail-item,
  .work04-detail-caption {
    display: contents !important;
  }

  .work04-detail-number,
  .work04-detail-caption h2,
  .work04-detail-caption p {
    display: none !important;
  }

  .work02-timeline {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding: 18px 0 8px !important;
    scrollbar-width: none;
  }

  .work02-timeline::-webkit-scrollbar {
    display: none;
  }

  .work02-timeline::before {
    left: 0 !important;
    right: 0 !important;
    top: 52px !important;
    width: auto !important;
    height: 1px !important;
  }

  .work02-flow-step {
    flex: 0 0 220px !important;
    padding: 78px 16px 16px !important;
    text-align: center !important;
    scroll-snap-align: center;
  }

  .work02-step-dot {
    left: 50% !important;
    transform: translateX(-50%);
  }

  .work02-flow-step p:not(.work02-tool) {
    max-width: 100% !important;
    text-align: center !important;
  }

  body[data-project-id="03"] .stack-set {
    padding: 42px 0 !important;
  }

  body[data-project-id="03"] .stack-stage,
  body[data-project-id="03"] .stack-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding: 12px 44px 24px !important;
    scrollbar-width: none;
  }

  body[data-project-id="03"] .stack-stage::-webkit-scrollbar,
  body[data-project-id="03"] .stack-row::-webkit-scrollbar {
    display: none;
  }

  body[data-project-id="03"] .stack-card {
    flex: 0 0 min(74vw, 280px) !important;
    width: min(74vw, 280px) !important;
    max-width: 280px !important;
    margin: 0 -24px 0 0 !important;
    scroll-snap-align: center;
    box-shadow: 0 22px 66px rgba(0,0,0,.42) !important;
  }

  body[data-project-id="03"] .wide-kv-viewport {
    overflow: visible !important;
  }

  body[data-project-id="03"] .wide-kv-track {
    display: flex !important;
    gap: 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding: 12px 44px 24px !important;
    scrollbar-width: none;
  }

  body[data-project-id="03"] .wide-kv-track::-webkit-scrollbar {
    display: none;
  }

  body[data-project-id="03"] .wide-kv-card,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card {
    flex: 0 0 min(78vw, 320px) !important;
    width: min(78vw, 320px) !important;
    max-width: 320px !important;
    margin: 0 -34px 0 0 !important;
    scroll-snap-align: center;
    box-shadow: 0 22px 66px rgba(0,0,0,.42) !important;
  }

  .other-page-nav {
    min-height: 62px !important;
  }

  .other-page-hero {
    min-height: 0 !important;
    padding: 58px 20px 30px !important;
  }

  .other-page-hero > span,
  .other-page-hero p {
    display: none !important;
  }

  .other-page-gallery {
    padding: 20px !important;
  }

  .other-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .other-works-grid .masonry-item img,
  .other-works-grid .masonry-item video,
  .other-works-grid .masonry-tall img,
  .other-works-grid .masonry-tall video,
  .other-works-grid .masonry-wide img,
  .other-works-grid .masonry-wide video {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .video-grid,
  .project-video-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .video-grid video,
  .project-video-grid video {
    max-width: 320px !important;
  }
}

/* Mobile detail final pass: hide media labels and reduce project detail titles. */
@media (max-width: 768px) {
  body[data-project-id] .project-item-label[data-item-label="CONCEPT"],
  body[data-project-id] .project-item-label[data-item-label="VIDEO"],
  body[data-project-id] .placeholder-card > span[data-item-label="CONCEPT"],
  body[data-project-id] .placeholder-card > span[data-item-label="VIDEO"],
  body[data-project-id] .project-subproject-label,
  body[data-project-id] .work03-wide-heading span,
  body[data-project-id] .wide-kv-heading span,
  body[data-project-id] .work-media h2 {
    display: none !important;
  }

  body[data-project-id] .work-copy h1,
  body[data-project-id] .work01-copy h1,
  body[data-project-id] .work01-subtitle,
  body[data-project-id] .project-subproject-title,
  body[data-project-id] .work02-thinking-copy h2,
  body[data-project-id] .work02-workflow-head h2,
  body[data-project-id] .work03-gallery-heading h2,
  body[data-project-id] .work03-wide-heading h2,
  body[data-project-id] .wide-kv-heading h3,
  body[data-project-id] .stack-set-heading h3,
  body[data-project-id="04"] .work04-cases h2,
  body[data-work04-detail-id] .work04-project-intro h1,
  body[data-work04-detail-id] .work04-detail-caption h2 {
    font-size: clamp(22px, 6.2vw, 32px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
  }

  body[data-project-id] .project-block-heading h2 {
    font-size: clamp(22px, 6.2vw, 28px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
  }

  body[data-project-id] .placeholder-card h3,
  body[data-project-id] .project-subproject-subtitle,
  body[data-project-id] .project-item-subtitle,
  body[data-project-id] .work02-strategy-row h3,
  body[data-project-id] .work02-flow-step h3,
  body[data-project-id="04"] .work04-case-meta h3 {
    font-size: clamp(18px, 5vw, 24px) !important;
    line-height: 1.12 !important;
  }

  body[data-project-id="01"] .placeholder-card h3 {
    font-size: 18px !important;
    line-height: 1.18 !important;
  }

  body[data-project-id="02"] .work02-strategy {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body[data-project-id="02"] .work02-strategy-row {
    min-height: 176px !important;
    padding: 18px 16px !important;
    border-radius: 18px !important;
  }

  body[data-project-id="02"] .work02-strategy-row > span {
    font-size: 22px !important;
  }

  body[data-project-id="02"] .work02-strategy-row h3 {
    margin-top: 22px !important;
    font-size: clamp(17px, 4.4vw, 20px) !important;
    line-height: 1.16 !important;
  }

  body[data-project-id="02"] .work02-strategy-row p {
    margin-top: 12px !important;
    font-size: 10px !important;
    line-height: 1.72 !important;
  }

  body[data-project-id="02"] .work01-hero,
  body[data-project-id="02"].has-project-blocks .work01-hero {
    padding-top: 18px !important;
    padding-bottom: 24px !important;
    gap: 12px !important;
  }

  body[data-project-id="02"] .work01-description {
    margin-top: 0 !important;
  }

  body[data-project-id="02"] .work02-thinking {
    padding-top: 28px !important;
    padding-bottom: 36px !important;
  }

  body[data-project-id="02"] .work02-page {
    min-height: 0 !important;
    padding-top: 26px !important;
    padding-bottom: 30px !important;
  }

  body[data-project-id="02"] .work02-strategy-page {
    justify-content: flex-start !important;
    gap: 20px !important;
  }

  body[data-project-id="02"] .work02-workflow-page {
    justify-content: flex-start !important;
  }

  body[data-project-id="02"] .work02-thinking-copy h2,
  body[data-project-id="02"] .work02-workflow-head h2 {
    margin-bottom: 8px !important;
  }

  body[data-project-id="02"] .work02-intro {
    margin-top: 6px !important;
    line-height: 1.52 !important;
  }

  body[data-project-id="02"] .work02-tags {
    margin-top: 14px !important;
    gap: 8px !important;
  }

  body[data-project-id="02"] .work02-workflow-head {
    margin-bottom: 22px !important;
  }

  body[data-project-id="02"] .work02-timeline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body[data-project-id="02"] .work02-timeline::before {
    left: 22px !important;
    right: auto !important;
    top: 20px !important;
    bottom: 20px !important;
    width: 1px !important;
    height: auto !important;
  }

  body[data-project-id="02"] .work02-flow-step {
    width: 100% !important;
    flex: none !important;
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-rows: 44px auto auto !important;
    column-gap: 14px !important;
    align-items: start !important;
    padding: 0 !important;
    text-align: left !important;
    scroll-snap-align: none !important;
  }

  body[data-project-id="02"] .work02-step-dot {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 12px !important;
    box-shadow: 0 0 0 5px rgba(255,255,255,.018), 0 0 18px rgba(255,80,56,.1) !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body[data-project-id="02"] .work02-flow-step h3,
  body[data-project-id="02"] .work02-flow-step .work02-tool,
  body[data-project-id="02"] .work02-flow-step p:not(.work02-tool) {
    grid-column: 2 !important;
  }

  body[data-project-id="02"] .work02-flow-step h3 {
    grid-row: 1 !important;
    align-self: center !important;
    font-size: clamp(18px, 5.2vw, 22px) !important;
    line-height: 1.12 !important;
  }

  body[data-project-id="02"] .work02-tool {
    grid-row: 2 !important;
    width: fit-content !important;
    min-height: 26px !important;
    margin: 10px 0 10px !important;
    padding: 7px 10px !important;
    font-size: 8px !important;
    line-height: 1 !important;
  }

  body[data-project-id="02"] .work02-flow-step p:not(.work02-tool) {
    grid-row: 3 !important;
    max-width: 100% !important;
    font-size: 11px !important;
    line-height: 1.72 !important;
    text-align: left !important;
  }
}

/* Work 02 mobile title scale override loaded after fixes.css. */
@media (max-width: 768px) {
  body[data-project-id="02"] .project-block-heading h2,
  body[data-project-id="02"] .project-subproject-title {
    font-size: 18px !important;
    line-height: 1.12 !important;
    font-weight: 760 !important;
    letter-spacing: .01em !important;
  }

  body[data-project-id="02"] .project-block-number {
    display: block !important;
    margin: 0 0 12px !important;
    color: var(--orange) !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 22px !important;
    letter-spacing: .12em !important;
    text-shadow: 0 0 10px rgba(255,80,56,.28), 0 0 24px rgba(255,80,56,.12) !important;
  }

  body[data-project-id="02"] .project-block-number::after {
    content: "" !important;
    display: block !important;
    width: 96px !important;
    height: 1px !important;
    margin: 12px auto 0 !important;
    background: rgba(255,255,255,.16) !important;
  }

  body[data-project-id="02"] .project-block-eyebrow {
    margin: 0 0 7px !important;
    font-size: 10px !important;
    line-height: 10px !important;
  }

  body[data-project-id="02"] .project-block-heading h2 {
    font-size: clamp(22px, 6.2vw, 28px) !important;
    line-height: 1.08 !important;
    font-weight: 880 !important;
    letter-spacing: -.02em !important;
    margin: 0 !important;
  }

  body[data-project-id="02"] .project-subproject-title {
    font-size: 18px !important;
    line-height: 1.12 !important;
    font-weight: 760 !important;
    letter-spacing: .01em !important;
  }

  body[data-project-id="02"] .project-subproject-title-en,
  body[data-project-id="02"] .project-block-english {
    margin-top: 7px !important;
    font-size: 10px !important;
    line-height: 10px !important;
    letter-spacing: .18em !important;
  }

  body[data-project-id="02"] .project-subproject-subtitle,
  body[data-project-id="02"] .project-item-subtitle,
  body[data-project-id="02"] .project-subproject-card.is-image-grid .project-subproject-subtitle,
  body[data-project-id="02"] .project-subproject-card.is-open-video .project-subproject-subtitle,
  body[data-project-id="02"] .project-subproject-card.is-open-video .project-item-subtitle {
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    margin: 16px 0 4px !important;
  }

  body[data-project-id="02"] .work02-strategy-row h3 {
    font-size: 16px !important;
    line-height: 1.18 !important;
    font-weight: 760 !important;
    letter-spacing: -.01em !important;
  }

  body[data-project-id="02"] .work02-flow-step h3 {
    font-size: 16px !important;
    line-height: 1.18 !important;
    font-weight: 760 !important;
    letter-spacing: -.01em !important;
  }

  body[data-project-id="02"] .project-subproject-card.is-image-grid .placeholder-card.has-video {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
    align-items: center !important;
  }

  body[data-project-id="02"] .project-subproject-card.is-image-grid .placeholder-card.has-video video {
    display: block !important;
    width: 100% !important;
    max-width: 320px !important;
    aspect-ratio: 16 / 9 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
  }

  body[data-project-id="03"] .work-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    min-height: calc(100vh - 76px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    place-items: center !important;
    justify-items: center !important;
    text-align: center !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  body[data-project-id="03"] .work-hero::-webkit-scrollbar {
    display: none !important;
  }

  body[data-project-id="03"] .work-copy,
  body[data-project-id="03"] .work-copy h1,
  body[data-project-id="03"] .work-copy p,
  body[data-project-id="03"] .work-tags,
  body[data-project-id="03"] .work03-gallery-heading,
  body[data-project-id="03"] .work03-wide-heading,
  body[data-project-id="03"] .stack-set-heading,
  body[data-project-id="03"] .wide-kv-heading {
    width: 100% !important;
    max-width: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body[data-project-id="03"] .work-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  body[data-project-id="03"] .work03-gallery-section,
  body[data-project-id="03"] .work03-wide-section,
  body[data-project-id="03"] .work03-stack-gallery,
  body[data-project-id="03"] .work03-wide-gallery,
  body[data-project-id="03"] .work03-gallery-section .work-shell,
  body[data-project-id="03"] .work03-wide-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    overflow-x: hidden !important;
  }

  body[data-project-id="03"] .stack-set,
  body[data-project-id="03"] .wide-kv-set {
    width: 100% !important;
    max-width: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body[data-project-id="03"] .stack-row,
  body[data-project-id="03"] .wide-kv-track {
    width: 100% !important;
    max-width: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    row-gap: 18px !important;
    column-gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
  }

  body[data-project-id="03"] .stack-stage {
    width: 100% !important;
    max-width: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    gap: 18px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body[data-project-id="03"] .stack-row {
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body[data-project-id="03"] .stack-card,
  body[data-project-id="03"] .wide-kv-card,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    transform: none !important;
    opacity: 1 !important;
    scroll-snap-align: none !important;
  }

  body[data-project-id="03"] .stack-card img,
  body[data-project-id="03"] .wide-kv-card img {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: cover !important;
  }

  body[data-project-id="03"] .stack-card + .stack-card,
  body[data-project-id="03"] .wide-kv-card + .wide-kv-card {
    margin-top: 0 !important;
  }

  body[data-project-id="03"] .stack-card {
    cursor: default !important;
  }

  body[data-project-id="03"] .stack-lightbox,
  body[data-project-id="03"] .stack-lightbox.is-open {
    display: none !important;
  }

  body.work03-modal-open[data-project-id="03"] {
    overflow: auto !important;
  }

  html:has(body[data-project-id="03"]),
  body[data-project-id="03"] {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  html:has(body[data-project-id="03"])::-webkit-scrollbar,
  body[data-project-id="03"]::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
}

@media (max-width: 520px) {
  body[data-project-id="03"] {
    padding-top: 76px !important;
  }
}

/* Work 01 mobile: final spacing and media-width override. */
@media (max-width: 768px) {
  body[data-project-id="01"] .work01-hero,
  body[data-project-id="01"].has-project-blocks .work01-hero {
    padding-top: 30px !important;
    padding-bottom: 18px !important;
  }

  body[data-project-id="01"] .work01-description {
    max-width: min(100%, 342px) !important;
    margin-top: 0 !important;
  }

  body[data-project-id="01"] .work01-assets {
    padding-top: 38px !important;
  }

  body[data-project-id="01"] .project-block {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }

  body[data-project-id="01"] .project-block:first-child {
    padding-top: 0 !important;
  }

  body[data-project-id="01"] .project-block-heading {
    margin-bottom: 22px !important;
  }

  body[data-project-id="01"] .project-subproject-content {
    gap: 22px !important;
  }

  body[data-project-id="01"] .placeholder-card.has-image img,
  body[data-project-id="01"] .placeholder-card.has-video video,
  body[data-project-id="01"] .placeholder-card.has-placeholder-media > .media-placeholder,
  body[data-project-id="01"] .work01-assets .placeholder-card.has-image img,
  body[data-project-id="01"] .work01-assets .placeholder-card.has-video video,
  body[data-project-id="01"] .work01-assets .placeholder-card.has-placeholder-media > .media-placeholder,
  body[data-project-id="01"] .portrait-card.has-image img,
  body[data-project-id="01"] .portrait-card.has-video video,
  body[data-project-id="01"] .portrait-card.has-placeholder-media > .media-placeholder,
  body[data-project-id="01"] .work01-assets .portrait-card.has-image img,
  body[data-project-id="01"] .work01-assets .portrait-card.has-video video,
  body[data-project-id="01"] .work01-assets .portrait-card.has-placeholder-media > .media-placeholder {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
  }

  body[data-project-id="01"] .placeholder-card.has-image img,
  body[data-project-id="01"] .placeholder-card.has-video video,
  body[data-project-id="01"] .work01-assets .placeholder-card.has-image img,
  body[data-project-id="01"] .work01-assets .placeholder-card.has-video video,
  body[data-project-id="01"] .portrait-card.has-image img,
  body[data-project-id="01"] .portrait-card.has-video video,
  body[data-project-id="01"] .work01-assets .portrait-card.has-image img,
  body[data-project-id="01"] .work01-assets .portrait-card.has-video video {
    aspect-ratio: auto !important;
  }
}

/* Work 04 mobile: tighter hero intro and bottom-aligned case actions. */
@media (max-width: 768px) {
  body[data-project-id="04"] .work-hero {
    padding-top: 18px !important;
    padding-bottom: 30px !important;
    gap: 16px !important;
  }

  body[data-project-id="04"] .work-copy p {
    margin-top: 1px !important;
  }

  body[data-project-id="04"] .work04-case-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding-bottom: 18px !important;
  }

  body[data-project-id="04"] .work04-case-meta {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 16px !important;
  }

  body[data-project-id="04"] .work04-case-meta > div {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-self: stretch !important;
  }

  body[data-project-id="04"] .work04-case-meta h3 {
    min-height: 44px !important;
    display: flex !important;
    align-items: flex-end !important;
    margin-bottom: 7px !important;
  }

  body[data-project-id="04"] .work04-case-meta strong {
    align-self: flex-end !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }
}

/* Work 03 mobile: overlap store screenshots and keep switcher below. */
@media (max-width: 768px) {
  body[data-project-id="03"] .stack-stage {
    width: 100% !important;
    max-width: 370px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    gap: 18px !important;
    overflow: visible !important;
  }

  body[data-project-id="03"] .stack-row {
    grid-area: 1 / 1 !important;
    width: 100% !important;
    max-width: 370px !important;
    min-height: min(120vw, 600px) !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body[data-project-id="03"] .stack-row-bottom {
    pointer-events: none !important;
  }

  body[data-project-id="03"] .stack-row-bottom .stack-card {
    pointer-events: auto !important;
  }

  body[data-project-id="03"] .stack-card {
    grid-area: 1 / 1 !important;
    width: min(88vw, 350px) !important;
    max-width: 350px !important;
    aspect-ratio: var(--ratio) !important;
    margin: 0 auto !important;
    opacity: .62 !important;
    filter: saturate(.82) brightness(.74) !important;
    z-index: calc(20 - var(--stack-distance, 0)) !important;
    transform: translateX(calc(var(--stack-offset, 0) * 12px)) translateY(calc(var(--stack-distance, 0) * 7px)) rotate(calc(var(--stack-offset, 0) * 1.5deg)) scale(calc(1 - var(--stack-distance, 0) * .035)) !important;
  }

  body[data-project-id="03"] .stack-card.is-active {
    z-index: 60 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-6px) scale(1.02) !important;
  }

  body[data-project-id="03"] .stack-card img {
    object-fit: contain !important;
  }

  body[data-project-id="03"] .stack-detail-tools {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 260px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body[data-project-id="03"] .stack-detail-tools button,
  body[data-project-id="03"] .stack-detail-tools span {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 9px !important;
  }

  body[data-project-id="03"] .stack-detail-tools button {
    width: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    font-size: 16px !important;
  }
}

/* Work 03 mobile: overlap creative ad KV groups with switchers. */
@media (max-width: 768px) {
  body[data-project-id="03"] .wide-kv-set {
    width: 100% !important;
    max-width: 370px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 52px !important;
  }

  body[data-project-id="03"] .wide-kv-deck {
    width: 100% !important;
    max-width: 370px !important;
    min-height: min(58vw, 230px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    place-items: center !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body[data-project-id="03"] .wide-kv-card,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card {
    grid-area: 1 / 1 !important;
    width: min(88vw, 350px) !important;
    max-width: 350px !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 auto !important;
    opacity: .6 !important;
    filter: saturate(.82) brightness(.74) !important;
    z-index: calc(20 - var(--kv-active-distance, 0)) !important;
    transform: translateX(calc(var(--kv-active-offset, 0) * 12px)) translateY(calc(var(--kv-active-distance, 0) * 7px)) rotate(calc(var(--kv-active-offset, 0) * 1.3deg)) scale(calc(1 - var(--kv-active-distance, 0) * .035)) !important;
  }

  body[data-project-id="03"] .wide-kv-card.is-active,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card.is-active {
    z-index: 60 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-6px) scale(1.02) !important;
  }

  body[data-project-id="03"] .wide-kv-card img {
    object-fit: cover !important;
  }

  body[data-project-id="03"] .wide-kv-tools {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 260px !important;
    margin: 18px auto 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body[data-project-id="03"] .wide-kv-tools button,
  body[data-project-id="03"] .wide-kv-tools span {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 9px !important;
  }

  body[data-project-id="03"] .wide-kv-tools button {
    width: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    font-size: 16px !important;
  }
}

/* Work 03 mobile: creative ad groups as full-width image switchers. */
@media (max-width: 768px) {
  body[data-project-id="03"] .work03-wide-gallery {
    gap: 14px !important;
  }

  body[data-project-id="03"] .wide-kv-set,
  body[data-project-id="03"] .wide-kv-single {
    width: 100% !important;
    max-width: none !important;
    padding: 0 0 18px !important;
    margin: 0 auto !important;
    border-top: 0 !important;
  }

  body[data-project-id="03"] .wide-kv-set + .wide-kv-set {
    padding-top: 0 !important;
  }

  body[data-project-id="03"] .wide-kv-set > .wide-kv-heading {
    display: none !important;
  }

  body[data-project-id="03"] .wide-kv-deck {
    width: calc(100vw - 28px) !important;
    max-width: 430px !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  body[data-project-id="03"] .wide-kv-card,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card {
    grid-area: 1 / 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    border-radius: 4px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    filter: none !important;
    transform: none !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.42) !important;
  }

  body[data-project-id="03"] .wide-kv-card.is-active,
  body[data-project-id="03"] .wide-kv-single .wide-kv-card.is-active {
    z-index: 4 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body[data-project-id="03"] .wide-kv-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body[data-project-id="03"] .wide-kv-tools {
    width: 188px !important;
    max-width: 188px !important;
    height: 46px !important;
    margin: 8px auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 5px 8px !important;
    background: rgba(0,0,0,.82) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.42) !important;
  }

  body[data-project-id="03"] .wide-kv-tools button,
  body[data-project-id="03"] .wide-kv-tools span {
    height: 34px !important;
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(8,8,8,.72) !important;
  }
}

/* Work 03 mobile: carousel.js switcher output. */
@media (max-width: 768px) {
  body[data-project-id="03"] .wide-kv-switcher {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 10px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-deck {
    width: calc(100vw - 28px) !important;
    max-width: 430px !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-card {
    grid-area: 1 / 1 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    border-radius: 4px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    filter: none !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-card.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-tools {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 12px auto 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-tools button,
  body[data-project-id="03"] .wide-kv-switcher .wide-kv-tools span {
    height: 34px !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 999px !important;
    color: #f5f5f2 !important;
    background: rgba(10,10,10,.72) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
    box-shadow: none !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-tools button {
    width: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    font-size: 16px !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-tools span {
    min-width: 58px !important;
    padding: 0 12px !important;
  }
}

/* Work 03 desktop guard: keep recent mobile switcher changes out of desktop. */
@media (min-width: 769px) {
  body[data-project-id="03"] .stack-stage {
    display: flex !important;
    flex-direction: column !important;
    gap: clamp(28px,2.6vw,46px) !important;
  }

  body[data-project-id="03"] .stack-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(14px,1vw,22px) !important;
  }

  body[data-project-id="03"] .stack-row-top {
    padding-inline: 6vw !important;
  }

  body[data-project-id="03"] .stack-row-bottom {
    padding-inline: 0 !important;
  }

  body[data-project-id="03"] .stack-card {
    grid-area: auto !important;
    opacity: 1 !important;
    filter: none !important;
    z-index: 1 !important;
    transform: translateY(0) scale(1) !important;
  }

  body[data-project-id="03"] .stack-detail-tools {
    position: absolute !important;
    left: 50% !important;
    bottom: 34px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, 10px) !important;
  }

  body[data-project-id="03"] .stack-set.is-detail .stack-detail-tools {
    bottom: -68px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}

/* Work 03 desktop: store screenshot Coverflow carousel. */
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  body[data-project-id="03"] .stack-coverflow {
    overflow: hidden !important;
    padding: clamp(64px, 5vw, 88px) 0 clamp(82px, 6vw, 104px) !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-stage {
    --stack-card-width: clamp(230px, 18.2vw, 335px);
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    min-height: var(--stack-stage-height, clamp(620px, 42vw, 700px)) !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 calc(50% - 50vw) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    perspective: 1200px !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }

  body[data-project-id="03"] .stack-coverflow .stack-row {
    display: contents !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-card {
    position: absolute !important;
    left: 50% !important;
    top: var(--stack-card-top, 50%) !important;
    grid-area: auto !important;
    width: var(--stack-card-width) !important;
    max-width: none !important;
    aspect-ratio: var(--ratio) !important;
    margin: 0 !important;
    z-index: var(--stack-coverflow-z, 5) !important;
    opacity: var(--stack-coverflow-opacity, 1) !important;
    filter: saturate(.92) brightness(var(--stack-coverflow-brightness, 1)) blur(var(--stack-coverflow-blur, 0px)) !important;
    transform:
      translate(-50%, -50%)
      translateX(var(--stack-coverflow-x, 0%))
      translateZ(var(--stack-coverflow-depth, 0px))
      rotateY(var(--stack-coverflow-rotate, 0deg))
      scale(var(--stack-coverflow-scale, 1)) !important;
    transform-origin: center center !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    will-change: transform, opacity, filter !important;
    transition:
      transform .56s cubic-bezier(0.22, 1, 0.36, 1),
      opacity .56s cubic-bezier(0.22, 1, 0.36, 1),
      filter .56s cubic-bezier(0.22, 1, 0.36, 1),
      border-color .34s ease,
      box-shadow .56s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: #000;
    opacity: var(--stack-coverflow-shade, 0);
    transition: opacity .56s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body[data-project-id="03"] .stack-coverflow .stack-card.is-active {
    opacity: 1 !important;
    filter: saturate(1) brightness(1) blur(0) !important;
    border-color: rgba(255,255,255,.28) !important;
    box-shadow: 0 46px 128px rgba(0,0,0,.66), 0 0 72px rgba(255,80,56,.1) !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-card.is-active::after {
    opacity: 0;
  }

  body[data-project-id="03"] .stack-coverflow .stack-card:hover,
  body[data-project-id="03"] .stack-coverflow .stack-card.is-hovered {
    border-color: rgba(255,255,255,.32) !important;
    box-shadow: 0 40px 112px rgba(0,0,0,.58), 0 0 56px rgba(255,80,56,.08) !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-card.is-active:hover,
  body[data-project-id="03"] .stack-coverflow .stack-card.is-active.is-hovered {
    transform:
      translate(-50%, -50%)
      translateX(var(--stack-coverflow-x, 0%))
      translateZ(28px)
      rotateY(0deg)
      scale(1.02) !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-detail-tools {
    position: absolute !important;
    left: 50% !important;
    bottom: 18px !important;
    z-index: 80 !important;
    width: auto !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-detail-tools button,
  body[data-project-id="03"] .stack-coverflow .stack-detail-tools span {
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-detail-tools span {
    min-width: 72px !important;
    padding: 0 14px !important;
    font-size: 10px !important;
    letter-spacing: .08em !important;
  }

  body[data-project-id="03"] .stack-coverflow .stack-detail-tools button:hover {
    transform: translateY(-1px) scale(1.04) !important;
  }

  body.theme-light[data-project-id="03"] .stack-coverflow + .stack-coverflow {
    border-top-color: transparent !important;
  }

  body.theme-light[data-project-id="03"] .stack-coverflow .stack-stage {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }

  body.theme-light[data-project-id="03"] .stack-coverflow .stack-card {
    border-color: rgba(30,28,24,.08) !important;
    background: rgba(255,255,255,.82) !important;
    box-shadow: 0 16px 40px rgba(88,76,58,.12), 0 2px 10px rgba(88,76,58,.06) !important;
  }

  body.theme-light[data-project-id="03"] .stack-coverflow .stack-card::after {
    background: #f7f5ef;
    opacity: var(--stack-coverflow-shade, 0);
  }

  body.theme-light[data-project-id="03"] .stack-coverflow .stack-card.is-active {
    border-color: rgba(30,28,24,.14) !important;
    box-shadow: 0 22px 54px rgba(78,66,50,.16), 0 6px 18px rgba(78,66,50,.08) !important;
  }

  body.theme-light[data-project-id="03"] .stack-coverflow .stack-card:hover,
  body.theme-light[data-project-id="03"] .stack-coverflow .stack-card.is-hovered {
    border-color: rgba(30,28,24,.18) !important;
    box-shadow: 0 20px 48px rgba(78,66,50,.14), 0 4px 14px rgba(78,66,50,.07) !important;
  }

  body.theme-light[data-project-id="03"] .stack-coverflow .stack-detail-tools button,
  body.theme-light[data-project-id="03"] .stack-coverflow .stack-detail-tools span {
    border-color: rgba(30,28,24,.08) !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow: 0 10px 22px rgba(78,66,50,.1) !important;
  }
}

/* Work 03 mobile: disable hover-only visual states on touch layouts. */
@media (max-width: 768px), (hover: none), (pointer: coarse) {
  body[data-project-id="03"] .work-back:hover .work-back-icon,
  body[data-project-id="03"] .work-back:active .work-back-icon {
    transform: none !important;
  }

  body[data-project-id="03"] .stack-set.is-hovering,
  body[data-project-id="03"] .wide-kv-set.is-hovering,
  body[data-project-id="03"] .wide-kv-single.is-hovering {
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-project-id="03"] .stack-set.is-hovering .stack-card:not(.is-active),
  body[data-project-id="03"] .stack-card.is-hovered:not(.is-active),
  body[data-project-id="03"] .stack-card:hover:not(.is-active) {
    opacity: .62 !important;
    filter: saturate(.82) brightness(.74) !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow: 0 32px 88px rgba(0,0,0,.48) !important;
    transform: translateX(calc(var(--stack-offset, 0) * 12px)) translateY(calc(var(--stack-distance, 0) * 7px)) rotate(calc(var(--stack-offset, 0) * 1.5deg)) scale(calc(1 - var(--stack-distance, 0) * .035)) !important;
  }

  body[data-project-id="03"] .stack-card.is-active:hover,
  body[data-project-id="03"] .stack-card.is-active.is-hovered {
    opacity: 1 !important;
    filter: none !important;
    border-color: rgba(255,255,255,.28) !important;
    transform: translateY(-6px) scale(1.02) !important;
  }

  body[data-project-id="03"] .stack-card:hover img,
  body[data-project-id="03"] .stack-card.is-hovered img,
  body[data-project-id="03"] .wide-kv-card:hover img,
  body[data-project-id="03"] .wide-kv-card.is-focus img {
    transform: none !important;
    filter: none !important;
  }

  body[data-project-id="03"] .wide-kv-set.is-hovering .wide-kv-card,
  body[data-project-id="03"] .wide-kv-single.is-hovering .wide-kv-card,
  body[data-project-id="03"] .wide-kv-card.is-focus,
  body[data-project-id="03"] .wide-kv-card:hover {
    filter: none !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.42) !important;
    transform: none !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-card:not(.is-active):hover,
  body[data-project-id="03"] .wide-kv-switcher .wide-kv-card:not(.is-active).is-focus {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body[data-project-id="03"] .wide-kv-switcher .wide-kv-card.is-active:hover,
  body[data-project-id="03"] .wide-kv-switcher .wide-kv-card.is-active.is-focus {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body[data-project-id="03"] .stack-detail-tools button:hover,
  body[data-project-id="03"] .wide-kv-tools button:hover,
  body[data-project-id="03"] .wide-kv-side-button:hover {
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(8,8,8,.72) !important;
    transform: none !important;
  }
}

/* Work 03 mobile: shorten the opening hero only. */
@media (max-width: 768px) {
  body[data-project-id="03"] .work-hero {
    min-height: clamp(460px, 62vh, 570px) !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }

  body[data-project-id="03"] .work-copy {
    position: static !important;
  }

  body[data-project-id="03"] .work-no,
  body[data-project-id="03"] .work-copy h1,
  body[data-project-id="03"] .work-copy p {
    position: relative !important;
    z-index: 2 !important;
  }

  body[data-project-id="03"] .work-tags {
    position: absolute !important;
    left: 50% !important;
    top: auto !important;
    bottom: 22px !important;
    z-index: 3 !important;
    width: calc(100vw - 40px) !important;
    max-width: 350px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }
}

/* Work 04 detail mobile: restore the real detail-page reading flow. */
@media (max-width: 768px) {
  body[data-work04-detail-id] .work04-detail-page {
    display: block !important;
    min-height: 100vh !important;
    padding: 0 !important;
  }

  body[data-work04-detail-id] .work04-detail-gallery {
    width: calc(100% - 32px) !important;
    max-width: 520px !important;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin: 0 auto !important;
    padding: 36px 0 72px !important;
  }

  body[data-work04-detail-id] .work04-detail-item {
    display: block !important;
    margin: 0 0 58px !important;
    padding: 0 0 58px !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    scroll-margin-top: 82px !important;
  }

  body[data-work04-detail-id] .work04-detail-item:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  body[data-work04-detail-id] .work04-detail-caption {
    display: block !important;
    max-width: 100% !important;
    margin: 0 auto 24px !important;
    text-align: center !important;
  }

  body[data-work04-detail-id] .work04-detail-number {
    display: inline-block !important;
    margin: 0 0 14px !important;
    color: var(--orange) !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: .14em !important;
  }

  body[data-work04-detail-id] .work04-detail-number::after {
    content: "" !important;
    display: block !important;
    width: 96px !important;
    height: 1px !important;
    margin: 14px auto 0 !important;
    background: rgba(255,255,255,.16) !important;
  }

  body[data-work04-detail-id] .work04-detail-caption h2 {
    display: block !important;
    margin: 0 !important;
    color: #f4f4f1 !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
    letter-spacing: .01em !important;
  }

  body[data-work04-detail-id] .work04-detail-caption p {
    display: block !important;
    max-width: 100% !important;
    margin: 14px auto 0 !important;
    color: rgba(235,235,235,.68) !important;
    font-size: 12px !important;
    line-height: 1.85 !important;
    letter-spacing: .03em !important;
  }

  body[data-work04-detail-id] .work04-detail-gallery img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: #101010 !important;
  }
}

/* Mobile project detail nav: fill the viewport edge to edge. */
@media (max-width: 768px) {
  body[data-project-id] .work-nav,
  body[data-work04-detail-id] .work-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: auto !important;
    min-width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
}

/* Work 02 mobile: clarify workflow rhythm and spacing hierarchy. */
@media (max-width: 768px) {
  body[data-project-id="02"] .work02-workflow-head {
    margin-bottom: 30px !important;
  }

  body[data-project-id="02"] .work02-timeline {
    gap: 30px !important;
    padding: 2px 0 4px !important;
  }

  body[data-project-id="02"] .work02-timeline::before {
    top: 18px !important;
    bottom: 22px !important;
  }

  body[data-project-id="02"] .work02-flow-step {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-rows: 44px auto auto !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body[data-project-id="02"] .work02-step-dot {
    align-self: center !important;
    margin-top: 0 !important;
  }

  body[data-project-id="02"] .work02-flow-step h3 {
    align-self: center !important;
    margin: 0 !important;
    line-height: 1.16 !important;
  }

  body[data-project-id="02"] .work02-tool {
    margin: 9px 0 8px !important;
    min-height: 24px !important;
    padding: 6px 10px !important;
    line-height: 1 !important;
  }

  body[data-project-id="02"] .work02-flow-step p:not(.work02-tool) {
    margin: 0 !important;
    line-height: 1.78 !important;
  }
}

/* Work 02 mobile light mode: keep third-level section titles readable. */
@media (max-width: 768px) {
  body.theme-light[data-project-id="02"] .project-subproject-title,
  body.theme-light[data-project-id="02"] .project-subproject-subtitle,
  body.theme-light[data-project-id="02"] .project-item-subtitle,
  body.theme-light[data-project-id="02"] .placeholder-card h3 {
    color: #111317 !important;
    -webkit-text-fill-color: #111317 !important;
    text-shadow: none !important;
  }
}

/* Work 03 mobile light mode: mirror dark mobile layout with cleaner glass controls. */
@media (max-width: 768px) {
  body.theme-light[data-project-id="03"] .work-hero {
    min-height: clamp(460px, 62vh, 570px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    place-items: center !important;
    justify-items: center !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  body.theme-light[data-project-id="03"] .work-copy,
  body.theme-light[data-project-id="03"] .work-copy h1,
  body.theme-light[data-project-id="03"] .work-copy p,
  body.theme-light[data-project-id="03"] .work-tags,
  body.theme-light[data-project-id="03"] .work03-gallery-heading,
  body.theme-light[data-project-id="03"] .work03-wide-heading,
  body.theme-light[data-project-id="03"] .stack-set-heading,
  body.theme-light[data-project-id="03"] .wide-kv-heading {
    width: 100% !important;
    max-width: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body.theme-light[data-project-id="03"] .work-hero {
    position: relative !important;
  }

  body.theme-light[data-project-id="03"] .work-hero .work-copy,
  body.theme-light[data-project-id="03"] .work-copy {
    position: static !important;
  }

  body.theme-light[data-project-id="03"] .work-hero .work-tags,
  body.theme-light[data-project-id="03"] .work-tags {
    position: absolute !important;
    left: 50% !important;
    top: auto !important;
    bottom: 28px !important;
    z-index: 3 !important;
    width: calc(100vw - 40px) !important;
    max-width: 350px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }

  body.theme-light[data-project-id="03"] .work-hero .work-tags span,
  body.theme-light[data-project-id="03"] .work-tags span {
    color: rgba(16,20,28,.72) !important;
    border-color: rgba(255,255,255,.66) !important;
    background: rgba(255,255,255,.46) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 8px 18px rgba(52,62,76,.08) !important;
    backdrop-filter: blur(16px) saturate(1.18) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.18) !important;
  }

  body.theme-light[data-project-id="03"] .stack-card {
    border-color: rgba(42,38,30,.1) !important;
    background: rgba(255,255,255,.74) !important;
    box-shadow: 0 12px 28px rgba(72,64,50,.11), 0 2px 8px rgba(72,64,50,.06) !important;
  }

  body.theme-light[data-project-id="03"] .stack-card.is-active {
    border-color: rgba(42,38,30,.16) !important;
    box-shadow: 0 16px 34px rgba(72,64,50,.13), 0 3px 10px rgba(72,64,50,.07) !important;
  }

  body.theme-light[data-project-id="03"] .stack-set.is-hovering .stack-card:not(.is-active),
  body.theme-light[data-project-id="03"] .stack-card.is-hovered:not(.is-active),
  body.theme-light[data-project-id="03"] .stack-card:hover:not(.is-active) {
    border-color: rgba(42,38,30,.1) !important;
    box-shadow: 0 10px 24px rgba(72,64,50,.1), 0 2px 8px rgba(72,64,50,.05) !important;
  }

  body.theme-light[data-project-id="03"] .work03-wide-gallery,
  body.theme-light[data-project-id="03"] .wide-kv-set,
  body.theme-light[data-project-id="03"] .wide-kv-single,
  body.theme-light[data-project-id="03"] .wide-kv-switcher {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-top: 0 !important;
  }

  body.theme-light[data-project-id="03"] .wide-kv-set + .wide-kv-set,
  body.theme-light[data-project-id="03"] .wide-kv-switcher + .wide-kv-switcher,
  body.theme-light[data-project-id="03"] .wide-kv-single + .wide-kv-single {
    padding-top: 0 !important;
    border-top: 0 !important;
    border-top-color: transparent !important;
  }

  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-deck,
  body.theme-light[data-project-id="03"] .wide-kv-deck {
    width: calc(100vw - 28px) !important;
    max-width: 430px !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.theme-light[data-project-id="03"] .wide-kv-card,
  body.theme-light[data-project-id="03"] .wide-kv-single .wide-kv-card,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-card {
    border-color: rgba(42,38,30,.1) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.74) !important;
    box-shadow: 0 10px 24px rgba(72,64,50,.1), 0 2px 8px rgba(72,64,50,.05) !important;
    overflow: hidden !important;
  }

  body.theme-light[data-project-id="03"] .wide-kv-card img,
  body.theme-light[data-project-id="03"] .wide-kv-single .wide-kv-card img,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-card img {
    border-radius: inherit !important;
    overflow: hidden !important;
  }

  body.theme-light[data-project-id="03"] .wide-kv-card.is-active,
  body.theme-light[data-project-id="03"] .wide-kv-single .wide-kv-card.is-active,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-card.is-active {
    box-shadow: 0 14px 30px rgba(72,64,50,.12), 0 3px 10px rgba(72,64,50,.06) !important;
  }

  body.theme-light[data-project-id="03"] .stack-detail-tools,
  body.theme-light[data-project-id="03"] .wide-kv-tools,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-tools {
    background: transparent !important;
    box-shadow: none !important;
  }

  body.theme-light[data-project-id="03"] .stack-detail-tools button,
  body.theme-light[data-project-id="03"] .stack-detail-tools span,
  body.theme-light[data-project-id="03"] .wide-kv-tools button,
  body.theme-light[data-project-id="03"] .wide-kv-tools span,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-tools button,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-tools span {
    color: rgba(10,14,20,.86) !important;
    border-color: rgba(255,255,255,.68) !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 8px 20px rgba(50,58,70,.1) !important;
    backdrop-filter: blur(18px) saturate(1.24) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.24) !important;
    transition: transform .18s cubic-bezier(.2,.8,.2,1), background .18s ease, box-shadow .18s ease, border-color .18s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  body.theme-light[data-project-id="03"] .stack-detail-tools button:hover,
  body.theme-light[data-project-id="03"] .stack-detail-tools button:active,
  body.theme-light[data-project-id="03"] .stack-detail-tools button:focus,
  body.theme-light[data-project-id="03"] .wide-kv-tools button:hover,
  body.theme-light[data-project-id="03"] .wide-kv-tools button:active,
  body.theme-light[data-project-id="03"] .wide-kv-tools button:focus,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-tools button:hover,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-tools button:active,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-tools button:focus {
    color: rgba(10,14,20,.92) !important;
    border-color: rgba(255,255,255,.78) !important;
    background: rgba(255,255,255,.72) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 16px rgba(50,58,70,.08) !important;
    transform: scale(.96) !important;
    outline: none !important;
  }

  body.theme-light[data-project-id="03"] .stack-detail-tools button:focus-visible,
  body.theme-light[data-project-id="03"] .wide-kv-tools button:focus-visible,
  body.theme-light[data-project-id="03"] .wide-kv-switcher .wide-kv-tools button:focus-visible {
    outline: 2px solid rgba(255,80,56,.28) !important;
    outline-offset: 3px !important;
  }
}

/* Work 04 mobile light mode: remove panels/borders and restore text hierarchy. */
@media (max-width: 768px) {
  body.theme-light[data-project-id="04"] .work-hero,
  body.theme-light[data-project-id="04"] .work-copy,
  body.theme-light[data-project-id="04"] .work-copy p {
    background: transparent !important;
    box-shadow: none !important;
  }

  body.theme-light[data-project-id="04"] .work-copy p {
    color: rgba(17,19,23,.58) !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-card {
    background: rgba(255,255,255,.88) !important;
    border-color: rgba(17,19,23,.12) !important;
    box-shadow: 0 18px 42px rgba(42,36,28,.13) !important;
    transform: none !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-card:hover {
    background: rgba(255,255,255,.88) !important;
    border-color: rgba(17,19,23,.12) !important;
    box-shadow: 0 18px 42px rgba(42,36,28,.13) !important;
    transform: none !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-card:hover .work04-case-media img {
    transform: none !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-meta {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-meta h3 {
    color: #111317 !important;
    -webkit-text-fill-color: #111317 !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-meta p {
    color: rgba(17,19,23,.58) !important;
    -webkit-text-fill-color: rgba(17,19,23,.58) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: .04em !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-media,
  body.theme-light[data-project-id="04"] .work04-case-media img,
  body.theme-light[data-project-id="04"] .work04-case-media::after {
    border: 0 !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  body.theme-light[data-project-id="04"] .work04-case-media {
    background: transparent !important;
  }

  body.theme-light[data-work04-detail-id] .work04-detail-page,
  body.theme-light[data-work04-detail-id] .work04-detail-gallery,
  body.theme-light[data-work04-detail-id] .work04-detail-item,
  body.theme-light[data-work04-detail-id] .work04-detail-caption {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  body.theme-light[data-work04-detail-id] .work04-detail-caption h2 {
    color: #111317 !important;
    -webkit-text-fill-color: #111317 !important;
    text-shadow: none !important;
  }

  body.theme-light[data-work04-detail-id] .work04-detail-number::after {
    background: rgba(17,19,23,.34) !important;
  }

  body.theme-light[data-work04-detail-id] .work04-detail-caption p {
    color: rgba(17,19,23,.58) !important;
    -webkit-text-fill-color: rgba(17,19,23,.58) !important;
    text-shadow: none !important;
  }

  body.theme-light[data-work04-detail-id] .work04-detail-gallery img,
  body.theme-light[data-work04-detail-id] .work04-detail-item img {
    border: 0 !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* About detail mobile restore: final layout override. */
@media (max-width: 768px), (hover: none), (pointer: coarse) {
  body.about-detail-page {
    overflow-x: hidden !important;
  }

  body.about-detail-page .about-detail,
  body.about-detail-page .work-footer {
    width: min(calc(100vw - 32px), 380px) !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.about-detail-page .about-detail {
    padding: 28px 0 68px !important;
  }

  body.about-detail-page .about-profile {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
    width: 100% !important;
  }

  body.about-detail-page .about-profile-side {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.08fr) !important;
    grid-template-areas:
      "role role"
      "avatar intro"
      "name intro" !important;
    grid-template-rows: minmax(18px, auto) auto minmax(36px, auto) !important;
    gap: 11px 10px !important;
    align-items: start !important;
    overflow: visible !important;
  }

  body.about-detail-page .about-profile-copy {
    display: contents !important;
  }

  body.about-detail-page .about-profile-copy strong {
    grid-area: role !important;
    width: 100% !important;
    min-height: 18px !important;
    display: block !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #ff5038 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: 1.18 !important;
    text-align: center !important;
    white-space: nowrap !important;
    transform: none !important;
  }

  body.about-detail-page .about-avatar {
    grid-area: avatar !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  body.about-detail-page .about-avatar img {
    width: 100% !important;
    aspect-ratio: 1 / 1.18 !important;
    display: block !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  body.about-detail-page .about-profile-copy h1 {
    grid-area: name !important;
    align-self: start !important;
    display: block !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: clamp(18px, 5.2vw, 23px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
    text-align: left !important;
  }

  body.about-detail-page .about-profile-copy h1 em {
    display: inline !important;
    margin-left: 3px !important;
    color: rgba(255,255,255,.58) !important;
    font-size: 7px !important;
    font-weight: 900 !important;
    vertical-align: baseline !important;
  }

  body.about-detail-page .about-intro {
    grid-area: intro !important;
    display: grid !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  body.about-detail-page .about-intro p {
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 8px !important;
    color: rgba(255,255,255,.68) !important;
    background: rgba(255,255,255,.035) !important;
  }

  body.about-detail-page .about-location,
  body.about-detail-page .timeline-marker {
    display: none !important;
  }

  body.about-detail-page .about-timeline {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 30px 0 0 !important;
  }

  body.about-detail-page .about-timeline::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    display: block !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent) !important;
  }

  body.about-detail-page .timeline-item,
  body.about-detail-page .timeline-item:nth-child(2n) {
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0 !important;
  }

  body.about-detail-page .timeline-card {
    width: 100% !important;
    height: 192px !important;
    min-height: 192px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 16px 14px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
  }

  body.about-detail-page .timeline-card h2 {
    min-height: 38px !important;
    font-size: clamp(14px, 4.3vw, 18px) !important;
    line-height: 1.16 !important;
  }

  body.about-detail-page .timeline-period {
    width: max-content !important;
    max-width: 100% !important;
    padding: 4px 7px !important;
    border-radius: 999px !important;
    font-size: 8px !important;
    line-height: 1 !important;
  }

  body.about-detail-page .timeline-role,
  body.about-detail-page .timeline-card p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
  }

  body.about-detail-page .timeline-role {
    min-height: 27px !important;
    margin-top: 10px !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2 !important;
  }

  body.about-detail-page .timeline-card p {
    margin-top: 12px !important;
    font-size: 9px !important;
    line-height: 1.72 !important;
    -webkit-line-clamp: 5 !important;
  }
}

@media (max-width: 360px) {
  body.about-detail-page .about-detail,
  body.about-detail-page .work-footer {
    width: calc(100vw - 24px) !important;
  }

  body.about-detail-page .about-profile-copy strong {
    font-size: 8px !important;
  }

  body.about-detail-page .about-profile-copy h1 {
    font-size: clamp(17px, 5vw, 21px) !important;
  }

  body.about-detail-page .timeline-card {
    height: 186px !important;
    min-height: 186px !important;
    padding: 14px 12px !important;
  }
}

/* Mobile restore layer: final overrides after accidental rollback. */
.project-mobile-preview-video-trigger {
  display: none;
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
  html.is-project-media-preview-open,
  body.is-project-media-preview-open,
  html.is-preview-open,
  body.other-works-page.is-preview-open {
    overflow: hidden !important;
  }

  body[data-project-id="01"] .placeholder-card.has-project-mobile-video-trigger,
  body[data-project-id="02"] .placeholder-card.has-project-mobile-video-trigger {
    position: relative !important;
  }

  body[data-project-id="01"] .project-mobile-preview-video-trigger,
  body[data-project-id="02"] .project-mobile-preview-video-trigger {
    position: absolute !important;
    inset: 0 !important;
    z-index: 8 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: inherit !important;
    background: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  body[data-project-id="01"] .project-mobile-preview-video-trigger:focus,
  body[data-project-id="01"] .project-mobile-preview-video-trigger:active,
  body[data-project-id="01"] .project-mobile-preview-video-trigger:focus-visible,
  body[data-project-id="02"] .project-mobile-preview-video-trigger:focus,
  body[data-project-id="02"] .project-mobile-preview-video-trigger:active,
  body[data-project-id="02"] .project-mobile-preview-video-trigger:focus-visible {
    outline: none !important;
  }

  .project-media-preview-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1300 !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    background: rgba(7,7,8,.9) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    backdrop-filter: blur(18px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
    transition: opacity .24s ease, visibility .24s ease !important;
  }

  .project-media-preview-modal.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .project-media-preview-stage {
    width: 100vw !important;
    min-height: 100svh !important;
    display: grid !important;
    place-items: center !important;
    padding: 72px 16px 28px !important;
    box-sizing: border-box !important;
  }

  .project-media-preview-content {
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100svh - 112px) !important;
    border-radius: 12px !important;
    object-fit: contain !important;
  }

  .project-media-preview-close {
    position: fixed !important;
    top: max(14px, env(safe-area-inset-top)) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    z-index: 2 !important;
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 50% !important;
    color: rgba(255,255,255,.94) !important;
    background: rgba(32,32,34,.56) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 10px 24px rgba(0,0,0,.26) !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    backdrop-filter: blur(18px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
    transition: transform .18s cubic-bezier(.2,.8,.2,1), background .18s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .project-media-preview-close:active {
    transform: scale(.92) !important;
    background: rgba(48,48,50,.68) !important;
  }

  .project-media-preview-close:focus,
  .project-media-preview-close:focus-visible {
    outline: none !important;
  }

  body.other-works-page {
    padding-top: 62px !important;
  }

  body.other-works-page .other-page-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    z-index: 1100 !important;
    width: 100% !important;
    min-height: 62px !important;
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(7,7,8,.72) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.18) !important;
    backdrop-filter: blur(20px) saturate(1.16) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.16) !important;
  }

  body.other-works-page.is-preview-open .other-page-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-100%) !important;
  }

  body.other-works-page .other-page-nav [data-archive-nav-subtitle] {
    display: none !important;
  }

  body.other-works-page .other-page-nav strong,
  body.other-works-page .other-page-brand {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  body.other-works-page .other-page-gallery {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.other-works-page .other-works-grid {
    width: 100% !important;
    columns: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  body.other-works-page .other-works-group-heading {
    grid-column: 1 / -1 !important;
    display: grid !important;
    justify-items: center !important;
    gap: 7px !important;
    margin: 18px 0 2px !important;
    text-align: center !important;
  }

  body.other-works-page .other-works-group-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }

  body.other-works-page .other-works-group-heading p {
    margin: 0 !important;
    color: rgba(255,255,255,.48) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
  }

  body.other-works-page .other-works-grid .masonry-item,
  body.other-works-page .other-works-grid .masonry-video {
    display: block !important;
    width: 100% !important;
    grid-column: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }

  body.other-works-page .other-works-grid .masonry-item img,
  body.other-works-page .other-works-grid .masonry-item video,
  body.other-works-page .other-works-grid .masonry-tall img,
  body.other-works-page .other-works-grid .masonry-tall video,
  body.other-works-page .other-works-grid .masonry-wide img,
  body.other-works-page .other-works-grid .masonry-wide video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
  }

  body.other-works-page .media-preview-modal {
    z-index: 1300 !important;
    padding: 0 !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  body.other-works-page .media-preview-stage {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 100svh !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
  }

  body.other-works-page .media-preview-content {
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100svh - 96px) !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
}
