/* Animations CSS file */

:root {
  --site-max-width: 72rem;
  --site-padding-x: 1rem;
}

body:has(#fullpage) {
  --site-padding-x: 2rem;
}

@media (min-width: 768px) {
  :root {
    --site-padding-x: 2rem;
  }
}

html {
  background-color: #f0f1f3;
}

body {
  background-color: #f0f1f3;
}

#fullpage {
  width: 100%;
}

.site-container,
.intro-hero-stack {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding-x);
  padding-right: var(--site-padding-x);
}

.navbar-inner {
  position: relative;
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .intro-hero-stack {
    padding-left: var(--site-padding-x);
    padding-right: var(--site-padding-x);
  }
}

.intro-hero-stack {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 0;
  overflow: visible;
}

body:has(#fullpage) #intro > .intro-dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
}

.intro-dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 100% 88% at 50% 48%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.2) 22%,
    rgba(0, 0, 0, 0.4) 46%,
    rgba(0, 0, 0, 0.4) 64%,
    rgba(0, 0, 0, 0.22) 82%,
    transparent 96%
  );
  mask-image: radial-gradient(
    ellipse 100% 88% at 50% 48%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.2) 22%,
    rgba(0, 0, 0, 0.4) 46%,
    rgba(0, 0, 0, 0.4) 64%,
    rgba(0, 0, 0, 0.22) 82%,
    transparent 96%
  );
}

.intro-dot-grid__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

body:has(#fullpage) #intro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(150, 158, 170, 0.44) 1.15px, transparent 1.15px);
  background-size: 21px 21px;
  background-position: center;
  -webkit-mask-image: radial-gradient(
    ellipse 100% 88% at 50% 48%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.2) 22%,
    rgba(0, 0, 0, 0.4) 46%,
    rgba(0, 0, 0, 0.4) 64%,
    rgba(0, 0, 0, 0.22) 82%,
    transparent 96%
  );
  mask-image: radial-gradient(
    ellipse 100% 88% at 50% 48%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.2) 22%,
    rgba(0, 0, 0, 0.4) 46%,
    rgba(0, 0, 0, 0.4) 64%,
    rgba(0, 0, 0, 0.22) 82%,
    transparent 96%
  );
}

body:has(#fullpage) #intro.intro-dot-grid-active::before {
  opacity: 0;
}

body:has(#fullpage) #intro::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 48% 54% at 50% 44%,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.14) 40%,
    transparent 66%
  );
}

@media (min-width: 768px) {
  .intro-dot-grid {
    -webkit-mask-image: radial-gradient(
      ellipse 140% 90% at 50% 48%,
      rgba(0, 0, 0, 0.14) 0%,
      rgba(0, 0, 0, 0.24) 16%,
      rgba(0, 0, 0, 0.48) 38%,
      rgba(0, 0, 0, 0.48) 54%,
      rgba(0, 0, 0, 0.38) 68%,
      rgba(0, 0, 0, 0.2) 84%,
      transparent 96%
    );
    mask-image: radial-gradient(
      ellipse 140% 90% at 50% 48%,
      rgba(0, 0, 0, 0.14) 0%,
      rgba(0, 0, 0, 0.24) 16%,
      rgba(0, 0, 0, 0.48) 38%,
      rgba(0, 0, 0, 0.48) 54%,
      rgba(0, 0, 0, 0.38) 68%,
      rgba(0, 0, 0, 0.2) 84%,
      transparent 96%
    );
  }

  body:has(#fullpage) #intro::before {
    -webkit-mask-image: radial-gradient(
      ellipse 140% 90% at 50% 48%,
      rgba(0, 0, 0, 0.14) 0%,
      rgba(0, 0, 0, 0.24) 16%,
      rgba(0, 0, 0, 0.48) 38%,
      rgba(0, 0, 0, 0.48) 54%,
      rgba(0, 0, 0, 0.38) 68%,
      rgba(0, 0, 0, 0.2) 84%,
      transparent 96%
    );
    mask-image: radial-gradient(
      ellipse 140% 90% at 50% 48%,
      rgba(0, 0, 0, 0.14) 0%,
      rgba(0, 0, 0, 0.24) 16%,
      rgba(0, 0, 0, 0.48) 38%,
      rgba(0, 0, 0, 0.48) 54%,
      rgba(0, 0, 0, 0.38) 68%,
      rgba(0, 0, 0, 0.2) 84%,
      transparent 96%
    );
  }

  body:has(#fullpage) #intro::after {
    background: radial-gradient(
      ellipse 58% 60% at 50% 44%,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.1) 44%,
      transparent 72%
    );
  }

  body:has(#fullpage) #contact::after {
    background: radial-gradient(
      ellipse 58% 60% at 50% 44%,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.1) 44%,
      transparent 72%
    );
  }
}

body:has(#fullpage) #intro > *:not(.intro-dot-grid) {
  position: relative;
  z-index: 1;
}

body:has(#fullpage) #contact > .intro-dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
}

body:has(#fullpage) #contact > *:not(.intro-dot-grid) {
  position: relative;
  z-index: 1;
}

body:has(#fullpage) #contact::before {
  background-image: radial-gradient(circle, rgba(150, 158, 170, 0.38) 1.15px, transparent 1.15px);
  background-size: 21px 21px;
  background-position: center;
  -webkit-mask-image: radial-gradient(
    ellipse 100% 88% at 50% 48%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.2) 22%,
    rgba(0, 0, 0, 0.36) 46%,
    rgba(0, 0, 0, 0.36) 64%,
    rgba(0, 0, 0, 0.2) 82%,
    transparent 96%
  );
  mask-image: radial-gradient(
    ellipse 100% 88% at 50% 48%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.2) 22%,
    rgba(0, 0, 0, 0.36) 46%,
    rgba(0, 0, 0, 0.36) 64%,
    rgba(0, 0, 0, 0.2) 82%,
    transparent 96%
  );
}

body:has(#fullpage) #contact.about-dot-grid-active::before {
  opacity: 0;
}

body:has(#fullpage) #contact::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 48% 54% at 50% 44%,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.14) 40%,
    transparent 66%
  );
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(209, 213, 219, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(209, 213, 219, 0.45) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center;
  -webkit-mask-image: radial-gradient(
    ellipse 90% 85% at 50% 48%,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    transparent 72%
  );
  mask-image: radial-gradient(
    ellipse 90% 85% at 50% 48%,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    transparent 72%
  );
}

