@keyframes notion-table-timeline__row-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notion-table-timeline__row-visible {
    animation: notion-table-timeline__row-in 0.3s ease forwards;
}

.notion-table-timeline__decor-corner {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 8rem;
    height: 8rem;
}

.notion-table-timeline__cell-width {
    max-width: 24rem;
}

.notion-table-timeline__line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap — stable class for Bootstrap */
.hover-principles-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .hover-principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hover-principles-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.philosophy-hover-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-hover-corner {
    width: 2rem;
    height: 2rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* Values v23 - horizontal scroll-snap carousel (layout/size only, no colors) */

.values-airbnb__track {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    list-style: none;
}

.values-airbnb__track::-webkit-scrollbar {
    display: none;
}

.values-airbnb__nav-btn {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    flex-shrink: 0;
}

.values-airbnb__card {
    scroll-snap-align: start;
    flex: 0 0 18rem;
    width: 18rem;
    max-width: 18rem;
    list-style: none;
}

@media (min-width: 576px) {
    .values-airbnb__card {
        flex: 0 0 20rem;
        width: 20rem;
        max-width: 20rem;
    }
}

.values-airbnb__dot {
    width: 0.625rem;
    height: 0.625rem;
    padding: 0;
    flex-shrink: 0;
    transform: scale(1);
    transition: transform 200ms ease;
}

.values-airbnb__dot.is-active {
    transform: scale(1.6);
}

/* team v29 — split quote layout + floating marks & sketch-line decor */
.team-quote__scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.team-quote__mark {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 18vw, 13rem);
  line-height: 1;
  font-weight: 700;
  user-select: none;
  pointer-events: none;
}

.team-quote__mark--open {
  top: 6%;
  left: 4%;
  animation: team-quote-mark-drift 14s ease-in-out infinite;
}

.team-quote__mark--close {
  right: 5%;
  bottom: 10%;
  animation: team-quote-mark-drift 16s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.team-quote__sketch {
  position: absolute;
  pointer-events: none;
}

.team-quote__sketch--tl {
  top: 4rem;
  left: 0;
  width: 10rem;
  height: 10rem;
}

.team-quote__sketch--br {
  right: 0;
  bottom: 5rem;
  width: 11rem;
  height: 11rem;
}

.team-quote__dots {
  position: absolute;
  top: 42%;
  right: 12%;
  display: flex;
  gap: 0.5rem;
  pointer-events: none;
}

.team-quote__sketch-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.team-quote__sketch-path {
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
}

.team-quote__sketch-path--a {
  animation: team-quote-sketch-draw 9s ease-in-out infinite alternate;
}

.team-quote__sketch-path--b {
  animation: team-quote-sketch-draw 11s ease-in-out infinite alternate-reverse;
  animation-delay: 1.5s;
}

.team-quote__dot {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: currentColor;
}

.team-quote__dot--a {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
}

.team-quote__dot--b {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
  animation-delay: 0.65s;
}

.team-quote__dot--c {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
  animation-delay: 1.3s;
}

@keyframes team-quote-mark-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-1.25rem) rotate(5deg) scale(1.06);
    opacity: 0.38;
  }
}

@keyframes team-quote-sketch-draw {
  0% {
    stroke-dashoffset: 280;
    opacity: 0.25;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.75;
  }
}

@keyframes team-quote-dot-orbit {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  33% {
    transform: translate(0.35rem, -0.65rem) scale(1.4);
    opacity: 1;
  }
  66% {
    transform: translate(-0.25rem, 0.45rem) scale(0.85);
    opacity: 0.5;
  }
}

.team-quote__image-wrap {
  position: relative;
  overflow: hidden;
}

.team-quote__image-wrap img {
  transition: transform 300ms ease;
}

.team-quote__image-wrap:hover img {
  transform: translateY(-2%);
}

.team-quote__img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-quote__bio {
  text-align: justify;
  text-align-last: left;
}

@media (max-width: 1024px) {
  .team-quote__bio {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-quote__mark,
  .team-quote__sketch-path,
  .team-quote__dot {
    animation: none;
  }

  .team-quote__sketch-path {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}

/* quote v29 — Xbox pinwheel: origami fold, device bezel frame, ruler marks, hover overlay */

.quote-xbox__grid {
    /* ultra-tight compact layout */
}

.quote-xbox__item {
    min-height: 10rem;
}

/* origami fold effect via clip-path diagonal cut */
.quote-xbox__card {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    transition: transform 200ms ease-out;
}

/* device bezel frame styling */
.quote-xbox__bezel {
    background-image:
        linear-gradient(135deg, rgba(0,0,0,0.04) 0%, transparent 50%),
        linear-gradient(-135deg, rgba(0,0,0,0.04) 0%, transparent 50%);
    box-shadow: inset 0 0 0.5rem rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ruler measurement marks corner decoration */
.quote-xbox__ruler {
    opacity: 0.6;
}

/* badge positioning and style */
.quote-xbox__badge {
    z-index: 2;
}

/* hover overlay slide-down effect */
.quote-xbox__overlay {
    overflow: hidden;
}

@media (hover: hover) {
    .quote-xbox__item:hover .quote-xbox__overlay {
        top: 0;
    }

    .quote-xbox__item:hover .quote-xbox__card {
        transform: translateY(0.25rem);
    }
}

.quote-xbox__overlay-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* energy/aggressive border accent on hover */
@media (hover: hover) {
    .quote-xbox__item:hover .quote-xbox__bezel {
        border-color: rgb(var(--tw-primary-600, 139, 92, 246));
        box-shadow: inset 0 0 0.5rem rgba(139, 92, 246, 0.2), 0 4px 12px rgba(139, 92, 246, 0.3);
    }
}

/* responsive text sizing */
@media (max-width: 639px) {
    .quote-xbox__item {
        min-height: 9rem;
    }
}

/* watermark title utilities */
.quote-xbox__watermark {
    font-weight: 900;
    letter-spacing: -0.06em;
}

/* measurement marks SVG styling */
.quote-xbox__ruler line {
    stroke-linecap: round;
}

/* accessibility: ensure overlay is visible on focus */
.quote-xbox__item:focus-within .quote-xbox__overlay {
    top: 0;
}

