/* ==========================================================================
   FlexCarousel Styles (React Bits Component adaptation)
   ========================================================================== */

.flex-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: auto;
  outline: none;
}

.flex-carousel[data-hover='open'] {
  cursor: zoom-in;
}

.flex-carousel[data-hover='close'] {
  cursor: zoom-out;
}

.flex-carousel[data-dragging] {
  cursor: grabbing;
}

.flex-carousel:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(128, 128, 140, 0.55);
}

.flex-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 16px * var(--flex-carousel-focus-ease, 0) + var(--flex-carousel-half) * var(--flex-carousel-lift, 1) + 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 16px;
  pointer-events: none;
  text-align: center;
  animation: flex-carousel-reveal 400ms ease both;
  transition: top 350ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 10;
}

.flex-carousel__title,
.flex-carousel__subtitle {
  display: none !important;
}

.flex-carousel__count {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary, #111827);
  opacity: 0.85;
  transition: opacity 300ms ease;
}

.flex-carousel__count[data-hidden] {
  opacity: 0.7;
}

.flex-carousel__digits {
  display: inline-flex;
}

.flex-carousel__digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.flex-carousel__reel {
  display: flex;
  flex-direction: column;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flex-carousel__reel span {
  height: 1em;
  display: block;
  line-height: 1em;
}

.flex-carousel__slash {
  opacity: 0.45;
  margin: 0 2px;
}

.flex-carousel__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes flex-carousel-title {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flex-carousel-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flex-carousel__caption,
  .flex-carousel__title {
    animation: none;
  }

  .flex-carousel__reel {
    transition: none;
  }
}

/* ==========================================================================
   Section Slot Layout in Resume Site (Between Logo Loop & Ticket)
   Sticky Scroll Track Architecture (Similar to AI Workflow Story)
   ========================================================================== */
.photography-flex-section {
  position: relative;
  width: 100%;
  margin-top: 160px !important;
  padding: 0;
  height: clamp(3200px, 420vh, 4600px);
  box-sizing: border-box;
  background: transparent;
  overflow: visible;
}

.photography-flex-header {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.photography-flex-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary, #111827);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.photography-flex-title span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary, #6b7280);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.photography-flex-hint {
  font-size: 0.85rem;
  color: var(--text-secondary, #6b7280);
}

.photography-flex-wrapper {
  position: sticky;
  top: calc(50vh - clamp(340px, 37.5vh, 380px) - 28px);
  width: 100%;
  height: clamp(680px, 75vh, 760px);
  margin: 0 auto;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