#contact > *:not(.intro-dot-grid) {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  body:has(#fullpage) #intro:not(.intro) {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    justify-content: space-between;
    padding-top: 5.5rem;
  }

  body:has(#fullpage) #intro:not(.intro) .intro-hero-stack {
    padding-top: 4rem;
    justify-content: flex-start;
  }

  .intro-hero-stack {
    gap: 1.5rem;
  }

  .intro-content {
    max-width: 52rem;
    margin-inline: auto;
  }

  .intro-hero-cards {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 1280px) and (min-height: 800px) {
  body:has(#fullpage) #intro:not(.intro) .intro-hero-stack {
    padding-top: clamp(5rem, 8vh, 11rem);
    gap: clamp(1.25rem, 2vh, 2rem);
  }
}

@media (min-width: 1536px) and (min-height: 900px) {
  body:has(#fullpage) #intro:not(.intro) .intro-hero-stack {
    padding-top: clamp(7rem, 12vh, 16rem);
    gap: clamp(1.5rem, 3vh, 3rem);
  }
}

/* Navbar CTA, overrides Tailwind preflight (transparent bg, zero padding on button) */
#navbar .nav-book-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: #fff;
  background-color: #000;
  border: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.2s ease;
}

#navbar .nav-book-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 72%;
  height: 240%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 10%,
    rgba(255, 255, 255, 0.1) 24%,
    rgba(255, 255, 255, 0.22) 38%,
    rgba(255, 255, 255, 0.38) 46%,
    rgba(255, 255, 255, 0.48) 50%,
    rgba(255, 255, 255, 0.38) 54%,
    rgba(255, 255, 255, 0.22) 62%,
    rgba(255, 255, 255, 0.1) 76%,
    rgba(255, 255, 255, 0.03) 90%,
    transparent 100%
  );
  transform: translate(-130%, -50%) rotate(32deg);
  transform-origin: center center;
  pointer-events: none;
}

#navbar .nav-book-btn:hover {
  background-color: #242424;
}

#navbar .nav-book-btn:hover::before {
  animation: nav-book-btn-sweep 1.15s ease-out;
}

@keyframes nav-book-btn-sweep {
  to {
    transform: translate(270%, -50%) rotate(32deg);
  }
}

#navbar .nav-book-btn.nav-book-btn--light {
  color: #111827;
  background-color: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

#navbar .nav-book-btn.nav-book-btn--light:hover {
  background-color: #f3f4f6;
}

#navbar .nav-book-btn.nav-book-btn--light::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(17, 24, 39, 0.02) 10%,
    rgba(17, 24, 39, 0.05) 24%,
    rgba(17, 24, 39, 0.1) 38%,
    rgba(17, 24, 39, 0.16) 46%,
    rgba(17, 24, 39, 0.2) 50%,
    rgba(17, 24, 39, 0.16) 54%,
    rgba(17, 24, 39, 0.1) 62%,
    rgba(17, 24, 39, 0.05) 76%,
    rgba(17, 24, 39, 0.02) 90%,
    transparent 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  #navbar .nav-book-btn::before {
    display: none;
  }
}

/* Navbar text links: shimmer sweep on hover (mirrors nav-book-btn) */
#navbar a.nav-text-link:not(.hidden) {
  position: relative;
  display: inline-block;
  transition: color 0.2s ease;
  --nav-link-base: #9ca3af;
  --nav-link-shine: #111827;
}

#navbar a.nav-text-link.text-gray-400 {
  --nav-link-base: #9ca3af;
  --nav-link-shine: #111827;
}

#navbar a.nav-text-link.text-gray-600 {
  --nav-link-base: #4b5563;
  --nav-link-shine: #111827;
}

#navbar a.nav-text-link.text-white {
  --nav-link-base: #9ca3af;
  --nav-link-shine: #ffffff;
}

#navbar a.nav-text-link.text-white.font-medium {
  --nav-link-base: #e5e7eb;
  --nav-link-shine: #ffffff;
}

#navbar a.nav-text-link:hover {
  background-image: linear-gradient(
    100deg,
    var(--nav-link-base) 0%,
    var(--nav-link-base) 34%,
    var(--nav-link-shine) 50%,
    var(--nav-link-base) 66%,
    var(--nav-link-base) 100%
  );
  background-size: 260% 100%;
  background-position: 100% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: nav-text-link-shimmer 0.9s ease-out;
}

@keyframes nav-text-link-shimmer {
  to {
    background-position: -15% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #navbar a.nav-text-link:hover {
    -webkit-text-fill-color: unset;
    background-image: none;
    color: var(--nav-link-shine);
    animation: none;
  }
}

/* Solid bar on project pages, transparent navbar would show #intro's white radial gradient */
.navbar-fixed {
  background-color: #f0f1f3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body:has(#fullpage) .navbar-fixed {
  background-color: transparent;
  border-bottom: none;
}

body:has(#fullpage) .navbar-fixed.navbar--with-border {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body:not(:has(#fullpage)) {
  background-color: #f0f1f3;
}

.logo-avatar {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  overflow: visible;
  background: transparent;
}

.logo-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.14))
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

.logo-avatar-img-default {
  position: relative;
}

.logo-avatar-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.logo-avatar:hover .logo-avatar-img-default {
  opacity: 0;
}

.logo-avatar:hover .logo-avatar-img-hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18))
    drop-shadow(0 5px 10px rgba(0, 0, 0, 0.14));
}

.logo-name {
  position: relative;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  white-space: nowrap;
}

.logo-name-default {
  display: inline-block;
  transition: opacity 0.25s ease;
}

.logo-name-greeting {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.logo-avatar:hover ~ #logo-name .logo-name-default {
  opacity: 0;
}

.logo-avatar:hover ~ #logo-name .logo-name-greeting {
  opacity: 1;
}

.logo-name-light .logo-greeting-hey {
  color: #262626;
}

.logo-name-light .logo-greeting-there {
  color: #737373;
}

.logo-name-dark .logo-greeting-hey {
  color: #f9fafb;
}

.logo-name-dark .logo-greeting-there {
  color: #9ca3af;
}

.logo-name-first {
  display: inline-block;
  position: relative;
}

.logo-name-core {
  position: relative;
  z-index: 1;
}

.logo-d {
  display: inline-block;
  will-change: transform;
}

.logo-d-first {
  position: relative;
  z-index: 2;
}

.logo-d-last {
  position: relative;
  z-index: 0;
}

.logo-name-light {
  color: #525252;
}

.logo-name-light .logo-name-rest {
  color: #737373;
}

.logo-name-dark {
  color: #f9fafb;
}

