/* V3 overrides */

/* Desktop nav */
.v3-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px;
}

.v3-desktop-nav .v3-desktop-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: #8B7DF5;
  color: #1a1a2e;
  border-radius: 8px;
  font-family: 'TT Firs Neue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}

.v3-desktop-nav .v3-desktop-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  animation: ctaGlare 4s ease-in-out 2s infinite;
}

@keyframes ctaGlare {
  0% { left: -100%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

.v3-desktop-nav .v3-desktop-cta:hover {
  opacity: 0.85;
}

.v3-desktop-nav .v3-desktop-cta svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.v3-nav-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5FE193;
  margin-left: 16px;
  margin-right: auto;
}

.v3-nav-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5FE193;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(95, 225, 147, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(95, 225, 147, 0); }
}

.v3-desktop-nav-clock {
  display: none;
}

@media (min-width: 769px) {
  body.v3-page {
    min-width: 1280px;
  }

  .v3-pill-nav {
    display: none !important;
  }

  .v3-nav-clock {
    display: none !important;
  }

  .v3-nav-status {
    display: none !important;
  }

  .v3-nav-gradient {
    display: block !important;
    z-index: 99 !important;
    height: 120px !important;
  }

  body.v3-page .hero-section-block {
    display: block !important;
  }

  body.v3-page .gallery-hero-left {
    display: block !important;
    padding-top: 160px !important;
  }

  body.v3-page .v3-apart-section,
  body.v3-page .v3-gallery-section {
    display: block !important;
  }


  .v3-desktop-nav {
    padding: 16px 32px;
    max-width: 1280px;
    margin: 0 auto;
  }

  .v3-nav-logo {
    position: relative;
    top: -6px;
  }

  .v3-desktop-nav .v3-nav-links {
    display: flex !important;
    align-items: center;
    gap: 24px;
    margin-left: 24px;
  }

  .v3-nav-links a {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .v3-nav-links a:hover {
    color: #fff;
  }

  .v3-desktop-nav .v3-nav-logo img {
    width: 40px;
    height: 40px;
  }

  .v3-desktop-nav .v3-desktop-nav-clock {
    position: static;
    font-size: 16px;
    color: var(--color-muted);
    display: flex !important;
    align-items: center;
    margin-left: auto;
    margin-right: 24px;
    gap: 4px;
  }

  .v3-nav-daytime {
    display: none;
  }

  .v3-desktop-nav-clock .logo-clock {
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
  }

  .v3-desktop-nav .v3-desktop-cta {
    height: 40px;
    font-size: 16px;
  }

  .v3-hero-buttons {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 60px;
    margin-top: 16px;
    width: fit-content;
  }

  .v3-hero-ghost-btn {
    justify-self: start;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0;
    background: transparent;
    color: var(--color-muted);
    border: none;
    border-radius: 8px;
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .v3-hero-ghost-btn::before {
    content: '';
    position: absolute;
    inset: 0 -12px;
    border-radius: 8px;
    background: transparent;
    transition: background 0.2s ease;
    z-index: -1;
  }

  .v3-hero-ghost-btn:hover {
    color: var(--color-text);
    transform: translateX(12px);
  }

  .v3-hero-ghost-btn:hover::before {
    background: var(--color-bg-tertiary);
  }

  .v3-desktop-nav .v3-desktop-cta svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }
}

/* TT Firs Neue */
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-ExtraLight.otf') format('opentype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-Light.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-DemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'TT Firs Neue'; src: url('fonts/TT FIRS NEUE/TTFirsNeue-Black.otf') format('opentype'); font-weight: 900; font-style: normal; }


body.v3-page {
  font-family: 'TT Firs Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-feature-settings: 'salt' 1, 'ss01' 1, 'calt' 0;
}

body.v3-page * {
  font-family: inherit;
  font-feature-settings: inherit;
}

/* Marquee */
.v3-marquee {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  padding: 40px 0;
}

.v3-marquee-track {
  display: inline-flex;
  gap: 24px;
}

.v3-marquee-item {
  font-size: 80px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-muted);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.v3-hero-burst {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #09080D;
  animation: burstFadeIn 2s ease-out 0.3s both;
}

@keyframes burstFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.v3-hero-burst::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(to top, #09080D 5%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.v3-hero-orbit {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  z-index: 1;
}

.v3-hero-orbit-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
}

.v3-hero-orbit-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  margin-top: -170px;
  margin-left: -170px;
  animation: orbitSpin 30s linear infinite;
}

.v3-hero-orbit-text text {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--color-muted);
  font-family: 'TT Firs Neue', sans-serif;
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.v3-hero-explore {
  display: none;
}

.v3-nav-logo {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.v3-nav-logo img {
  width: 32px;
  height: 32px;
  shape-rendering: geometricPrecision;
}

.v3-nav-links {
  display: none;
}

.v3-footer-logo {
  display: none;
}

/* Hide old nav on v3 */
body.v3-page nav {
  display: none !important;
}

/* V3 Pill Nav */
.v3-nav-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, hsl(257, 24%, 4%) 0%, transparent 100%);
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v3-nav-gradient.visible {
  opacity: 1;
}

.v3-pill-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: #8B7DF5;
  border-radius: 9999px;
  animation: pillNavIn 0.5s ease-out 0.3s both;
}