.logo-name-dark .logo-name-rest {
  color: #9ca3af;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1.8s ease forwards;
  opacity: 0;
}

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

.intro-hero-cards.fade-in-up {
  animation-name: fadeInUpOpacity;
  animation-duration: 1.8s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

/* About section */
#contact {
  background-color: #f0f1f3;
  position: relative;
  isolation: isolate;
}

body:has(#fullpage) #contact {
  background-image: radial-gradient(
    ellipse 90% 80% at 50% 42%,
    #ffffff 0%,
    #f9fafb 55%,
    #f0f1f3 100%
  );
}

.about-section {
  padding: 5rem 0 2rem;
}

.about-section--with-footer {
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.about-layout--main {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: max-content;
  width: 100%;
}

.about-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding-x);
  padding-right: var(--site-padding-x);
}

.about-content {
  width: 100%;
  text-align: left;
}

.about-heading {
  color: #111827;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.about-text {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  color: #4b5563;
  margin-bottom: 1rem;
}

.about-content[data-about-highlight] .about-text {
  font-synthesis: none;
}

.about-text .about-highlight {
  font-weight: inherit;
}

.about-text .about-chip {
  display: inline;
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 0.5rem;
  padding: 0.1em 0.5em 0.12em 0.38em;
  margin: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.company-chip {
  display: inline;
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.about-text .about-chip__logo,
.company-chip__logo {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.28em;
  vertical-align: -0.12em;
  object-fit: contain;
  flex-shrink: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.company-chip__logo[src*="letter.svg"] {
  filter: brightness(0);
}

.about-text .about-chip .about-char,
.about-text .about-chip .about-char.is-active {
  font-weight: 300;
  color: #4b5563;
  text-shadow: none;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.about-text .about-chip:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(17, 24, 39, 0.18);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.company-chip:hover {
  color: #111827;
}

.about-text .about-chip:hover .about-char,
.about-text .about-chip:hover .about-char.is-active {
  color: #111827;
  text-shadow:
    0.018em 0 0 currentColor,
    -0.018em 0 0 currentColor;
}

.about-text .about-chip:hover .about-chip__logo,
.company-chip:hover .company-chip__logo {
  opacity: 0.92;
  transform: scale(1.04);
}

.about-text .about-chip:focus-visible,
.company-chip:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.about-text .about-highlight__visual {
  display: inline;
}

.about-text .about-char {
  font-weight: 300;
  color: #4b5563;
  transition:
    color 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    text-shadow 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.about-text .about-char.is-active {
  color: #111827;
  text-shadow:
    0.018em 0 0 currentColor,
    -0.018em 0 0 currentColor;
}

.about-text.about-text--animating .about-char {
  will-change: color;
}

@media (prefers-reduced-motion: reduce) {
  .about-text .about-char,
  .about-text .about-chip,
  .about-text .about-chip .about-char,
  .about-text .about-chip__logo,
  .company-chip,
  .company-chip__logo {
    transition: none;
  }

  .about-text .about-chip:hover .about-chip__logo,
  .company-chip:hover .company-chip__logo {
    transform: none;
  }
}

.about-text--last {
  margin-bottom: 2rem;
}

.about-photo-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-photo-stack {
  position: relative;
  width: min(100%, 18rem);
  aspect-ratio: 5 / 6;
  margin-bottom: 1rem;
  overflow: visible;
}

.about-photo-stack .about-photo-card {
  pointer-events: auto;
  cursor: default;
}

.about-photo-stack .about-photo-card .intro-hero-card__media img {
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: none;
}

.about-photo-stack .about-photo-card--accent .intro-hero-card__media img {
  object-position: center 28%;
}

.about-photo-stack .about-photo-card--main.intro-hero-card--1 {
  z-index: 2;
  top: 4%;
  left: 0;
  width: 82%;
  aspect-ratio: 1692 / 1536;
}

.about-photo-stack .about-photo-card--accent.intro-hero-card--3 {
  z-index: 3;
  right: 0;
  bottom: 10%;
  width: 50%;
  aspect-ratio: 4 / 3;
}

.about-photo-stack:hover .about-photo-card--main {
  transform: translateY(-6px);
  border-color: #d1d5db;
  background-color: #f3f4f6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.about-photo-stack:hover .about-photo-card--accent {
  transform: translate(-10px, 10px);
  border-color: #d1d5db;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

@media (max-width: 767px) {
  #contact.about-section {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }

  #contact .about-layout,
  #contact .about-layout--main {
    align-items: flex-start;
    justify-content: flex-start;
  }

  #contact .about-sum-up-footer {
    padding-bottom: 1rem;
  }

  #contact .about-content {
    max-height: none;
  }
}

@media (min-width: 768px) {
  .about-section {
    padding-top: 0;
  }

  body:has(#fullpage) #contact.about-section--with-footer {
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center;
  }

  body:has(#fullpage) #contact > .about-layout--main {
    flex: 0 0 auto;
    width: 100%;
  }

  body:has(#fullpage) #contact > .about-sum-up-footer {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    align-self: stretch;
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .about-layout,
  .about-layout--main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .about-content {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 36rem;
    padding-right: 1rem;
  }

  .about-text {
    font-size: 1.125rem;
  }

  .about-photo-wrap {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
  }

  .about-photo-stack {
    width: 24rem;
    margin-bottom: 0;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-stack:hover .about-photo-card--main,
  .about-photo-stack:hover .about-photo-card--accent {
    transform: none;
  }
}

/* Page transition curtain */
.page-transition-curtain {
  position: fixed;
  inset: 0;
  z-index: 1000020;
  background-color: var(--curtain-color, #f0f1f3);
  pointer-events: none;
  will-change: transform;
  transform: translateY(-100%);
}

.page-transition-curtain--active {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition-curtain {
    display: none;
  }
}

/* Section transition styles */
.section {
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.section.active {
  /* Active section styles */
}

@keyframes drawLine {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }
}

.draw-line {
  animation: drawLine 0.8s ease forwards;
  opacity: 0;
  animation-delay: 2s;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* White project titles: same depth as intro hero headline */
.project-section-title.text-white {
  text-shadow: none;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18))
    drop-shadow(0 5px 12px rgba(0, 0, 0, 0.08));
}

/* Homepage project titles, two lines on mobile without clipping */
@media (max-width: 767px) {
  .project-section-title {
    display: block;
    width: auto;
    max-width: calc(100vw - 4rem);
    margin-inline: auto;
    box-sizing: border-box;
    padding-inline: 0.25rem;
    font-size: clamp(0.8125rem, 5vw, 1.4375rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
  }
}

/* Project title hover, color only, no layout shift */
.project-title-hover:hover {
  color: #9ca3af;
  text-decoration: none;
}

#project-new .project-title-hover:hover,
#project-agent-evaluator .project-title-hover:hover {
  color: #6b7280;
}

#project3 .project-title-hover:hover {
  color: #1e2f2f;
}

/* Aurora animation styles */
:root {
  --clr-1: #FFF600; /* yellow */
  --clr-2: #000000; /* black */
  --clr-3: #959595; /* medium gray */
  --clr-4: #ffffff; /* medium gray */
}

.logo-aurora {
  position: relative;
  display: inline-block;
  font-weight: 300;
  background: transparent;
}

.logo-aurora span {
  position: relative;
  z-index: 10;
  background-image: linear-gradient(
    90deg, 
    var(--clr-1) 0%, 
    var(--clr-3) 33%, 
    var(--clr-2) 67%, 
    var(--clr-1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: aurora-text 8s linear infinite;
  background-size: 400% 100%;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.aurora {
  display: none;
}

@keyframes aurora-text {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Project card animations */
.projectcard {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.projectcard > div:has(a[href^="cards/"]) {
  cursor: pointer;
}

.projectcard video {
  pointer-events: none;
}

.projectcard.animate {
  opacity: 1;
  transform: scale(1);
}

/* Chevron animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.chevron-down {
  animation: bounce 2s infinite;
}

#intro {
  background-color: #f0f1f3;
}

body:has(#fullpage) #intro {
  isolation: isolate;
  background-image: radial-gradient(
    ellipse 75% 78% at 50% 42%,
    #ffffff 0%,
    #fafbfc 48%,
    #f0f1f3 100%
  );
}

/* Project pages, breathing room below fixed navbar before title */
#intro.intro {
  padding-top: 8rem;
}

@media (min-width: 768px) {
  #intro.intro {
    padding-top: 7rem;
  }
}

@media (min-width: 1024px) {
  #intro.intro {
    padding-top: 9rem;
  }
}

/* Homepage hero cards: let default shadows render outside the stack */
body:has(#fullpage) #intro:not(.intro) {
  overflow: visible;
}

#project-agentic-lifecycle {
  --projectcard-gap: #121212;
  background-color: #050505;
}

#project-agentic-lifecycle .projectcard--agentic-lifecycle {
  width: min(100%, 20rem);
  margin-inline: auto;
  min-width: 0;
}

@media (min-width: 768px) {
  #project-agentic-lifecycle .projectcard--agentic-lifecycle {
    width: 43.75rem;
  }
}

#project-agentic-lifecycle .project-agentic-lifecycle__card {
  position: relative;
  width: 100%;
  padding: 3px;
  line-height: 0;
  border-radius: 0.5rem;
  background: var(--projectcard-gap);
  isolation: isolate;
  overflow: visible;
}

#project-agentic-lifecycle .project-agentic-lifecycle__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.24) 16%,
    rgba(255, 255, 255, 0.1) 38%,
    rgba(255, 255, 255, 0.06) 62%,
    rgba(255, 255, 255, 0.04) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

#project-new {
  --projectcard-gap: #ebebeb;
  background-color: #ebebeb;
  background-image:
    radial-gradient(circle, #d4d4d4 1px, transparent 1px),
    linear-gradient(to right, #ebebeb, #dbdbdb);
  background-size: 22px 22px, 100% 100%;
}

#project-new .projectcard--new {
  width: min(100%, calc(100vw - 4rem));
  margin-inline: auto;
  min-width: 0;
}

@media (min-width: 768px) {
  #project-new .projectcard--new {
    width: 43.75rem;
  }
}

#project-new .project-new__card {
  width: 100%;
  line-height: 0;
  overflow: visible;
}