@keyframes pillNavIn {
  from { opacity: 0; transform: translateX(-50%) scale(0.9); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

.v3-nav-clock {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  white-space: nowrap;
  pointer-events: none;
  animation: pillNavIn 0.5s ease-out 0.5s both;
  display: none;
}

.v3-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  background: #09080D;
  color: #fff;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.v3-pill:hover {
  background: #1a1825;
}

.v3-pill.active {
  background: #09080D;
  color: #fff;
}

.v3-pill-icon {
  padding: 0;
  width: 32px;
  letter-spacing: 0;
}

body.v3-page .hero-section-block {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 80px !important;
}

body.v3-page .hero-section-block:last-of-type,
body.v3-page .gallery-hero-left > .hero-section-block:last-child {
  margin-bottom: 0 !important;
}

.v3-apart-section {
  margin-top: 0 !important;
}

.v3-gallery-section {
  margin-top: 80px !important;
}

body.v3-page footer {
  background: var(--color-bg-tertiary) !important;
  border-top: none !important;
  border-radius: 24px 24px 0 0 !important;
  margin: 0 !important;
  padding: 32px 0 36px !important;
}

body.v3-page footer .container {
  padding: 0 16px !important;
}


body.v3-page .v3-full-separator {
  display: none;
}

body.v3-page .star-border--lavender {
  width: auto !important;
  display: flex !important;
  justify-content: center;
}

body.v3-page .cv-download-v2 {
  height: 60px !important;
  padding: 0 24px !important;
}

body.v3-page main {
  margin-top: 0 !important;
  gap: 0 !important;
  position: relative;
  z-index: 2;
}

.v3-hero {
  border-radius: 0 !important;
}

.v3-hero-photo {
  display: none !important;
}

.v3-hero::after {
  display: none !important;
}

body.v3-page .v3-hero-info {
  align-items: flex-start !important;
  text-align: left !important;
}

body.v3-page .v3-hero-info .hero-profile-badge {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body.v3-page .gallery-hero {
  padding: 0 !important;
  margin: 0 !important;
}

body.v3-page .gallery-hero-inner {
  padding: 0 !important;
  margin: 0 !important;
}

body.v3-page .gallery-hero-left {
  padding: 24px 16px 0 !important;
  margin: 0 !important;
}

body.v3-page .hero-work-grid {
  gap: 80px;
}

.v3-apart-section {
  position: relative;
  padding: 0 16px;
  margin-top: 160px;
}

.v3-apart-sticky {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.v3-apart-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v3-apart-p {
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-muted);
  margin: 0;
  transition: color 0.4s ease, opacity 0.4s ease;
  opacity: 0.35;
}

.v3-apart-p.active {
  color: var(--color-text);
  opacity: 1;
}

.v3-apart-ref {
  margin-top: 80px;
  border-radius: 8px;
  padding: 20px !important;
  border: none !important;
}

.v3-apart-ref-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v3-apart-ref-icon {
  width: 40px;
  height: auto;
  opacity: 1;
  flex-shrink: 0;
}

.v3-apart-ref .ref-author strong {
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.v3-apart-ref .ref-name-row {
  gap: 10px !important;
}

.v3-apart-ref .ref-name-row .ref-social-icon {
  position: relative;
  top: -2px;
}

.v3-apart-ref .ref-author span {
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

.v3-apart-ref blockquote {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
}

.v3-ref-carousel {
  margin-top: 80px;
  margin-left: -16px;
  margin-right: -16px;
  overflow: hidden;
}

.v3-ref-track {
  display: flex;
  gap: 8px;
  overflow: visible;
  width: max-content;
  padding: 0 16px;
}

.v3-ref-track::-webkit-scrollbar {
  display: none;
}

.v3-ref-track .v3-apart-ref {
  width: calc(100vw - 32px);
  min-width: calc(100vw - 32px);
  flex-shrink: 0;
  scroll-snap-align: start;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.v3-ref-track .v3-apart-ref .v3-apart-ref-top {
  order: 2;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.v3-ref-track .v3-apart-ref .v3-apart-ref-icon {
  transform: rotate(180deg);
  width: auto;
  height: 40px;
  flex-shrink: 0;
}

.v3-ref-track .v3-apart-ref blockquote {
  order: 1;
  margin: 0;
}

.v3-ref-track .v3-apart-ref .hero-exp-more {
  order: 1;
  margin-top: 0 !important;
}

.v3-ref-track .v3-apart-ref .ref-author strong {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
}

.v3-ref-track .v3-apart-ref .ref-author span {
  font-size: 12px !important;
  line-height: 16px !important;
  color: var(--color-muted) !important;
}

@media (min-width: 769px) {
  .v3-ref-carousel {
    margin-left: 0;
    margin-right: 0;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
    mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
  }
  .v3-ref-track {
    display: flex;
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    width: max-content;
    cursor: grab;
  }
  .v3-ref-track .v3-apart-ref {
    width: calc((min(1280px, 100vw) - 64px - 11 * 24px) / 12 * 4 + 3 * 24px);
    min-width: calc((min(1280px, 100vw) - 64px - 11 * 24px) / 12 * 4 + 3 * 24px);
    padding: 24px !important;
  }
}


.v3-apart-ref {
  gap: 16px !important;
}

.v3-apart-ref.v3-ref-18 blockquote {
  font-size: 18px !important;
  line-height: 28px !important;
}

.v3-apart-ref.v3-ref-20 blockquote {
  font-size: 22px !important;
  line-height: 32px !important;
}

.v3-apart-ref .hero-exp-more {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  margin-top: -4px !important;
}

.hero-work-desc {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -0.02em !important;
  color: var(--color-text);
  margin: 0;
  order: 1;
}

body.v3-page .hero-work-title-row {
  order: 4 !important;
  margin: 4px 0 0 !important;
  gap: 6px !important;
}

.hero-work-dot {
  font-size: 12px;
  line-height: 16px;
  color: #8B7DF5;
}

body.v3-page .hero-exp-more {
  color: #8B7DF5 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background-image: none !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  font-weight: 400 !important;
  margin-top: 16px !important;
}

body.v3-page .drawer {
  background: var(--color-bg-tertiary) !important;
  border-left: none !important;
}

.drawer-ref-author.ref-author {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

.drawer-ref-author.ref-author .ref-avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-ref-author.ref-author strong {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.drawer-ref-author.ref-author span {
  font-size: 12px !important;
  line-height: 16px !important;
  color: var(--color-muted) !important;
  font-weight: 400 !important;
}

.drawer-ref-author.ref-author .ref-name-row {
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.drawer-ref-author.ref-author .ref-social-icon {
  position: relative;
  top: -1px;
}

.drawer-ref-back .hero-exp-more-arrow {
  position: relative;
  top: -1px;
}

.hero-exp-more-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8B7DF5;
  color: hsl(257, 24%, 4%);
  flex-shrink: 0;
}

body.v3-page .hero-accordion-body-inner .cv-list {
  margin-top: 8px;
  margin-bottom: 12px;
}

body.v3-page .cv-list li {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  padding-left: 20px !important;
}

body.v3-page .cv-list {
  margin-left: -4px;
}

body.v3-page .hero-work-card,
body.v3-page .hero-work-ref {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  cursor: default;
  text-decoration: none;
}

body.v3-page .hero-work-card:nth-child(2) { transition-delay: 0.3s; }
body.v3-page .hero-work-card:nth-child(3) { transition-delay: 0.2s; }

body.v3-page .hero-work-card.visible,
body.v3-page .hero-work-ref.visible {
  opacity: 1;
  transform: translateY(0);
}

body.v3-page .hero-things-block,
body.v3-page .hero-work-block,
body.v3-page .v3-services-desktop,
body.v3-page .v3-apart-section,
body.v3-page .v3-ref-carousel,
body.v3-page .v3-gallery-section {
  opacity: 0 !important;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  animation: none !important;
}

body.v3-page .hero-work-block.visible,
body.v3-page .hero-things-block.visible,
body.v3-page .v3-services-desktop.visible,
body.v3-page .v3-apart-section.visible,
body.v3-page .v3-ref-carousel.visible,
body.v3-page .v3-gallery-section.visible {
  opacity: 1 !important;
  transform: translateY(0);
}

.v3-gallery-section {
  padding: 0 16px !important;
  margin-top: 160px;
  margin-bottom: 0;
}

.v3-gallery-title {
  display: none;
}

.v3-things-subtitle {
  display: none;
}

.v3-things-left {
  display: contents;
}

.v3-services-desktop {
  display: none;
}

.v3-gallery-header {
  display: none;
}

.v3-gallery-desc {
  display: none;
}

.v3-gallery-disclaimer {
  display: none;
}


body.v3-page .logo-clock {
  letter-spacing: 0.02em;
}

body.v3-page .hero-section-label {
  font-weight: 500;
}

.hero-work-org {
  color: #8B7DF5;
  font-family: 'TT Firs Neue', sans-serif !important;
  font-style: normal;
  font-weight: 400;
}

.hero-work-dash {
  font-family: 'TT Firs Neue', sans-serif !important;
  font-style: normal;
}

.hero-work-year-pill {
}

body.v3-page .hero-work-pills span {
  padding: 2.5px 8px 1.5px !important;
}

body.v3-page .hero-work-pills {
  order: 2 !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

body.v3-page .hero-section-block {
  display: block !important;
}

body.v3-page .hero-experience-block {
  display: none !important;
}

body.v3-page .hero-things-block .hero-accordion-item.open {
  margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.16);
  transition: background 0.3s ease;
}

body.v3-page .hero-things-block .hero-accordion-item:last-child.open {
  margin-bottom: 0;
}

body.v3-page .hero-exp-accordion {
  gap: 0 !important;
}

body.v3-page .hero-exp-accordion .hero-accordion-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

body.v3-page .hero-exp-accordion .hero-accordion-item:first-child {
  border-top: 1px solid var(--color-border);
}

body.v3-page .hero-exp-accordion .hero-accordion-item.open {
  padding-bottom: 24px;
}

body.v3-page .hero-exp-accordion .hero-accordion-trigger {
  font-weight: 400 !important;
  margin-left: -4px !important;
}

body.v3-page .hero-exp-accordion .hero-accordion-trigger strong {
  font-weight: 400 !important;
}

body.v3-page .hero-things-block .hero-accordion {
  gap: 0 !important;
}

body.v3-page .hero-things-block .hero-accordion-item {
  background: none;
  border-radius: 0;
  padding: 24px 16px;
  margin-left: -16px;
  margin-right: -16px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}

body.v3-page .hero-things-block .hero-accordion-item:first-child {
  border-top: 1px solid var(--color-border);
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
}

body.v3-page .hero-things-block .hero-accordion-trigger {
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  justify-content: space-between !important;
  text-align: left !important;
}

body.v3-page .hero-things-block .hero-accordion-trigger::before {
  display: none !important;
}

.hero-accordion-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(139, 125, 245, 0.24);
  color: #8B7DF5;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

body.v3-page .hero-things-block .hero-accordion-item.open .hero-accordion-plus {
  transform: rotate(45deg);
  background: #8B7DF5;
  color: hsl(257, 24%, 4%);
}

body.v3-page .hero-accordion-body p {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 300 !important;
}

body.v3-page .hero-things-block .hero-accordion-body-inner {
  padding-left: 0 !important;
}

body.v3-page .hero-things-block .hero-accordion-item.open .hero-accordion-body-inner {
  padding-bottom: 8px !important;
}


body.v3-page .hero-work-img {
  order: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  border-radius: 0 !important;
  margin-left: -16px !important;
  margin-right: -16px !important;
  width: calc(100% + 32px) !important;
  aspect-ratio: 1 !important;
  overflow: hidden;
}

body.v3-page .hero-work-img video {
  border-radius: 0 !important;
}

body.v3-page .hero-work-pills span,
body.v3-page .hero-accordion-pills span {
  background: rgba(139, 125, 245, 0.16);
  border: 1px solid rgba(139, 125, 245, 0.08);
  color: #8B7DF5;
  font-weight: 400;
}

.v3-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.v3-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.v3-gallery-item.v3-gallery-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
}

.v3-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v3-hero-heading.gallery-hero-heading {
  display: block !important;
}

.v3-hero-desc {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-muted);
  margin: 0;
}

.v3-hero-heading {
  font-family: 'TT Firs Neue', sans-serif !important;
  font-size: 28px !important;
  line-height: 36px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  margin: 8px 0 0 0 !important;
  width: 100% !important;
}

.v3-hero-heading #typewriter {
  width: 100%;
  right: 0;
}

.v3-hero-buttons-mobile {
  display: none;
}

.v3-hero-explore-mobile {
  display: none;
}

.v3-hero-heading .hero-purple {
  font-family: 'TT Firs Neue', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}

/* V3 hero entrance animations */
.v3-hero-photo img {
  animation: v3PhotoIn 1.2s ease-out both;
}

@keyframes v3PhotoIn {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes v3SlideLeft {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.v3-hero-info .hero-profile-badge {
  animation: heroFadeUp 0.6s ease-out both;
  animation-delay: 0.4s;
}

.v3-hero-info .v3-hero-heading {
}

.v3-desktop-nav {
  animation: v3SlideDown 0.7s ease-out both;
  animation-delay: 0.3s;
}

.v3-hero-buttons {
  animation: v3SlideLeft 0.7s ease-out both;
  animation-delay: 0.7s;
}

.v3-hero-bottom {
  animation: heroFadeUp 0.8s ease-out both;
  animation-delay: 0.8s;
}

.v3-hero-orbit {
  animation: v3OrbitIn 1.4s ease-out both;
  animation-delay: 0.2s;
}

@keyframes v3OrbitIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(1.08); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

body.v3-page .floating-cta-wrap {
  display: none !important;
}


/* CTA button */
.copy-email {
  touch-action: manipulation;
}

body.v3-page .floating-cta,
body.v3-page .floating-cta.is-docked {
  background: #8B7DF5 !important;
  color: #1a1a2e !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 60px !important;
  padding: 0 24px !important;
  white-space: nowrap !important;
  position: relative;
  overflow: hidden;
}

body.v3-page .floating-cta::after {
  display: none;
}

body.v3-page .floating-cta svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2 !important;
}


body.v3-page .floating-cta-wrap.is-docked {
  display: none !important;
}

body.v3-page .mobile-menu-cta {
  height: 60px !important;
}

body.v3-page .footer-cta-slot {
  height: 60px !important;
}

body.v3-page .hero-work-img {
  border: none !important;
  position: relative;
  z-index: 2;
}

body.v3-page .hero-work-pills,
body.v3-page .hero-accordion-pills,
body.v3-page .star-border--lavender {
  position: relative;
  z-index: 2;
}

body.v3-page .btn-primary {
  font-family: 'TT Firs Neue', sans-serif !important;
  font-weight: 500 !important;
  font-size: 20px;
}

body.v3-page .btn-primary svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

body.v3-page .floating-cta {
  font-family: 'TT Firs Neue', sans-serif !important;
  font-weight: 500 !important;
}

body.v3-page .mobile-menu-cta {
  font-family: 'TT Firs Neue', sans-serif !important;
  font-weight: 500 !important;
}

/* Desktop overrides — must be last */
@media (min-width: 769px) {
  body.v3-page .v3-hero-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    top: 100px !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px !important;
  }

  body.v3-page .v3-hero-info .hero-profile-badge {
    display: none !important;
  }

  body.v3-page .v3-hero-heading {
    font-size: 48px !important;
    line-height: 56px !important;
    letter-spacing: -0.04em !important;
    margin: 0 !important;
  }

  body.v3-page .v3-hero-bottom {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .v3-hero-explore {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: 1;
    align-self: end;
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #fff;
    width: fit-content;
    transition: color 0.2s ease;
    animation: heroFadeUp 0.8s ease-out both;
    animation-delay: 0.9s;
  }

  .v3-hero-explore:hover {
    color: #8B7DF5;
    cursor: pointer;
  }

  .v3-hero-explore svg {
    animation: arrowPulse 1.6s ease-in-out infinite;
  }

  @keyframes arrowPulse {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(2px); }
  }

  body.v3-page .v3-hero-desc {
    font-family: 'TT Firs Neue', sans-serif !important;
    font-size: 18px !important;
    line-height: 28px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    grid-column: 2;
  }

  body.v3-page .v3-hero {
    border-radius: 0 !important;
  }

  body.v3-page footer {
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 0 44px !important;
  }

  body.v3-page footer .footer-photo,
  body.v3-page footer .footer-cta-slot,
  body.v3-page footer .logo-default {
    display: none !important;
  }

  body.v3-page footer hr {
    display: none !important;
  }

  body.v3-page footer p {
    color: var(--color-muted) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  .v3-footer-logo {
    display: flex !important;
    justify-content: center;
    padding: 44px 0 40px;
  }

  .v3-footer-logo-svg {
    width: 60px;
    height: 60px;
  }

  .v3-footer-logo-svg path {
    fill: none;
    stroke: var(--color-muted);
    stroke-width: 4;
  }

  body.v3-page .hero-section-block {
    margin-bottom: 160px !important;
  }

  body.v3-page .hero-section-block:last-of-type {
    margin-bottom: 0 !important;
  }

  body.v3-page .v3-apart-section {
    margin-top: 160px !important;
  }

  body.v3-page .v3-gallery-section {
    margin-top: 160px !important;
    margin-bottom: 0 !important;
  }

  body.v3-page .hero-work-grid {
    gap: 40px !important;
  }

  .v3-hero-orbit {
    width: 340px;
    height: 340px;
  }

  .v3-hero-orbit-photo {
    width: 280px;
    height: 280px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    outline: 1px solid transparent;
    image-rendering: auto;
  }

  .v3-hero-orbit-text {
    width: 340px;
    height: 340px;
    margin-top: -170px;
    margin-left: -170px;
  }

  .v3-hero-orbit-text text {
    font-size: 12px;
    line-height: 16px;
  }

  body.v3-page .hero-section-label {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
  }

  body.v3-page .v3-apart-p {
    font-size: 40px !important;
    line-height: 52px !important;
    letter-spacing: -0.04em !important;
  }

  body.v3-page .v3-apart-section {
    max-width: 1280px !important;
    width: 100% !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    box-sizing: border-box !important;
  }

  body.v3-page .v3-apart-text {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.v3-page .v3-apart-section .hero-section-label {
    margin-bottom: 80px;
  }

  body.v3-page .v3-apart-section .v3-ref-carousel {
    margin-top: 160px;
  }

  body.v3-page .v3-apart-sticky {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.v3-page .v3-apart-p {
    max-width: 100% !important;
    width: 100% !important;
  }

  body.v3-page .gallery-hero-inner {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    display: block !important;
  }

  body.v3-page .gallery-hero-left {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 80px 0 0 0 !important;
  }

  body.v3-page .v3-apart-section {
    max-width: 1280px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px;
    padding-right: 32px;
  }

  body.v3-page .v3-gallery-section {
    max-width: 1280px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px;
    padding-right: 32px;
    text-align: center;
  }

  body.v3-page .v3-gallery-label {
    display: none !important;
  }

  .v3-gallery-header {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
  }

  .v3-gallery-title {
    display: block !important;
    font-size: 40px;
    font-weight: 400 !important;
    line-height: 48px;
    margin: 0 0 8px;
    font-family: 'TT Firs Neue', sans-serif;
  }

  .v3-gallery-desc {
    display: block !important;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #8B7DF5;
    margin: 0 0 4px;
    font-family: 'TT Firs Neue', sans-serif;
    max-width: calc((100% - 11 * 24px) / 12 * 4 + 3 * 24px);
  }

  .v3-gallery-disclaimer {
    display: block !important;
    font-size: 10px;
    line-height: 14px;
    font-weight: 400;
    color: var(--color-muted);
    opacity: 0.6;
    margin: 0;
    font-family: 'TT Firs Neue', sans-serif;
    max-width: calc((100% - 11 * 24px) / 12 * 4 + 3 * 24px);
  }

  body.v3-page footer .container {
    max-width: 1280px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  body.v3-page .hero-work-grid {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr);
    gap: 120px 24px !important;
    align-items: start;
  }

  body.v3-page .hero-work-card .hero-work-img {
    aspect-ratio: 5 / 4 !important;
    overflow: hidden;
  }

  /* Row 1: Cookie DAO (7 col) + Filip ref (4 col), centered */
  body.v3-page .hero-work-dao {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  body.v3-page .hero-work-ref-filip {
    grid-column: 9 / span 4;
    grid-row: 1;
    align-self: center !important;
    margin: 0 !important;
  }

  /* Row 2: cookie.fun (4 col) + Cookie3 (7 col) */
  body.v3-page .hero-work-cookiefun {
    grid-column: 1 / span 4;
    grid-row: 2;
    align-self: center;
  }

  body.v3-page .hero-work-cookiefun .hero-work-img {
    aspect-ratio: 1 / 1 !important;
  }

  body.v3-page .hero-work-cookiefun .hero-work-desc {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  body.v3-page .hero-work-c3 {
    grid-column: 6 / span 7;
    grid-row: 2;
    width: 100%;
    min-width: 0;
  }

  body.v3-page .hero-work-c3 .hero-work-desc {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.v3-page .hero-work-c3 .hero-work-img {
    aspect-ratio: 1 / 1 !important;
  }

  /* Row 3: Openmeme (7 col) + Magda ref (4 col), centered */
  body.v3-page .hero-work-openmeme {
    grid-column: 1 / span 7;
    grid-row: 3;
  }

  body.v3-page .hero-work-ref-magda {
    grid-column: 9 / span 4;
    grid-row: 3;
    align-self: center;
  }

  body.v3-page .hero-work-ref {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 !important;
    padding-top: 64px !important;
    border-radius: 0;
    background: none !important;
    border: none !important;
    gap: 16px;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    position: relative;
  }

  body.v3-page .hero-work-ref .v3-apart-ref-top {
    order: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }

  body.v3-page .hero-work-ref .v3-apart-ref-icon {
    order: -1;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    width: 60px;
    height: auto;
    flex-shrink: 0;
  }

  body.v3-page .hero-work-ref-filip blockquote {
    order: 1;
    font-size: 20px !important;
    line-height: 28px !important;
    margin: 0;
  }

  body.v3-page .hero-work-ref-magda blockquote {
    order: 1;
    font-size: 20px !important;
    line-height: 28px !important;
    margin: 0;
  }

  body.v3-page .hero-work-ref .hero-exp-more {
    order: 1;
    margin-top: 0 !important;
  }

  body.v3-page .hero-work-ref .ref-author strong {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
  }

  body.v3-page .hero-work-ref .ref-author span {
    font-size: 12px !important;
    line-height: 16px !important;
    color: var(--color-muted) !important;
  }

  body.v3-page .hero-work-ref .ref-name-row {
    gap: 10px !important;
  }

  body.v3-page .hero-work-ref .ref-author {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .ref-avatar,
  .ref-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-bg-tertiary);
    flex-shrink: 0;
    object-fit: cover;
  }

  body.v3-page .hero-work-img {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    border-radius: 8px !important;
  }

  body.v3-page .hero-work-card {
    gap: 8px !important;
  }

  body.v3-page .hero-work-card .hero-work-desc {
    margin-top: 8px !important;
  }

  .hero-work-desc {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  body.v3-page .hero-work-dao .hero-work-desc,
  body.v3-page .hero-work-c3 .hero-work-desc,
  body.v3-page .hero-work-openmeme .hero-work-desc {
    font-size: 32px !important;
    line-height: 40px !important;
  }

  body.v3-page .hero-work-pills span,
  body.v3-page .hero-accordion-pills span {
    height: 32px;
    padding: 1px 12px 0 !important;
    font-size: 14px !important;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
  }

.v3-things-tile {
  display: none;
}

  /* Things I Do: hide tile version, show original as grid layout */
  body.v3-page .hero-work-grid .v3-things-tile {
    display: none !important;
  }

  body.v3-page .hero-things-block {
    display: none !important;
  }

  body.v3-page .hero-things-block .hero-accordion {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
  }

  body.v3-page .hero-things-block .hero-accordion-item {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 0;
    padding: 48px 0 !important;
    border-bottom: 1px solid var(--color-border) !important;
    border-top: none !important;
  }

  body.v3-page .hero-things-block .hero-accordion-item:first-child {
    border-top: 1px solid var(--color-border) !important;
    padding-top: 0 !important;
  }

  body.v3-page .hero-things-block .hero-accordion-item:last-child {
    border-bottom: none !important;
  }

  body.v3-page .hero-things-block > .hero-section-label {
    display: none !important;
  }

  body.v3-page .hero-things-block .hero-accordion-trigger {
    font-size: 40px !important;
    line-height: 48px !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
    align-self: start;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.v3-page .hero-things-block .hero-accordion-trigger::before {
    display: none !important;
  }

  body.v3-page .hero-things-block .hero-accordion-plus {
    display: none !important;
  }

  body.v3-page .hero-things-block .hero-accordion-body {
    display: block !important;
    height: auto !important;
  }

  body.v3-page .hero-things-block .hero-accordion-body-inner {
    overflow: visible !important;
    padding-left: 0 !important;
  }

  body.v3-page .hero-things-block .hero-accordion-body p:not(.v3-things-subtitle) {
    color: #fff !important;
    margin-bottom: 36px !important;
    font-size: 18px !important;
    line-height: 28px !important;
  }

  .v3-things-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body.v3-page .hero-things-block .v3-things-subtitle {
    display: block !important;
    color: #8B7DF5 !important;
    -webkit-text-fill-color: #8B7DF5 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    margin: 0 !important;
  }

  body.v3-page .hero-things-block .hero-accordion-pills {
    gap: 8px 4px !important;
  }

  body.v3-page .hero-things-block .hero-accordion-pills span {
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    color: #8B7DF5 !important;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  body.v3-page .hero-things-block .hero-accordion-pills span.pill-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ---- DESKTOP SERVICES (clean, no overrides) ---- */

  .v3-services-desktop {
    display: block;
    background: var(--color-card-bg);
    border-radius: 24px;
    padding: 48px;
    margin-top: 96px;
  }

  .v3-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    padding: 48px 0;
    border-bottom: 1px solid var(--color-border);
    margin-left: -48px;
    margin-right: -48px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .v3-service:first-child {
    padding-top: 0;
  }

  .v3-service:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .v3-service-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .v3-service-title {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 40px;
    line-height: 48px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
  }

  .v3-service-sub {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #8B7DF5;
    margin: 0;
  }

  .v3-service-right {
    display: flex;
    flex-direction: column;
  }

  .v3-service-desc {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 36px;
  }

  .v3-service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 4px;
  }

  .v3-service-pills span {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(139, 125, 245, 0.16);
    border: 1px solid rgba(139, 125, 245, 0.08);
    color: #8B7DF5;
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .v3-service-pills span.pill-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   MOBILE OVERRIDES — match desktop design
   ============================================= */
@media (max-width: 768px) {

  /* --- PILL NAV: hide on mobile --- */
  .v3-pill-nav {
    display: none !important;
  }

  .v3-nav-clock {
    display: none !important;
  }

  /* --- HERO: stacked flow layout on mobile --- */
  body.v3-page .v3-hero {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    height: auto !important;
    min-height: var(--vh, 100vh);
    min-height: 100svh;
    padding: 68px 16px 60px;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .v3-hero-burst {
    position: absolute !important;
    inset: 0;
  }

  .v3-hero-burst canvas {
    width: 100% !important;
    height: 100% !important;
  }

  /* Orbit: static in flow, original size */
  .v3-hero-orbit {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 264px;
    height: 264px;
    z-index: 2;
    flex-shrink: 0;
    animation: mobileOrbitIn 1.2s ease-out 0.2s both !important;
  }

  @keyframes mobileOrbitIn {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
  }

  .v3-hero-orbit-photo {
    width: 220px;
    height: 220px;
  }

  .v3-hero-orbit-text {
    width: 264px;
    height: 264px;
    margin-top: -132px;
    margin-left: -132px;
  }

  /* Orbit first */
  body.v3-page .v3-hero-orbit {
    order: 1;
  }

  /* Info: heading (order 2), bottom: desc (order 3), buttons (order 4) */
  body.v3-page .v3-hero-info {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 2;
    margin-top: 12px;
    width: 100%;
    order: 2;
    opacity: 1 !important;
  }

  /* Hide badge */
  body.v3-page .v3-hero-info .hero-profile-badge {
    display: none !important;
  }

  body.v3-page .v3-hero-heading {
    font-size: 30px !important;
    line-height: 38px !important;
    letter-spacing: -0.03em !important;
  }

  /* Hide buttons inside info on mobile */
  body.v3-page .v3-hero-info .v3-hero-buttons {
    display: none !important;
  }

  /* Show mobile buttons in bottom */
  body.v3-page .v3-hero-buttons-mobile {
    display: grid !important;
    grid-template-columns: auto auto;
    gap: 0 16px;
    margin-top: 8px;
    width: fit-content;
  }

  /* Bottom: desc then links */
  body.v3-page .v3-hero-bottom {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 2;
    display: flex !important;
    flex-direction: column;
    margin-top: 16px;
    width: 100%;
    padding: 0 !important;
    order: 3;
    opacity: 1 !important;
    animation: none !important;
  }

  body.v3-page .v3-hero-desc {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 300 !important;
    color: var(--color-muted);
    animation: heroFadeUp 0.6s ease-out 0.7s both;
  }

  body.v3-page .v3-hero-desc br {
    display: none;
  }

  /* Hide original explore on mobile */
  .v3-hero-explore {
    display: none !important;
  }

  /* Mobile explore pinned to bottom of hero */
  .v3-hero-explore-mobile {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #8B7DF5;
    cursor: pointer;
    position: absolute;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    white-space: nowrap;
    z-index: 3;
    animation: heroFadeUp 0.6s ease-out 0.9s both;
  }

  .v3-explore-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8B7DF5;
    color: hsl(257, 24%, 4%);
    flex-shrink: 0;
    animation: arrowPulse 1.6s ease-in-out infinite;
  }

  .v3-explore-circle svg {
    animation: none;
  }

  @keyframes arrowPulse {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(2px); }
  }

  .v3-hero-ghost-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0;
    background: transparent;
    color: var(--color-muted);
    border: none;
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
  }

  .v3-hero-ghost-btn svg {
    color: #fff;
    fill: #fff;
    position: relative;
    top: -1px;
  }

  .v3-hero-ghost-btn svg[width="14"] {
    margin-right: 2px;
  }

  .v3-hero-ghost-btn svg[fill="none"] {
    fill: none;
    stroke: #fff;
    top: 0;
  }

  /* --- EXPERIENCE: hide on mobile like desktop --- */
  body.v3-page .hero-experience-block {
    display: none !important;
  }

  /* --- THINGS I DO: hide redundant tile in work grid --- */
  body.v3-page .v3-things-tile {
    display: none !important;
  }

  /* Things I Do: card background */
  body.v3-page .hero-things-block {
    background: var(--color-bg-tertiary);
    border-radius: 16px;
    padding: 16px 16px 0 !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
  }

  body.v3-page .hero-things-block .hero-section-label {
    margin-bottom: 12px !important;
  }

  body.v3-page .hero-things-block .hero-accordion-item:first-child {
    border-top: 1px solid var(--color-border) !important;
  }

  body.v3-page .hero-things-block .hero-accordion-item:last-child {
    border-bottom: none !important;
  }

  /* Show subtitle on mobile like desktop */
  body.v3-page .hero-things-block .v3-things-subtitle {
    display: block !important;
    color: #8B7DF5 !important;
    -webkit-text-fill-color: #8B7DF5 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    margin: 0 !important;
  }

  body.v3-page .hero-things-block .v3-things-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body.v3-page .hero-things-block .hero-accordion-pills {
    gap: 8px 4px !important;
    margin-top: 8px !important;
  }

  body.v3-page .hero-things-block .hero-accordion-pills span {
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
  }

  body.v3-page .hero-work-ref {
    display: none !important;
  }

  /* Always show accordion body content on mobile like desktop */
  body.v3-page .hero-things-block .hero-accordion-body-inner > p {
    color: var(--color-muted) !important;
    margin: 8px 0 12px 0 !important;
    padding: 0 !important;
  }

  /* --- GALLERY: mobile 2-col layout --- */
  .v3-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .v3-gallery-item.v3-gallery-wide {
    aspect-ratio: 2 / 1 !important;
  }

  /* Reorder: vaiot, tixl, civical, moonie, myheadhunter, ottolander, booksy */
  .v3-gi-vaiot { order: 1; }
  .v3-gi-tixl { order: 2; }
  .v3-gi-civical { order: 3; }
  .v3-gi-moonie { order: 4; }
  .v3-gi-myheadhunter { order: 5; }
  .v3-gi-ottolander { order: 6; }
  .v3-gi-booksy { order: 7; }

  /* --- GALLERY HEADER --- */
  /* Show title, description, and disclaimer on mobile like desktop */
  body.v3-page .v3-gallery-header {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 24px;
  }

  body.v3-page .v3-gallery-title {
    display: block !important;
    font-size: 24px;
    font-weight: 400 !important;
    line-height: 32px;
    margin: 0 0 8px;
    font-family: 'TT Firs Neue', sans-serif;
    color: #fff;
  }

  body.v3-page .v3-gallery-desc {
    display: block !important;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #8B7DF5;
    margin: 0 0 4px;
    font-family: 'TT Firs Neue', sans-serif;
  }

  body.v3-page .v3-gallery-disclaimer {
    display: block !important;
    font-size: 10px;
    line-height: 14px;
    font-weight: 400;
    color: var(--color-muted);
    opacity: 0.6;
    margin: 0;
    font-family: 'TT Firs Neue', sans-serif;
  }

  /* Hide the plain GALLERY label since header now shows */
  body.v3-page .v3-gallery-label {
    display: none !important;
  }

  /* --- FOOTER --- */
  /* Match desktop: transparent bg, no rounded corners, hide photo/CTA, show TK logo */
  body.v3-page footer {
    background: transparent !important;
    border-radius: 0 !important;
    border-top: none !important;
    padding: 0 0 36px !important;
  }

  body.v3-page footer .footer-photo,
  body.v3-page footer .footer-cta-slot,
  body.v3-page footer .logo-default {
    display: none !important;
  }

  body.v3-page footer hr {
    display: none !important;
  }

  body.v3-page footer p {
    color: var(--color-muted) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  /* Show TK logo above footer on mobile like desktop */
  .v3-footer-logo {
    display: flex !important;
    justify-content: center;
    padding: 40px 0 32px;
  }

  .v3-footer-logo-svg {
    width: 48px;
    height: 48px;
  }

  .v3-footer-logo-svg path {
    fill: none;
    stroke: var(--color-muted);
    stroke-width: 4;
  }
}

@media (max-width: 374px) {
  body.v3-page .v3-hero-heading {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  body.v3-page .v3-hero-desc {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  body.v3-page .v3-hero-desc br {
    display: none;
  }

  body.v3-page .hero-things-block .v3-things-subtitle {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

/* Project tile carousel */
body.v3-page .hero-work-img.carousel {
  position: relative;
}

body.v3-page .carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y;
}

body.v3-page .carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

body.v3-page .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  color: #2A2734;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

body.v3-page .hero-work-img.carousel:hover .carousel-arrow {
  opacity: 1;
  transition: opacity 0.3s ease;
}

body.v3-page .carousel-arrow:hover {
  background: #F0ECE3;
}

body.v3-page .carousel-prev { left: 12px; }
body.v3-page .carousel-next { right: 12px; }

body.v3-page .carousel-arrow:disabled {
  opacity: 0 !important;
  pointer-events: none;
}

body.v3-page .carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

body.v3-page .carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #FFFFFF;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

body.v3-page .carousel-dot.active {
  opacity: 1;
}

@media (hover: none) {
  body.v3-page .carousel-arrow { display: none; }
}

.carousel-slide-cta {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #FFFFFF;
  color: #1a1a2e;
  border-radius: 8px;
  font-family: 'TT Firs Neue', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  z-index: 4;
  transition: opacity 0.2s ease;
}

.carousel-slide-cta .carousel-cta-circle {
  width: 16px;
  height: 16px;
}

.carousel-slide-cta .carousel-cta-circle svg {
  width: 10px;
  height: 10px;
}

.carousel-slide-cta:hover {
  opacity: 0.85;
}

.carousel-cta-label {
  position: relative;
  top: 1px;
}

.carousel-cta-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1a1a2e;
  color: #FFFFFF;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .carousel-slide-cta {
    bottom: 40px;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    font-size: 16px;
  }

  .carousel-slide-cta .carousel-cta-circle {
    width: 20px;
    height: 20px;
  }

  .carousel-slide-cta .carousel-cta-circle svg {
    width: 12px;
    height: 12px;
  }
}

/* Lightbox */
.carousel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.carousel-lightbox.active,
.carousel-lightbox.closing {
  pointer-events: auto;
}

.carousel-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-lightbox.active .carousel-lightbox-overlay {
  opacity: 1;
}

.carousel-lightbox-content {
  position: fixed;
  overflow: hidden;
  border-radius: 12px;
  background: #1a1a2e;
  transition: top 0.45s cubic-bezier(0.4, 0, 0.15, 1),
              left 0.45s cubic-bezier(0.4, 0, 0.15, 1),
              width 0.45s cubic-bezier(0.4, 0, 0.15, 1),
              height 0.45s cubic-bezier(0.4, 0, 0.15, 1),
              border-radius 0.45s cubic-bezier(0.4, 0, 0.15, 1),
              transform 0.4s cubic-bezier(0.4, 0, 1, 1),
              opacity 0.35s ease;
}

.carousel-lightbox .carousel-arrow,
.carousel-lightbox .carousel-dots,
.carousel-lightbox .carousel-lightbox-close {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.carousel-lightbox.ready .carousel-arrow,
.carousel-lightbox.ready .carousel-dots,
.carousel-lightbox.ready .carousel-lightbox-close {
  opacity: 1 !important;
  pointer-events: auto;
}

.carousel-lightbox:not(.active) .carousel-arrow,
.carousel-lightbox:not(.active) .carousel-dots,
.carousel-lightbox:not(.active) .carousel-lightbox-close {
  transition-delay: 0s;
}

.carousel-lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-lightbox-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.carousel-lightbox-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.v3-page .carousel-lightbox .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px !important;
  height: 40px !important;
  opacity: 1 !important;
  display: flex !important;
  border-radius: 50%;
  border: none;
  background: #FFFFFF !important;
  color: #2A2734 !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}

body.v3-page .carousel-lightbox .carousel-prev { left: 24px; }
body.v3-page .carousel-lightbox .carousel-next { right: 24px; }

body.v3-page .carousel-lightbox .carousel-arrow:hover {
  background: #F0ECE3 !important;
}

.carousel-lightbox .carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-lightbox .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #FFFFFF;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.carousel-lightbox .carousel-dot.active {
  opacity: 1;
}

.carousel-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}

.carousel-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