#project-new .project-new__card a {
  display: block;
  line-height: 0;
}

#project-new .project-new__video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#project-new .project-new__video:not(.hidden) {
  display: block;
}

@media (min-width: 768px) {
  #project-new .project-new__video.md\:hidden {
    display: none;
  }
}

.section--ambient {
  overflow: hidden;
  isolation: isolate;
}

.section--ambient > :not(.section-ambient) {
  position: relative;
  z-index: 1;
}

.section-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section-ambient__canvas {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.section--ambient-light .section-ambient__canvas {
  mix-blend-mode: multiply;
  opacity: 0.8;
}

#project-org-agent-library {
  --projectcard-gap: #1c1c1c;
  background-color: #0d0d0d;
}

#project-org-agent-library .projectcard--org-agent-library {
  width: min(100%, calc(100vw - 4rem));
  margin-inline: auto;
  min-width: 0;
}

@media (min-width: 768px) {
  #project-org-agent-library .projectcard--org-agent-library {
    width: 43.75rem;
  }
}

#project-org-agent-library .project-org-agent-library__card {
  width: 100%;
  line-height: 0;
  overflow: visible;
}

#project-org-agent-library .project-org-agent-library__card a {
  display: block;
  line-height: 0;
}

#project-org-agent-library .project-org-agent-library__video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#project-org-agent-library .project-org-agent-library__video:not(.hidden) {
  display: block;
}

@media (min-width: 768px) {
  #project-org-agent-library .project-org-agent-library__video.md\:hidden {
    display: none;
  }
}

#project-agent-evaluator {
  --projectcard-gap: #ffffff;
  background-color: #ffffff;
  background-image: radial-gradient(circle, #d4d4d8 1px, transparent 1px);
  background-size: 22px 22px;
}

#intro.intro--agent-evaluator {
  background-color: #e4e4e7;
  background-image: radial-gradient(circle, #c8c8cc 1px, transparent 1px);
  background-size: 22px 22px;
}

body.page-org-agent-library {
  --intro-hero-video-gap: #ebebeb;
}

body.page-new-project {
  --intro-hero-video-gap: #ebebeb;
}

body.page-agentic-lifecycle {
  --intro-hero-video-gap: #ebebeb;
}

body.page-agent-evaluator {
  --intro-hero-video-gap: #ffffff;
}

body.page-project1 {
  --intro-hero-video-gap: #1e2f2f;
}

.intro-hero-video {
  line-height: 0;
  border: none;
  box-shadow: none;
}

.intro-hero-video__media {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  vertical-align: top;
}

.intro-hero-video__media:not(.hidden) {
  display: block;
}

@media (min-width: 768px) {
  #intro.intro .intro-hero-video {
    padding: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  body.page-project1 #intro.intro .intro-hero-video {
    box-shadow:
      0 0 0 3px var(--intro-hero-video-gap),
      0 0 0 4px rgba(255, 255, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 8px 24px rgba(0, 0, 0, 0.25);
  }

  body.page-org-agent-library #intro.intro .intro-hero-video,
  body.page-new-project #intro.intro .intro-hero-video,
  body.page-agent-evaluator #intro.intro .intro-hero-video,
  body.page-agentic-lifecycle #intro.intro .intro-hero-video {
    border: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow:
      0 0 0 3px var(--intro-hero-video-gap),
      0 0 0 4px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.85),
      0 8px 24px rgba(0, 0, 0, 0.06);
  }

  body.page-project2 #intro.intro .intro-hero-video {
    border: none;
    background-color: #ababab;
    box-shadow: none;
  }

  .intro-hero-video__media {
    border-radius: 0;
    border: none;
  }

  .intro-hero-video__media.md\:hidden {
    display: none;
  }
}

@media (max-width: 767px) {
  #intro.intro {
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }

  #intro.intro .max-w-5xl > :not(.intro-hero-video):not(.impact-callout):not(.intro-highlight-cards) {
    padding-left: var(--site-padding-x);
    padding-right: var(--site-padding-x);
  }

  #intro.intro .max-w-5xl > .impact-callout,
  #intro.intro .max-w-5xl > .intro-highlight-cards {
    margin-left: var(--site-padding-x);
    margin-right: var(--site-padding-x);
  }

  #intro.intro .intro-hero-video {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  #intro.intro .intro-hero-video::before {
    content: none;
  }

  #intro.intro .intro-hero-video__media {
    border-radius: 0;
    border: none;
    background: transparent;
  }
}

body.page-agent-evaluator:not(:has(#fullpage)) {
  background-color: #e4e4e7;
}

body.page-agent-evaluator .navbar-fixed {
  background-color: #e4e4e7;
}

body.page-agent-evaluator #intro .impact-callout {
  background-color: #e8e8eb;
}

#project-agent-evaluator .projectcard--agent-evaluator {
  width: min(100%, 20rem);
  margin-inline: auto;
  min-width: 0;
}

@media (min-width: 768px) {
  #project-agent-evaluator .projectcard--agent-evaluator {
    width: 43.75rem;
  }
}

#project-agent-evaluator .project-agent-evaluator__card {
  line-height: 0;
  overflow: visible;
}

#project-agent-evaluator .project-agent-evaluator__link {
  display: block;
  line-height: 0;
}

#project-agent-evaluator .project-agent-evaluator__video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#project-agent-evaluator .project-agent-evaluator__video.hidden {
  display: none;
}

#project-agent-evaluator .project-agent-evaluator__video:not(.hidden) {
  display: block;
}

@media (min-width: 768px) {
  #project-agent-evaluator .project-agent-evaluator__video.hidden.md\:block {
    display: block;
  }

  #project-agent-evaluator .project-agent-evaluator__video.md\:hidden {
    display: none;
  }
}

#project1 {
  --projectcard-gap: #1e2f2f;
}

#project1 .projectcard--project1 {
  width: min(100%, calc(100vw - 4rem));
  margin-inline: auto;
  min-width: 0;
}

@media (min-width: 768px) {
  #project1 .projectcard--project1 {
    width: 43.75rem;
  }
}

#project1 .project1__card {
  line-height: 0;
  overflow: visible;
}

#project1 .project1__card a {
  display: block;
  line-height: 0;
}

#project1 .project1__video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#project1 .project1__video.hidden {
  display: none;
}

#project1 .project1__video:not(.hidden) {
  display: block;
}

@media (min-width: 768px) {
  #project1 .project1__video.hidden.md\:block {
    display: block;
  }

  #project1 .project1__video.md\:hidden {
    display: none;
  }
}

#project2 {
  --projectcard-gap: #030712;
  background-color: #030712;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1.1px, transparent 1.1px);
  background-size: 18px 18px;
}

#project2 .projectcard > div {
  overflow: visible;
  box-shadow: none;
}

#project2 .projectcard > div > a {
  display: block;
  line-height: 0;
  width: 100%;
  height: 100%;
}

#project-org-agent-library .project-org-agent-library__card a,
#project1 .project1__card a,
#project2 .projectcard > div > a {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow:
    0 0 0 3px var(--projectcard-gap),
    0 0 0 4px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

#project-agentic-lifecycle .project-agentic-lifecycle__card a {
  display: block;
  position: relative;
  line-height: 0;
  border-radius: calc(0.5rem - 3px);
  overflow: hidden;
  border: none;
  background: linear-gradient(135deg, #111111 0%, #0a0a0a 50%, #050505 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

#project-agentic-lifecycle .project-agentic-lifecycle__card a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.16) 20%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.05) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

#project-org-agent-library .project-org-agent-library__card a {
  background: linear-gradient(135deg, #222222 0%, #181818 50%, #141414 100%);
}

#project-new .project-new__card a,
#project-agent-evaluator .project-agent-evaluator__link {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow:
    0 0 0 3px var(--projectcard-gap),
    0 0 0 4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 24px rgba(0, 0, 0, 0.06);
}

#project-new .project-new__card a {
  background-color: #f4f4f5;
}

#project-agent-evaluator .project-agent-evaluator__link {
  background-color: #f0f0f2;
}

.intro-content {
  position: relative;
  text-align: center;
}

.intro-hero-headline-sizer {
  visibility: hidden;
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  margin: 0;
  pointer-events: none;
  z-index: -1;
}

.intro-hero-headline {
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.28;
  max-width: 100%;
  overflow-wrap: break-word;
  font-size: 1.8125rem;
  filter:
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.10))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05));
}

@media (min-width: 640px) {
  .intro-hero-headline {
    font-size: 2.1875rem;
  }
}

@media (min-width: 768px) {
  .intro-hero-headline {
    font-size: 2.625rem;
  }

  .intro-hero-phrase-line {
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .intro-hero-headline {
    font-size: 2.875rem;
  }
}

.intro-hero-subheadline-wrap {
  position: relative;
  margin-top: 2rem;
}

.intro-hero-subheadline-wrap--waiting {
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 768px) {
  .intro-hero-subheadline-wrap {
    margin-top: 2.25rem;
  }
}

.intro-hero-subheadline {
  letter-spacing: -0.02em;
  margin-top: 0;
}

.project-section-header {
  width: 100%;
  max-width: 42rem;
  padding-inline: 1rem;
  gap: 1rem;
}

.project-section-subheadline {
  letter-spacing: -0.02em;
  margin-top: 0;
  max-width: 42rem;
}

.impact-callout {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 1rem;
}

.intro-highlight-cards {
  margin-bottom: 1rem;
}

.intro-highlight-cards > .impact-callout {
  margin-top: 0;
}

.impact-callout .impact-stat {
  background-color: transparent;
  border: none;
  padding: 0.1em 0.3em;
  font-weight: inherit;
  border-radius: 0.25rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-color 0.2s ease;
}

.impact-callout:hover .impact-stat {
  background-color: rgba(0, 0, 0, 0.06);
}

.intro-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0.25rem auto 0;
  color: #9ca3af;
  text-decoration: none;
}

.intro-scroll-hint__icon {
  display: block;
  animation: intro-scroll-hint-pulse 2.4s ease-in-out infinite;
  animation-delay: 0.8s;
}

@keyframes intro-scroll-hint-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 0.85;
    transform: translateY(5px);
  }
}

.impact-stat {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.1em 0.3em;
  border-radius: 0.25rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

#project-org-agent-library .impact-stat,
#project-agentic-lifecycle .impact-stat {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .project-section-header {
    padding-inline: 0;
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  #project-agentic-lifecycle,
  #project-new,
  #project-org-agent-library,
  #project-agent-evaluator,
  #project1 {
    padding-left: 0;
    padding-right: 0;
  }

  #project-agentic-lifecycle .projectcard--agentic-lifecycle,
  #project-new .projectcard--new,
  #project-org-agent-library .projectcard--org-agent-library,
  #project-agent-evaluator .projectcard--agent-evaluator,
  #project1 .projectcard--project1 {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  #project-agentic-lifecycle .project-agentic-lifecycle__card,
  #project-new .project-new__card,
  #project-org-agent-library .project-org-agent-library__card,
  #project-agent-evaluator .project-agent-evaluator__card,
  #project1 .project1__card,
  #project2 .projectcard > div {
    border-radius: 0;
  }

  #project-agentic-lifecycle .project-agentic-lifecycle__card {
    padding: 0;
    background: transparent;
  }

  #project-agentic-lifecycle .project-agentic-lifecycle__card::before {
    content: none;
  }

  #project-agentic-lifecycle .project-agentic-lifecycle__card a,
  #project-new .project-new__card a,
  #project-org-agent-library .project-org-agent-library__card a,
  #project-agent-evaluator .project-agent-evaluator__link,
  #project1 .project1__card a,
  #project2 .projectcard > div > a {
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  #project-agentic-lifecycle .project-agentic-lifecycle__card a::before {
    content: none;
  }

  #fullpage.sections-container,
  #fullpage .section.h-screen {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }

  #intro {
    padding-top: 5.25rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    justify-content: flex-start;
  }

  .intro-scroll-hint {
    width: 3.5rem;
    height: 3.5rem;
  }

  .intro-scroll-hint__icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  #intro .intro-hero-stack {
    flex: 1 1 0;
    min-height: 0;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .intro-content {
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .intro-hero-cards {
    width: 100%;
    max-width: 100%;
  }

  .intro-hero-headline {
    font-size: 1.5rem;
    line-height: 1.22;
  }

  .intro-hero-subheadline-wrap {
    margin-top: 1.25rem;
  }

  .intro-hero-cards__stack {
    width: 100%;
    margin-bottom: 0.5rem;
    --intro-hero-cards-bottom-fade: linear-gradient(
      to bottom,
      #000 0%,
      #000 68%,
      rgba(0, 0, 0, 0.92) 74%,
      rgba(0, 0, 0, 0.62) 84%,
      rgba(0, 0, 0, 0.28) 93%,
      transparent 100%
    );
  }

  .intro-hero-cards__scroll-hint {
    display: none;
  }

  .intro-company-logos {
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 2rem;
    padding-left: var(--site-padding-x);
    padding-right: var(--site-padding-x);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #intro .fade-in-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.intro-hero-phrase-line {
  display: block;
}

.intro-hero-phrase-line .intro-hero-phrase {
  display: inline;
}

.intro-hero-phrase--1 {
  display: block;
  color: #111827;
}

.intro-hero-phrase--2 {
  color: #374151;
}

.intro-hero-phrase--3 {
  color: #52525b;
}

@property --intro-kicker-beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.intro-hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: #4b5563;
}

.intro-hero-kicker--waiting {
  opacity: 0;
  visibility: hidden;
}

.intro-hero-kicker:not(.intro-hero-kicker--waiting) {
  animation: intro-kicker-fade-in 0.45s ease forwards;
}

@keyframes intro-kicker-fade-in {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-hero-kicker__pill {
  --intro-kicker-beam-angle: 0deg;
  position: relative;
  display: inline-flex;
  border-radius: 8px;
  isolation: isolate;
}

.intro-hero-kicker__pill::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--intro-kicker-beam-angle),
    transparent 0deg,
    transparent 286deg,
    rgba(17, 24, 39, 0.35) 304deg,
    #111827 320deg,
    rgba(17, 24, 39, 0.35) 336deg,
    transparent 354deg,
    transparent 360deg
  );
  animation: intro-kicker-border-beam 3s linear infinite;
  pointer-events: none;
}

.intro-hero-kicker__pill::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: #fff;
  pointer-events: none;
}

.intro-hero-kicker__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.intro-hero-kicker__icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@keyframes intro-kicker-border-beam {
  to {
    --intro-kicker-beam-angle: 360deg;
  }
}

@media (min-width: 768px) {
  .intro-hero-kicker {
    margin-bottom: 1.125rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-hero-kicker:not(.intro-hero-kicker--waiting) {
    animation: none;
  }

  .intro-hero-kicker__pill::before {
    animation: none;
    background: transparent;
  }
}

.intro-hero-current {
  color: #4b5563;
}

.intro-hero-sep {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.4em;
  color: #9ca3af;
  width: 0.55em;
  height: 0.55em;
  position: relative;
  top: -0.05em;
}

.intro-hero-sep--hidden {
  visibility: hidden;
}

.intro-hero-word {
  transition: opacity 0.3s ease;
}

.intro-hero-word--hidden {
  opacity: 0;
}

.intro-hero-sep svg,
.intro-hero-sep img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .intro-hero-sep img {
    transform-origin: center;
    transition: transform 1.2s ease;
  }

  .intro-hero-sep:has(img[src="images/dots.svg"]):hover img,
  .intro-hero-sep:has(img[src="images/cube.svg"]):hover img {
    transform: rotate(360deg);
  }

  .intro-hero-sep:has(img[src="images/bc.svg"]):hover img {
    animation: intro-hero-pulse 1.2s ease;
  }

  @keyframes intro-hero-pulse {
    0%, 100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.3);
    }
  }

  .intro-hero-sep:has(img[src="images/letter.svg"]):hover img {
    transform: scaleX(-1);
  }
}

.intro-hero-cards {
  overflow: visible;
  padding: 2rem 1.25rem 2rem 1rem;
  margin: -0.75rem -1.25rem -2rem -1rem;
}

.intro-hero-cards__cards {
  display: block;
  position: absolute;
  top: calc(-1 * var(--intro-hero-cards-hover-bleed));
  right: calc(-1 * var(--intro-hero-cards-hover-bleed));
  bottom: calc(-1 * var(--intro-hero-cards-hover-bleed));
  left: calc(-1 * var(--intro-hero-cards-hover-bleed));
  overflow: visible;
  -webkit-mask-image: var(--intro-hero-cards-bottom-fade);
  mask-image: var(--intro-hero-cards-bottom-fade);
}

.intro-hero-cards__stack {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 24 / 13;
  margin-bottom: 1rem;
  overflow: visible;
  --intro-hero-cards-hover-bleed: 1rem;
  padding-top: var(--intro-hero-cards-hover-bleed);
  padding-left: var(--intro-hero-cards-hover-bleed);
  padding-right: var(--intro-hero-cards-hover-bleed);
  --intro-hero-cards-bottom-fade: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.9) 66%,
    rgba(0, 0, 0, 0.58) 76%,
    rgba(0, 0, 0, 0.22) 88%,
    transparent 100%
  );
}

a.intro-hero-cards__stack {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.intro-hero-cards__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #9ca3af;
  transform: translateX(-50%);
  pointer-events: none;
  animation: intro-hero-scroll-hint-pulse 2.4s ease-in-out infinite;
  animation-delay: 0.9s;
}

.intro-hero-cards__scroll-hint-icon {
  display: block;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.85));
}

@keyframes intro-hero-scroll-hint-pulse {
  0%, 100% {
    opacity: 0.28;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.52;
    transform: translateX(-50%) translateY(5px);
  }
}

.intro-hero-cards-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000025;
  pointer-events: none;
  padding: 0.4375rem 0.625rem;
  border-radius: 0.75rem;
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.intro-hero-cards-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

.intro-hero-cards-tooltip__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.intro-hero-cards-tooltip__icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  display: block;
}

.intro-hero-cards-tooltip--light {
  background: #ffffff;
  color: #000000;
  font-weight: 400;
  white-space: normal;
  max-width: min(17.5rem, calc(100vw - 2rem));
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.section-indicator {
  position: relative;
}

.section-indicator::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  padding: 0.4375rem 0.625rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #000000;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .section-indicator:hover::after,
  .section-indicator:focus-visible::after {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 768px) {
  .intro-hero-cards__stack {
    --intro-hero-cards-hover-bleed: 1.25rem;
    width: 40rem;
    margin-bottom: 0;
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .intro-hero-cards__stack {
    width: 44rem;
  }
}

/* MacBook-class viewports: clip hero cards higher so the stack fits the fold */
@media (min-width: 768px) and (max-height: 980px) {
  .intro-hero-cards__stack {
    --intro-hero-cards-bottom-fade: linear-gradient(
      to bottom,
      #000 0%,
      #000 36%,
      rgba(0, 0, 0, 0.92) 44%,
      rgba(0, 0, 0, 0.62) 56%,
      rgba(0, 0, 0, 0.28) 68%,
      transparent 80%
    );
  }
}

.intro-hero-card {
  position: absolute;
  display: block;
  border-radius: 0.375rem;
  border: 2px solid #ffffff;
  background: #f9fafb;
  box-shadow: none;
  overflow: hidden;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    background-color 0.4s ease;
}

.intro-hero-card__media {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  display: block;
}

.intro-hero-card__media video,
.intro-hero-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.intro-hero-card--1 .intro-hero-card__media img,
.intro-hero-card--3 .intro-hero-card__media img {
  object-position: left top;
  transform: scale(1.35);
  transform-origin: left top;
}

.intro-hero-card--2 .intro-hero-card__media img {
  filter: brightness(1.25) contrast(0.97);
}

/* Main card, center-left, middle layer */
.intro-hero-card--1 {
  z-index: 2;
  top: 10%;
  left: 0;
  width: 80%;
  height: auto;
  aspect-ratio: 2986 / 1670;
}

/* Back card, top-right */
.intro-hero-card--2 {
  z-index: 1;
  top: var(--intro-hero-cards-hover-bleed);
  right: var(--intro-hero-cards-hover-bleed);
  width: 38%;
  height: auto;
  aspect-ratio: 1440 / 900;
}

/* Front card, bottom-right */
.intro-hero-card--3 {
  z-index: 3;
  right: 2%;
  bottom: -6%;
  width: 44%;
  height: auto;
  aspect-ratio: 1440 / 900;
}

.intro-hero-cards__stack .intro-hero-card--1 {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.intro-hero-cards__stack .intro-hero-card--2 {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 3px 10px rgba(0, 0, 0, 0.1);
}

.intro-hero-cards__stack .intro-hero-card--3 {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.14);
}

@media (max-width: 767px) {
  .intro-hero-cards__stack {
    aspect-ratio: 24 / 15;
  }

  .intro-hero-cards__stack .intro-hero-card--1 .intro-hero-card__media img,
  .intro-hero-cards__stack .intro-hero-card--3 .intro-hero-card__media img {
    transform: scale(1.22);
  }

  .intro-hero-cards__stack .intro-hero-card--1,
  .intro-hero-cards__stack .intro-hero-card--1 .intro-hero-card__media,
  .intro-hero-cards__stack .intro-hero-card--1 .intro-hero-card__media img {
    border-radius: 0 0.375rem 0.375rem 0;
  }

  .intro-hero-cards__stack .intro-hero-card--2,
  .intro-hero-cards__stack .intro-hero-card--2 .intro-hero-card__media,
  .intro-hero-cards__stack .intro-hero-card--2 .intro-hero-card__media img {
    border-radius: 0.375rem 0 0 0.375rem;
  }
}

.intro-hero-cards__stack:hover .intro-hero-card--1 {
  transform: translateY(-6px);
  border-color: #ffffff;
  background-color: #f3f4f6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.intro-hero-cards__stack:hover .intro-hero-card--2 {
  transform: translate(8px, -8px);
  border-color: #ffffff;
  background-color: #f3f4f6;
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.14),
    0 12px 28px rgba(15, 23, 42, 0.16);
}

.intro-hero-cards__stack:hover .intro-hero-card--3 {
  transform: translate(-10px, 10px);
  border-color: #ffffff;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .intro-hero-card {
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .intro-hero-cards__scroll-hint {
    animation: none;
    opacity: 0.32;
  }

  .intro-hero-cards__stack:hover .intro-hero-card--1,
  .intro-hero-cards__stack:hover .intro-hero-card--2,
  .intro-hero-cards__stack:hover .intro-hero-card--3 {
    transform: none;
  }

}

.intro-company-logos {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  padding-left: var(--site-padding-x);
  padding-right: var(--site-padding-x);
}

@media (min-width: 768px) {
  body:has(#fullpage) #intro:not(.intro) > .intro-company-logos {
    margin-top: auto;
    margin-bottom: 1.25rem;
  }
}

.intro-company-logos__label {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8bcc4;
}

.intro-company-logos__marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.intro-company-logos__track {
  display: flex;
  width: max-content;
  animation: intro-logos-marquee 48s linear infinite;
}

.intro-company-logos__track:hover {
  animation-play-state: paused;
}

.intro-company-logos__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0 1.25rem;
  list-style: none;
}

@media (min-width: 768px) {
  .intro-company-logos__group {
    gap: 3rem;
    padding: 0 1.5rem;
  }
}

.intro-company-logos__group li {
  position: relative;
}

.intro-company-logo {
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: 5.5rem;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Bright brand colors (yellow/green) wash out to light gray under grayscale alone */
.intro-company-logo[src*="jabra"],
.intro-company-logo[src*="bc"] {
  filter: grayscale(100%) brightness(0);
}

.intro-company-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes intro-logos-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-company-logos__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .intro-company-logos__group[aria-hidden="true"] {
    display: none;
  }

  .intro-company-logos__group:first-child li:nth-child(n + 6) {
    display: none;
  }
}

/* Hover effect for project cards - Removed in favor of Tailwind hover:scale-110 */
/* Existing animations... */

/* Like Button Animation */
:root {
  --color-heart: #EA442B;
  --easing: cubic-bezier(.7,0,.3,1);
  --duration: .5s;
}

.like-button {
  position: relative;
  z-index: 2;
  transition: transform var(--duration) var(--easing);
  cursor: pointer;
  overflow: visible;
}

.like-button:before {
  z-index: -1;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition: inherit;
}

.like-button:active:before {
  animation: depress-shadow var(--duration) var(--easing) both;
}

.like-button.active:after {
  animation: depress var(--duration) var(--easing) both;
}

@keyframes depress {
  from, to { transform: none; }
  50% { transform: translateY(5%) scale(0.98); }
}

@keyframes depress-shadow {
  from, to { transform: none; }
  50% { transform: scale(0.95); }
}

.like-wrapper {
  display: grid;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.like-wrapper > * {
  margin: auto;
  grid-area: 1 / 1;
}

.heart {
  display: block;
  transform-origin: center 80%;
}

.heart > path {
  stroke: white;
  stroke-width: 2;
  fill: transparent !important;
  transition: fill var(--duration) var(--easing);
}

/* Keep heart filled when liked */
.like-button.liked .heart > path {
  fill: white !important;
}

.like-button.active .heart > path {
  fill: white !important;
}

.like-button.active .heart {
  animation: heart-bounce var(--duration) var(--easing);
}

@keyframes heart-bounce {
  40% { transform: scale(0.7); }
  0%, 80%, 100% { transform: scale(1); }
}

/* Added wrapper to prevent layout jank with resizing particles */
.particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.particle {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0.2em;
  width: 0.3em;
  border-radius: 0.25em;
  background-color: var(--color);
  --percentage: calc(var(--i) / var(--total-particles));
  --Θ: calc(var(--percentage) * 1turn);
  transform: translate(-50%, -50%) rotate(var(--Θ)) translateY(0) scaleY(0);
  transition: all var(--duration) var(--easing);
}

.like-button.active .particle {
  animation: particles-out calc(var(--duration) * 1.2) var(--easing) forwards;
}

@keyframes particles-out {
  50% { height: 0.3em; }
  50%, 60% {
    height: 0.3em;
    transform: translate(-50%, -50%) rotate(var(--Θ)) translateY(1.8em) scale(1);
  }
  60% { height: 0.2em; }
  100% {
    transform: translate(-50%, -50%) rotate(var(--Θ)) translateY(2.5em) scale(0);
  }
}

.ripple {
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  top: 0;
  left: 0;
}

.ripple:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0.4em solid white;
  border-radius: inherit;
  transform: scale(0);
}

.like-button.active .ripple:before {
  animation: ripple-out var(--duration) var(--easing);
}

@keyframes ripple-out {
  from { transform: scale(0); }
  to { transform: scale(2); }
}

/* Thank You highlight animation */
@keyframes yellowHighlight {
  0% {
    background-image: linear-gradient(to right, transparent 0%, transparent 100%);
    color: #1a202c;
  }
  30% {
    background-image: linear-gradient(to right, #FFF600 0%, #FFF600 30%, transparent 30%, transparent 100%);
    color: #000000;
  }
  50% {
    background-image: linear-gradient(to right, #FFF600 0%, #FFF600 75%, transparent 75%, transparent 100%);
    color: #000000;
  }
  70% {
    background-image: linear-gradient(to right, #FFF600 0%, #FFF600 100%);
    color: #000000;
  }
  100% {
    background-image: linear-gradient(to right, #FFF600 0%, #FFF600 100%);
    color: #000000;
  }
}

.thank-you {
  transition: all 0.5s ease;
}

.thank-you.highlight {
  animation: yellowHighlight 1.5s ease-in-out forwards;
  padding: 0 4px;
  border-radius: 2px;
  background-size: 100% 40%;
  background-position: 0 85%;
  background-repeat: no-repeat;
}

/* Custom pointer cursor (home + project pages, fine pointer only) */
html.custom-cursor-active,
html.custom-cursor-active * {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 1000030;
  opacity: 0;
  transition: opacity 0.15s ease;
  will-change: transform;
}

.custom-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
}

.custom-cursor.is-visible {
  opacity: 1;
}